I'm trying to use gSoap 2.7.12 with a WSDL file that contains both Soap
and Http interfaces.  I.e.

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
xmlns:s0="http://sig.com/ReferenceData/Common/Messages";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:s3="http://sig.com/ReferenceData/Common/Types";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:tns="http://sig.com/ReferenceData/Service.Account";
xmlns:s1="http://sig.com/ReferenceData/Account/Messages";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:s2="http://sig.com/ReferenceData/Account/Types";
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:s5="http://sig.com/ReferenceData/Service.Account/AbstractTypes";
targetNamespace="http://sig.com/ReferenceData/Service.Account";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
.
.
.
   <wsdl:binding name="AccountServiceHttpGet"
type="tns:AccountServiceHttpGet">
     <http:binding verb="GET" />
     <wsdl:operation name="GetVersion">
       <http:operation location="/GetVersion" />
       <wsdl:input>
         <http:urlEncoded />
       </wsdl:input>
       <wsdl:output>
         <mime:mimeXml part="Body" />
       </wsdl:output>
     </wsdl:operation>


I run wsdl2h on the wsdl file like this:

wsdl2h -I c:\gsoap-2.7\gsoap\WS -f -o Account.hpp Account.wsdl

It looks like the Soap operations in the file are generated o.k., but I
get a lot of warnings like these on the http/mime stuff:

Warning: element 'mime:mimeXml' at level 4 was not recognized and will
be ignored
Warning: element 'http:urlEncoded' at level 4 was not recognized and
will be ignored

Is this a limitation of gSoap, or something I am doing wrong?

Ray


Reply via email to