aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Compund type in SOAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Compund type in SOAP" Watch "Compund type in SOAP" New topic
Author

Compund type in SOAP

Rahul Ba
Ranch Hand

Joined: Oct 01, 2008
Posts: 205
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.
Arun kumar
Greenhorn

Joined: Apr 22, 2008
Posts: 10
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

Regards,<br /> Arun Kumar<br />----------------------------------<br />SCJP 5.0 86%
 
jQuery in Action, 2nd edition
 
subject: Compund type in SOAP