Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP doubt: The Body element

 
Asit Baran
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read in MZ notes that:
WS-I BP 1.0 requires all immediate children of Body element be namespace qualified.

Does it mean that if any children of the Body element is NOT namespace qualified then the message won't conform to BP 1.0 ?
Or it's just a recommendation. Please clarify.
 
Sachet Varma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Asit,

The BP requires that the soap:Body's children are namespace qualified.

Hence
<i>
<soap:Body>
<mi:msg xmlns:mi=URL1>
<hello>Greetings</hello>
</mi:msg>
</soap:Body>

</i>

is considered BP conformant
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!