SOAP defines types corresponding to the following structural patterns often found in programming languages:
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.
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.
posted 6 years ago
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.