Skip Menu |

This queue is for tickets about the POE-Component-Server-SOAP CPAN distribution.

Report information
The Basics
Id: 66756
Status: resolved
Priority: 0/
Queue: POE-Component-Server-SOAP

People
Owner: Nobody in particular
Requestors: alex [...] digriz.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: SOAPAction, URI fragments are optional
Date: Mon, 21 Mar 2011 16:35:26 +0000
To: bug-POE-Component-Server-SOAP [...] rt.cpan.org
From: Alexander Clouter <alex [...] digriz.org.uk>
Hi, I have the following exciting URI being passed in my HTTP headers: ---- SOAPAction: "urn:schemas-sc-jp:mfp:osa-1-1/Hello" ---- As it stands, you have a regex in place that demands fragments are present, the following patch makes them optional. Cheers -- Alexander Clouter .sigmonster says: Nice guys get sick. --- /usr/share/perl5/POE/Component/Server/SOAP.pm.orig 2009-02-02 02:45:08.000000000 +0000 +++ /usr/share/perl5/POE/Component/Server/SOAP.pm 2011-03-21 16:24:19.000000000 +0000 @@ -504,7 +504,7 @@ } # Get the method name - if ( $soap_method_name !~ /^([\"\']?)(\S+)\#(\S+)\1$/ ) { + if ( $soap_method_name !~ /^([\"\']?)(\S+)(\#(\S+))?\1$/ ) { # Create a new error and send it off! $_[KERNEL]->yield( 'FAULT', $response,
Hello, Thanks for giving Server-SOAP a try! As always, learning mistakes are not a problem - as long as you figure it out eventually :) As per your email to me - this is a non-issue, and is closed. -- ~Apocalypse