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
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: 2933
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.
I agree. Here's the link:
subject: encoding type in wsdl
It's not a secret anymore!