• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP types question doubt

 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Source:xyzws site mock exam

Problem
Which of the following statement describe the "array" compound type of SOAP types?
Options
Select 1 correct option.
1. A compound value in which accessor name is the only distinction among member values, and no accessor has the same name as any other.
2. A compound value in which ordinal position serves as the only distinction among member values.
3. Both a and b
4. None of the above
Can any one tell me the correct answer and exaplaination for above question.
 
Somnath Jamdar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct option : 2


AS per http://www.w3.org/TR/2000/NOTE-SOAP-20000508/

An "array" is a compound value in which ordinal position serves as the only distinction among member values.

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.

Please confirm
 
cheenu Dev
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both a and b is the right answer.
Somnath's explanation is right in this view.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic