Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP Namespaces and schema  RSS feed

Sudhanshu Mishra
Ranch Hand
Posts: 238
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have learnt that SOAP <Body> element can have any element content ,but as per SOAP schema where elementFormDefault is 'qualified',all the elemnts in SOAP envelope should be qualified.
Now consider a situation,I have to use my own elements from a xml schema which defines elementFormDefualt to be unqualified.Now if I include my namespace in the SOAP message,do I have to qualify my elements in <Body> elemnt,even if my xml schema does not allows so?

In simple words,what happens if i include two namespaces in a xml document,and elementFormDefault is qualified in one and unqualified in other?Do the settings of eleemntFormdefault overide each other?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!