hi,
some days ago, I added an exception throwing part to throw an exception when
there is an unsuported binding.

eg.
<wsdl:binding name="versionSOAP11Binding" type="axis2:versionPortType">
       <soap:binding transport="http://schemas.xmlsoap.org/soap/http";
style="document"   />
here I made an wrong assumption that the wsdl:binding contontain only the
binding type extensibility element.

But when integrating with policy, we can have elements like this,

<wsdl:binding name="versionSOAP11Binding" type="axis2:versionPortType">
       <wsp:Policy
               xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";
               Name="urn:version"
               Id="urn:version">

       </wsp:Policy>
       <soap:binding transport="http://schemas.xmlsoap.org/soap/http";
style="document"   />

In this case above code raises an unnecessary exception.

Amila.

--
Amila Suriarachchi,
WSO2 Inc.

Reply via email to