M
Me
Hi all,
I am trying to generate access classes for a webservice client using wsdl2perl and I am encountering some problems:
1) The interface class is not created.
the wsdl I have uses soap1.2 namespace, if I change it to use plain soap ("http://schemas.xmlsoap.org/wsdl/soap/") wsdl2perl manages to create the interface class but then I get problem number 2
2) When I try to make a call using the autogenerated interface, the remote server (over which I have no control) responds with:
"Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'".
wsdl2perl also gives me the following warnings:
"XML Schema element <appinfo> is not implemented yet at /usr/share/ perl5/SOAP/WSDL/Expat/WSDLParser.pm line 254." (I get 4 of these). and "found unrecognised attribute {http://www.w3.org/2006/05/addressing/ wsdl}Action (ignored) at /usr/share/perl5/SOAP/WSDL/Base.pm line 130." The latter comes from this element in the wsdl: '<wsdl:input wsaw:Action="http://tempuri.org....' Apparently it is not allowed to use namespaces for attribute names ? (wsaw is "http://www.w3.org/2006/05/addressing/wsdl" in case that matters).
I believe the server is a .NET thing.
I am quite unexperienced when it comes to XML and SOAP, any pointer will be appreciated.
thanks
I am trying to generate access classes for a webservice client using wsdl2perl and I am encountering some problems:
1) The interface class is not created.
the wsdl I have uses soap1.2 namespace, if I change it to use plain soap ("http://schemas.xmlsoap.org/wsdl/soap/") wsdl2perl manages to create the interface class but then I get problem number 2
2) When I try to make a call using the autogenerated interface, the remote server (over which I have no control) responds with:
"Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'".
wsdl2perl also gives me the following warnings:
"XML Schema element <appinfo> is not implemented yet at /usr/share/ perl5/SOAP/WSDL/Expat/WSDLParser.pm line 254." (I get 4 of these). and "found unrecognised attribute {http://www.w3.org/2006/05/addressing/ wsdl}Action (ignored) at /usr/share/perl5/SOAP/WSDL/Base.pm line 130." The latter comes from this element in the wsdl: '<wsdl:input wsaw:Action="http://tempuri.org....' Apparently it is not allowed to use namespaces for attribute names ? (wsaw is "http://www.w3.org/2006/05/addressing/wsdl" in case that matters).
I believe the server is a .NET thing.
I am quite unexperienced when it comes to XML and SOAP, any pointer will be appreciated.
thanks