This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Services and the fly likes significance of encodingStlyle in WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "significance of encodingStlyle in WSDL" Watch "significance of encodingStlyle in WSDL" New topic

significance of encodingStlyle in WSDL

william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
Can any one tell the significance of the encodingStyle attribute where we give the value
From all that i know this url must contain an xml doc that contains the rules to marshall the soap request the soap xml.
Though I stated the above i am still not able to concieve what that means when it is brought to the level of reality.
For Ex.
In the wsdl file i define a type as
<xsd:complexType name="phone">
<xsd:element name="areaCode" type="xsd:int"/>
<xsd:element name="exchange" type="xsd:string"/>
<xsd:element name="number" type="xsd:string"/>
assuming that phone is the only part of my input message , in the binding i specify
<soap:body use="encoded"
for the message.
What is the significance of this encoding when i have already expressed my input type as XML.
I have made an earnest effort the articulate my issue.Pl lemme know if it is still not clear
thanx in advance

Help me!Help you!!!
Mandan Happy
Ranch Hand

Joined: Dec 17, 2001
Posts: 65
Encoding Style means that the serialization adheres to SOAP default Section 5 encoding style.
Please refer the SAOP 1.1 specification section 5.
You may alternatively use any other encoding style such as XMI from OMG.
I agree. Here's the link:
subject: significance of encodingStlyle in WSDL
Similar Threads
WSDL issues
Is this wsdl somehow wrong? - Help please!
error when generating WS Client code using wsdl
Web Service message level Encryption Decryption through public and private key
How to get Servcies,Input output xml formats from WSDL