Posted on 2009-12-18 11:40:13-08 by joebloe
Deserializing SOAP Header fails, missing entries in typemap?
So my simple cgi server program has been failing to deserialize test messages sent from a simple client program, both using SOAP::WSDL and the same WSDL file. It was fairly quickly apparent that the deserialization failed because types were missing in the generated typemap module. It took me much longer to figure out that the missing types are those that are sent in the header. (I'm not necessarily a whiz all the time.) Apparently SOAP::WSDL doesn't think it needs header types in the typemap, even though it DOES generate classes for them. Am I right about this? This seems like a bug ...? Anyway I'm going to try adding the required types manually with --typemap_include and see if that solves the problem.
Direct Responses: 11985 | Write a response
Posted on 2009-12-19 09:38:16-08 by mkutter in response to 11981
Re: Deserializing SOAP Header fails, missing entries in typemap?
... this sounds like a bug - if the header is defined in the WSDL, it should also be included in the typemap.
Martin
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.