File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 2922
    
    5
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java EE doesnot support Encoded binding