Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP doubt: The Body element  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!