File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes encoding type in wsdl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "encoding type in wsdl" Watch "encoding type in wsdl" New topic

encoding type in wsdl

vivek srivastava
Ranch Hand

Joined: Nov 30, 2007
Posts: 39
I am very confused about exact meaning of these 4 combination.
Please help me out. Which one does JAX-RPC supports?

Peer Reynders

Joined: Aug 19, 2005
Posts: 2921
See Which style of WSDL should I use?

JAX-RPC only supports RPC/encoded, RPC/literal, Document/literal

JAX-WS doesn't support RPC/encoded anymore because it often lead to interoperability problems.

Developers tend to prefer "RPC/literal" because of their familiarity with RPC.

However web services should be coarse grained so "Document/literal" should be preferred. There is also the wrapped document/literal convention.

This topic shows a conversion from an RPC/literal WSDL to a Document/Literal WSDL, then a Wrapped Document/Literal WSDL.
It is sorta covered in the JavaRanch Style Guide.
subject: encoding type in wsdl
Similar Threads
encodingStyle attribute value
Object 2.1 List and describe the encoding types used in a SOAP message.
[ To Authors ] : Encoding Style
SOAPBodyElement in Axis
Document/litereal or RPC/Literal