wood burning stoves 2.0*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes BP-compliant SOAP Envelope's namespace Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "BP-compliant SOAP Envelope Watch "BP-compliant SOAP Envelope New topic
Author

BP-compliant SOAP Envelope's namespace

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
In BP, it says:

"SOAP 1.1 states that an envelope with a document element whose namespace name is other than "http://schemas.xmlsoap.org/soap/envelope/" should be discarded. The Profile requires that a fault be generated instead, to assure unambiguous operation."

One mock exam says that due to this, the below would generate a fault:



I think this is valid, because the envelope inside the body is a 'content'. Whether the content is valid soap or not should not matter for this topic.

In addition, the SOAP xsd would allow this, I think.

What do you think?
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Jesus:

You are correct and we will fix the problem. The mock question should look like the follow SOAP message:



which is against R1015 A RECEIVER MUST generate a fault if they encounter a message whose document element has a local name of "Envelope" but a namespace name that is not "http://schemas.xmlsoap.org/soap/envelope/" in WS-I BP.

Thanks again and we would like to hear more feedback that can help us to provide more values to others.

Wise
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
Thanks, I appreciate the reply. There is really so much information for this exam, and it is easy to miss one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BP-compliant SOAP Envelope's namespace
 
Similar Threads
Do grandchildren of Soap:body element need to be fully qualified?
Doubt in soap:header
how to set an attribute like SOAPAction in the Header?
My SCDJWS Notes available now!
Mock exam question: SOAP doubt