You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Naresh Tallapelli <na...@gmail.com> on 2008/11/10 15:09:27 UTC

Rpc/encoded wsdls are not supported in JAXWS 2.0 error

Hi All,

I am using cxf-2.1 version. I have generated the binding content for my wsdl
using SOAP binding options "rpc encoded". And when i am trying to generate
the Java code from wsdl using "wsdl2java" tool provided in cxf, getting the
following error:

"WSDLToJava Error: Rpc/encoded wsdls are not supported in JAXWS 2.0"

Could any one please help me to how to resolve this issue ?

Thank you,
Naresh.

Re: Rpc/encoded wsdls are not supported in JAXWS 2.0 error

Posted by Daniel Kulp <dk...@apache.org>.
It's pretty much exactly what the error message says.   None of the modern 
soap toolkits really support RPC/Encoded.   It's completely deprecated and 
relatively non-interopable.    Thus, you would need to switch your service 
to "literal" or use one of the older toolkits that would support it.  (axis1 
is about the only one that comes to mind.  The older JAX-RPC implementation 
from Sun as well I guess.)

Dan


On Monday 10 November 2008 9:09:27 am Naresh Tallapelli wrote:
> Hi All,
>
> I am using cxf-2.1 version. I have generated the binding content for my
> wsdl using SOAP binding options "rpc encoded". And when i am trying to
> generate the Java code from wsdl using "wsdl2java" tool provided in cxf,
> getting the following error:
>
> "WSDLToJava Error: Rpc/encoded wsdls are not supported in JAXWS 2.0"
>
> Could any one please help me to how to resolve this issue ?
>
> Thank you,
> Naresh.



-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Re: Rpc/encoded wsdls are not supported in JAXWS 2.0 error

Posted by Daniel Kulp <dk...@apache.org>.
It's pretty much exactly what the error message says.   None of the modern 
soap toolkits really support RPC/Encoded.   It's completely deprecated and 
relatively non-interopable.    Thus, you would need to switch your service 
to "literal" or use one of the older toolkits that would support it.  (axis1 
is about the only one that comes to mind.  The older JAX-RPC implementation 
from Sun as well I guess.)

Dan


On Monday 10 November 2008 9:09:27 am Naresh Tallapelli wrote:
> Hi All,
>
> I am using cxf-2.1 version. I have generated the binding content for my
> wsdl using SOAP binding options "rpc encoded". And when i am trying to
> generate the Java code from wsdl using "wsdl2java" tool provided in cxf,
> getting the following error:
>
> "WSDLToJava Error: Rpc/encoded wsdls are not supported in JAXWS 2.0"
>
> Could any one please help me to how to resolve this issue ?
>
> Thank you,
> Naresh.



-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog