Posted on 2010-01-12 15:32:34.70126-08 by toddolson
Unrecognized type error on Lyris ListManager WSDL with SOAP::Lite 0.710.10
Hi

When I call SelectLists based on the WSDL for Lyris ListManager v10.3c (gSOAP v2.7.7 based) the response generates an error

Unrecognized type '{http://tempuri.org/ns1.xsd}MemberListSecurityEnum'

The WSDL file is available at http://topaz1.mail.cornell.edu/lmapi103.wsdl

The error, including XML returned by the ListManager server is at http://topaz1.mail.cornell.edu/lmapi103.xmlout.txt

The error can be reproduced by feeding the XML to SOAP::Deserializer->deserialize

QUESTION: is the root cause of the problem because SOAP::Lite can not handle a wsdl file with two schema definitions in it?

QUESTION: is there something I can do create a client with SOAP::Lite for this WSDL?

It is interesting to note that SOAP::Lite works fine with a much earlier version of the WSDL available at http://topaz1.mail.cornell.edu/lmapi895.wsdl

Note that neither XML::Compile nor SOAP::WSDL can handle this, because it is rpc/encoded

Thanks Todd Olson
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.