Ah, ok. Thanks,
David

On 05/03/07, Amila Suriarachchi <[EMAIL PROTECTED]> wrote:

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.


--
David Illsley - IBM Web Services Development

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to