See more articles about "web service "

Tutorial Addendum on Web Account and SOAP - SOAP Encoding



 31 December 18:00   

    



    



    

This affiliate describes:

    



        

  • What is SOAP encoding?

        



  •     

  • How to handle assorted references and annular references?

        



  •     

  • How to specify bulge types?

        



  •     

  • How to using SOAP encoding in SOAP messages

        



  •     



    



    



    

What Is SOAP Encoding?

    



    

SOAP encoding is an addendum of the SOAP framework blueprint that defines how a data amount should

    

be encoded in an XML format. SOAP Data Archetypal is authentic as an accessory

    

in SOAP 1.2 specification.

    



    



    

SOAP encoding offers the afterward rules to catechumen any data amount authentic in SOAP data archetypal into

    

XML format. Converting a data amount into XML architecture is alleged serialization or encoding.

    



    

1. A simple amount bulge with a labeled entering bend will be after into a individual XML element

    

with the bend s characterization as the aspect s name and bulge amount as the aspect s argument content.

    



    

2. If serializing a bulge into an XML element, an "xsi:type" aspect can be added to specify

    

the amount blazon of this note. For added advice on "xsi:type", see the additional sections in this book.

    



    

3. A admixture amount bulge with labeled outbound edges, a data structure, will be after

    

into a individual XML aspect with adolescent elements. One outbound bend will be after into one adolescent element

    

with aspect s name according to the bend s label. The adjustment of adolescent elements is not significant.

    



    

4. A admixture amount bulge with non-labeled outbound edges, a data array, will be after

    

into a individual XML aspect with adolescent elements. One outbound bend will be after into one adolescent element

    

with aspect s name according to any characterization as continued as it s the aforementioned for all adolescent elements.

    

The adjustment of adolescent elements signifies the position ethics of outbound edges.

    



    

5. If serializing an array, an "enc:itemType" aspect can be added to specify the amount blazon of

    

its sub nodes, and an "enc:arraySize" aspect can be added to specify the amount of ethics in the array.

    



    

Example 1 - Simple amount with no reference: The afterward blueprint represents a simple amount of 3.14:

    

 

    

(3.14)

    



    



    

Since this bulge has no entering edge, I assumption we can serialize it as XML aspect with any name:

    

 

    

<value>3.14</value>

    



    



    

Example 2 - Simple amount with a called reference: The afterward blueprint represents a simple amount of 3.14

    

with a advertence name of "pi":

    

 

    

--- pi -->(3.14)

    



    



    

This bulge has an entering labeled edge. The consistent XML aspect should be called as the entering bend label.

    

 

    

<pi>3.14</pi>

    



    



    

Example 3 - Admixture amount with called sub data elements: The afterward blueprint represents a admixture amount with a advertence name of "currentCustomer".

    

This admixture amount has 3 simple-value sub data elements referenced as "id", "name" and "isSmoking" respectively.

    

In some programming language, this admixture amount is alleged a structure:

    

 

    

(2321)

    

^

    

|

    

id

    

|

    

--- currentCustomer -->( )-- name -->()

    

|

    

isSmoking

    

|

    

v

    

(false)

    



    



    

This bulge has an entering labeled edge. The consistent XML aspect should be called as the entering bend label:

    

 

    

<currentCustomer>

    

<id>2321</id>

    

<name></name>

    

<isSmoking>false</isSmoking>

    

</currentCustomer>

    



    



    

Example 4 - Admixture amount with positioned sub data elements: The afterward blueprint represents a admixture amount with a advertence name of "colors".

    

This admixture amount has 3 simple-value sub data elements referenced with no names, but with positions.

    

In some programming languages, this admixture amount is alleged an array:

    

 

    

(Red)

    

^

    

|

    

0

    

|

    

--- colors -->( )----1--->(Green)

    

|

    

2

    

|

    

v

    

(Blue)

    



    



    

Obviously, this bulge represents an array:

    

 

    

<colors enc:arraySize="3" enc:itemType="xsd:string">

    

<item>Red</item>

    

<item>Green</item>

    

<item>Blue</item>

    

</colors>

    



    



 


 value, compound, element, elements, encoding, simple, child, inbound, label, outbound, represents, labeled, array, following, serialized, reference, named, colors, issmoking, currentcustomer, example, graph, attribute, format, specify, called, single, added, elementwith, edges, , compound value, simple value, soap encoding, value with, xml element, child elements, serialized into, data elements, sub data, following graph, graph represents, inbound edge, item <, node has, name <, reference name, < item, outbound edges, value node, xml format, data value, node with, edge will, element with, attribute can, single xml, elements the, following graph represents, sub data elements, compound value with, value node with, xml element with, data elements referenced, inbound labeled edge, inbound edge label, simple value with, xml element should, one child elementwith, labeled outbound edges, compound value node, soap data model, element with child, one outbound edge, soap soap encoding, outbound edge will, child elementwith element,

Share Tutorial Addendum on Web Account and SOAP - SOAP Encoding:
Digg it!   Google Bookmarks   Del.icio.us   Yahoo! MyWeb   Furl  Binklist   Reddit!   Stumble Upon   Technorati   Windows Live   Bookmark

Text link code :
Hyper link code:

Also see ...

Tutorial Addendum on Web Account and SOAP - SOAP Encoding
Multiple References and Annular References To advice serializing assorted reference, SOAP encoding blueprint offers the afterward rule:6. If serializing an labeled entering edge,

Tutorial Addendum on Web Account and SOAP - SOAP Java Implementations
This affiliate describes:Java Implementations of SOAP.Axis Accession Requirements on Windows.Installing Arbor 1.2.1 on Windows.Installing JAF 1.0.2./

Tutorial Addendum on Web Account and SOAP - SOAP Java Implementations
Installing Arbor 1.2.1 on WindowsBefore installing Axis, you should attending at your accepted JDK and Bobcat installations. Actuality is what I accept on my system:Name Ada

Tutorial Addendum on Web Account and SOAP - SOAP Bulletin Barter Patterns
This affiliate describes:What are SOAP bulletin barter patterns?What is Request Response Bulletin Barter Pattern?What is Acknowledgment Bulletin Barter Pattern?

Tutorial Addendum on Web Account and SOAP - SOAP Bulletin Barter Patterns
Rule 2: At the responding SOAP node, there will be addition set of SOAP backdrop with the afterward antecedent values: http://www.w3.org/2003/05/soap/bindingFramework/ExchangeContext /ExchangePatternName

Tutorial Addendum on Web Account and SOAP - SOAP Bulletin Anatomy
This affiliate describes:Generic SOAP bulletin structure.SOAP accountability bulletin structure.SOAP Bulletin Structure

Tutorial Addendum on Web Account and SOAP - SOAP Bulletin Anatomy
SOAP Accountability MessageA SOAP accountability bulletin is a appropriate SOAP bulletin acclimated to backpack absurdity information. It haveto accept alone one physique adolescent aspect alleged "Fault

Tutorial Addendum on Web Account and SOAP - SOAP Perl Implementations
This affiliate describes:Available Perl implemations of SOAP.SOAP::Lite for Perl on Windows.Installing ActivePerl v5.8.7 on Windows.SOAP::Lite 0.55 in Active

Tutorial Addendum on Web Account and SOAP - SOAP Perl Implementations
SOAP::Lite 0.55 in ActivePerl 5.8.7Now, let s analysis afresh the SOAP::Lite amalgamation in ActivePerl v5.8.7: dir perlsitelibSOAP...12/08/2003 09:13 AM

Tutorial Addendum on Web Account and SOAP - SOAP RPC Presentation
This affiliate describes:What is SOAP RPC Presentation?When and how to use Web methods to adjure RPC?How to use SOAP letters to adjure RPC?Some examples of R