• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Compund type in SOAP

 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
w3 org depicts:

SOAP defines types corresponding to the following structural patterns often found in programming languages:

Struct
A "struct" is a compound value in which accessor name is the only distinction among member values, and no accessor has the same name as any other.
Array
An "array" is a compound value in which ordinal position serves as the only distinction among member values.

The members of a Compound Value are encoded as accessor elements.

I did not get the meaning of the accessor elements over here....what is the use of that?

Thanks in advance.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guess i am not wrong.
In java struct is similiar to a class.
The class can be made as a compound element in soap or xml.
The "accessors" means the getters and setters of the properties or the property itself.

Every class has distinct variable names.
Every struct within it has a distinct accessor.
Both statements are same.

For array , it can be a array of simple objects like java primitives, OR it can be a array of compound objects like class.
The array can be accessed using ordinals aka index.

I hope i made you clear
reply
    Bookmark Topic Watch Topic
  • New Topic