[Xml-compile] SOAP Fault response missing?

Mark Overmeer mark at overmeer.net
Thu May 10 06:54:15 GMT 2012


* cfaust-dougot (cfaust at doyougot.com) [120509 23:10]:
> The only difference is the http header is  500 (internal server error),
> which I thought might be the problem but the provider insists that sending
> a 500 is proper for the a soap fault and its working like as it should.

It should be handled, if the response contains xml, yes.

> my $wsdlXml = XML::LibXML->new->parse_file("pathtowsdl");
> my $wsdl = XML::Compile::WSDL11->new($wsdlXml);

You can also say
  my $wsdl = XML::Compile::WSDL11->new("pathrowsdl");

> Works great on success but when I simply change one param value to
> cause a fault, $response has nothing in it (per Data:Dumper). $trace has
> the headers and the envelope/payload (just like I would see on a success).

Please send me a dump of $trace ($Data::Dumper::Indent=1)
And which version of XML::Compile / ::SOAP do you use?
-- 
Regards,

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list