Skip Menu |
 

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 29182
Status: resolved
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: alankila [...] elma.fi
Cc:
AdminCc:

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



Subject: Support ComplexType mixed
Download (untitled) / with headers
text/plain 951b
It seems that some WSDL's which declare the response messages to hold mixed content do not work with SOAP::WSDL. Fortunately, there is a simple fix: my %mixed_of :ATTR(:name<mixed> :default<()>); placed strategically at start of SOAP::WSDL::XSD::ComplexType. At least it allows me to use one of the web services I need this class for, with no apparent ill effects. SOAP::SOM, which parses the response, is probably entirely ignorant of the response's WSDL either way, and in this particular case the WSDL is nothing to write home about, either: <s:element minOccurs="0" maxOccurs="1" name="FooResult"> <s:complexType mixed="true"> <s:sequence> <s:any /> </s:sequence> </s:complexType> </s:element> Or in other words, "send me back anything." I fear this is not an uncommon way to treat WSDL when you have lazy service authors. (There is an external schema file that valid result documents should conform to, though.)
Download (untitled) / with headers
text/plain 403b
Hi Antti, I filed this one one soruceforge https://sourceforge.net/tracker/ index.php?func=detail&aid=1789581&group_id=111978&atid=660921, and it's fixed in SVN from Rev203 on. However, "mixed" content is only supported in outputxml / outputsom mode (and might eventually be supported in "outputhash" mode), as SOAP::WSDL's native XML parser currently can't handle mixed content. Regards, Martin


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.