aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Java EE doesnot support Encoded binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Java EE doesnot support Encoded binding" Watch "Java EE doesnot support Encoded binding" New topic
Author

Java EE doesnot support Encoded binding

Sim Kim
Ranch Hand

Joined: Aug 06, 2004
Posts: 268
Hi,

I tried making wsdl using wsgen tool. The SEI was annotated using the SOAPBinding annotation :



wsgen threw error saying "The fromjava.server.AddNumbersImpl class has invalid SOAPBinding annotation. rpc/encoded SOAPBinding is not supported"

J2EE 1.4 supported ENCODED binding . Does it mean that ENCODED binding cannot be used with Java EE.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Originally posted by Sim Kim:
Does it mean that ENCODED binding cannot be used with Java EE.


Correct - RPC/encoded is not supported (which I did mention to you here) as a messaging mode and the "encoded" encoding style isn't supported at all, only the "literal" encoding style is supported under JAX-WS.

Basically SOAP 1.1 section 5 encoding was too ambiguous to be implemented consistently and some platforms couldn't even support it. RPC/encoded was a the root of many "interoperation nightmares".
[ November 20, 2008: Message edited by: Peer Reynders ]

"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java EE doesnot support Encoded binding
 
Similar Threads
web service "int myMethod(int i, String s)"
EJB 3.0 WebService, How to change context
Webservice deployment failed
Passing binary files in webservices
Is RPC/Encoded not allowed in JAX-WS?