[Xml-compile] XML::Compile::WSDL11 strange error state
Mark Overmeer
mark at overmeer.net
Thu Feb 23 09:31:23 GMT 2012
* Brian E. Lozier (brian at massassi.com) [120223 01:15]:
> $wsdl->compileCalls(port => 'AdminServiceSoap');
> $wsdl->compileCalls(port => 'OrderServiceSoap');
>
> In this case, $r ends up as undef and $trace has a whole bunch of stuff in
> it, and some reference to an error and "died" message:
Probably you also get the error also as nice message. Otherwise:
$trace->printErrors;
> 'xxxOrderStatus',
> 'xxxGetOrderListResponse/GetOrderListResult/ResultData/OrderResponseItem',
>
> I think it's trying to tell me that the response doesn't match the format
> specified in the wsdl file (like, it couldn't find "xxxOrderStatus" in the
> path
> "xxxGetOrderListResponse/GetOrderListResult/ResultData/OrderResponseItem")
I have no idea where those 'xxx' come from.
> but I pulled the XML out of the response and parsed it with XML::Simple and
> by hand in a text editor and it seems like the returned XML is valid and
> matches the description in the WSDL.
It is a validation error, and XML::Simple doesn't validate.
Can you send me the whole wsdl and trace?
--
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