Stefan,

Is this an Axis2 based service in production? and you have a custom wsdl?

-- dims

On 5/3/07, stefan_dragnev <[EMAIL PROTECTED]> wrote:

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Davanum Srinivas :: http://davanum.wordpress.com

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

Reply via email to