aspose file tools
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes document encoded Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "document encoded" Watch "document encoded" New topic
Author

document encoded

kri shan
Ranch Hand

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

Joined: Oct 04, 2006
Posts: 2193
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: 1121
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: document encoded
 
Similar Threads
Axis RPC vs Document style web service
Problems to generate stub
encodingStyle attribute value
Problem with XML
SOAPBodyElement in Axis