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 document encoded Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "document encoded" Watch "document encoded" New topic

document encoded

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1432
I specified messaging style as document and encoding style as literal in WSDL. Where shall i define SOAP encoding rules?
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
If you have specified the messaging style as Document and the encoding Literal, then you should be good to go.
SOAP encoding (and other encoding types too) are not allowed by the WS-I Basic Profile (reference:
If you mean something else, please clarify your question!
Best wishes!
udaykumar maddigatla
Ranch Hand

Joined: Feb 03, 2009
Posts: 69
Hi All,

Can some one explain what is encoded and literal and when to use what in SOAP.

I'm bit confused on above topic.

SCJP 5.0(84%), SCWCD 5.0(97%), SCDJWS 5.0(98%)
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
Which style of WSDL should I use? explains it very well.


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
I agree. Here's the link:
subject: document encoded
It's not a secret anymore!