axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stefan_dragnev <stefan_drag...@yahoo.com>
Subject Re: WSDL2Java: WSDLProcessingException: Encoded use is not supported?
Date Thu, 03 May 2007 20:42:05 GMT

Dims,

I'm sure the wsdl uses rpc/encoded because it contains the following
section:

<binding name="WebServiceSoap" type="s0:WebServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
    <operation name="UpdateCategoriesReq">
      <soap:operation
soapAction="http://www.openuri.org/UpdateCategoriesReq" style="rpc"/>
      <input>
        <soap:body use="encoded" namespace="http://www.openuri.org/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded" namespace="http://www.openuri.org/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="BPDataReq">
      <soap:operation soapAction="http://www.openuri.org/BPDataReq"
style="rpc"/>
      <input>
        <soap:body use="encoded" namespace="http://www.openuri.org/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded" namespace="http://www.openuri.org/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
......
</binding>

I know that rpc/encoded is not supported in WS-I basic profile but this WSDL
was developed some time ago and is used in production so I'm not sure
whether I will be allowed to modify. If I'm allowed to modify it what will
be the best way to do it so Axis2 1.2's wsdl2java will not throw errors?

Thanks.
Stefan


>I believe we are throwing better exceptions now...if you post the wsdl
>in a bug report, we can take a look to confirm that it is indeed an
>rpc/encoded wsdl which we don't support.
>
>thanks,
>dims

-- 
View this message in context: http://www.nabble.com/WSDL2Java%3A-WSDLProcessingException%3A-Encoded-use-is-not-supported--tf3678548.html#a10312820
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message