Meaningless Drivel is fun!*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "document encoded" Watch "document encoded" New topic
Author

document encoded

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
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
    
    1
Hi!
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: http://www.ws-i.org/Profiles/BasicProfile-1.1.html#Encodings_and_the_use_Attribute)
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: 1176
Which style of WSDL should I use? explains it very well.

Regards,
Dan


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: http://aspose.com/file-tools
 
subject: document encoded