Page 1 of 1

Bug/Not-Sate-Of-The-Art: Webservice WSDL => RPC/Encoded

Posted: Fri Jul 23, 2010 2:44 pm
by oemmnewbie
Hi,

I know its not really a Bug but to some degree it is one nevertheless. With the current "toolings" like Apache CXF (and as I have read also the current AXIS versions), it is not possible to generate Java Code out of the provided WSDL as the RPC/Encoded style seems to be from an WS era quite some time ago and is not supported anymore. this makes the webservice useless (as old axis and new cxf libs dont work well alongside each other...)

WSDLToJava Error: Rpc/encoded wsdls are not supported with CXF

see also:
stackoverflow.com/questions/412772/java-rpc-encoded-wsdls-are-not-supported-in-jaxws-2-0

thanks
jens

Posted: Fri Jul 23, 2010 8:05 pm
by maschoff
We plan to offer a new set of webservices based on Sprin WS by the end of this year.

Re: Bug/Not-Sate-Of-The-Art: Webservice WSDL => RPC/Encod

Posted: Mon Jul 26, 2010 5:51 pm
by sp
oemmnewbie wrote:Hi,

I know its not really a Bug but to some degree it is one nevertheless. With the current "toolings" like Apache CXF (and as I have read also the current AXIS versions), it is not possible to generate Java Code out of the provided WSDL as the RPC/Encoded style seems to be from an WS era quite some time ago and is not supported anymore. this makes the webservice useless (as old axis and new cxf libs dont work well alongside each other...)

WSDLToJava Error: Rpc/encoded wsdls are not supported with CXF

see also:
stackoverflow.com/questions/412772/java-rpc-encoded-wsdls-are-not-supported-in-jaxws-2-0

thanks
jens
You can use the RPC/literal WSDL style when creating the WSDL file and plain Java 6 to access the web service.