On 08/02/11 13:51, Burak Arslan wrote:
>
>> 4. Is soaplib supposed to generate wsdl which validates using the
>> WS-I tools?
>>
>
> no but that'd be nice :)
>

i've actually taken a look at the wsdl files generated by both versions
of soaplib.

https://github.com/soaplib/soaplib/blob/soaplib-1.0.0/src/soaplib/test/wsdl.xml
https://github.com/soaplib/soaplib/blob/master/src/soaplib/core/test/wsdl.xml

i guess the important difference is that in 1.0 we have just one service
tag like so:

  <wsdl:service name="ValidatingApplication">
    <wsdl:port binding="s0:ValidatingApplication"
name="ValidatingApplication">
      <soap:address location="http://localhost:9753/?wsdl"; />
    </wsdl:port>
  </wsdl:service>


whereas in trunk we have multiple service tags for each service class,
like so:

  <wsdl:service name="InteropArray">
    <wsdl:port binding="tns:Application" name="Application">
      <soap:address location="http://localhost:9753/?wsdl"; />
    </wsdl:port>
  </wsdl:service>
  <wsdl:service name="InteropClass">
    <wsdl:port binding="tns:Application" name="Application">
      <soap:address location="http://localhost:9753/?wsdl"; />
    </wsdl:port>
  </wsdl:service>
  <wsdl:service name="InteropException">
    <wsdl:port binding="tns:Application" name="Application">
      <soap:address location="http://localhost:9753/?wsdl"; />
    </wsdl:port>
  </wsdl:service>
  <wsdl:service name="InteropMisc">
    <wsdl:port binding="tns:Application" name="Application">
      <soap:address location="http://localhost:9753/?wsdl"; />
    </wsdl:port>
  </wsdl:service>
  <wsdl:service name="InteropPrimitive">
    <wsdl:port binding="tns:Application" name="Application">
      <soap:address location="http://localhost:9753/?wsdl"; />
    </wsdl:port>
  </wsdl:service>
  <wsdl:service name="InteropServiceWithComplexHeader">
    <wsdl:port binding="tns:Application" name="Application">
      <soap:address location="http://localhost:9753/?wsdl"; />
    </wsdl:port>
  </wsdl:service>
  <wsdl:service name="InteropServiceWithHeader">
    <wsdl:port binding="tns:Application" name="Application">
      <soap:address location="http://localhost:9753/?wsdl"; />
    </wsdl:port>
  </wsdl:service>

according to the commit history, that's where this was introduced:

https://github.com/rbarrois/soaplib/commit/8530a70b4a43773cf2d3d6997991ec8187e0a3ba

So maybe the original author can chime in? Passing the wsi tests should
be an important goal of soaplib. any help on this subject would be
appreciated.

best,
burak


_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to