Win a copy of Java Challengers this week in the Java in General forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

SOAP types question doubt

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Both a and b is the right answer.
Somnath's explanation is right in this view.
reply
    Bookmark Topic Watch Topic
  • New Topic