web services - Getting SOAP::Lite to omit types in queries -
i'm trying perl script using soap::lite talk web service.
i have wsdl service, fields have type defined complextype / simpletype without name specified.
the server validates typing info send request, failing due wrong type beingness given.
how can overcome problem? seems server happy if omit typing info in manual request, i'm struggling soap::lite not emit type (if don't specify one, guesses one). alternative supply type server expects, haven't been able figure out is. (supplying raw xml work well, feels dirty...)
wsdl such field:
<xs:element name="description"> <xs:annotation> <xs:documentation>free text field</xs:documentation> </xs:annotation> <xs:simpletype> <xs:restriction base="xs:string"> <xs:maxlength value="4000"/> </xs:restriction> </xs:simpletype> </xs:element> i have tried tag xs:string, not accepted either.
from documentation
autotype()
shortcut serializer->autotype(). lets specify whether serializer seek create autotyping or not. default setting true.
so turn off.
web-services perl soap soap-client soaplite
No comments:
Post a Comment