Win a copy of 97 Things Every Java Programmer Should Know 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

SOAP doubt: The Body element

 
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.
 
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
 
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic