• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

significance of encodingStlyle in WSDL

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell the significance of the encodingStyle attribute where we give the valuehttp://schemas.xmlsoap.org/soap/encoding/.
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:all>
<xsd:element name="areaCode" type="xsd:int"/>
<xsd:element name="exchange" type="xsd:string"/>
<xsd:element name="number" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
assuming that phone is the only part of my input message , in the binding i specify
<input>
<soap:body use="encoded"
namespace="urn:AddressFetcher"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>;
</input>
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
vamsi
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
-regards
MANDAN
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic