aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Question: WS-I Profile Basic 1.0a R1005 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Question: WS-I Profile Basic 1.0a R1005" Watch "Question: WS-I Profile Basic 1.0a R1005" New topic
Author

Question: WS-I Profile Basic 1.0a R1005

Tong Chen
Ranch Hand

Joined: Apr 26, 2002
Posts: 1011
WS-I Profile:
R1005 A MESSAGE MUST NOT contain soap:encodingStyle attributes on any of the elements whose namespace name is "http://schemas.xmlsoap.org/soap/envelope/".
So in order to claim conformance to WS-I Profile Basic 1.0a
all the examples in the SOAP 1.1 spec should be changed from:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
to
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>?
Can anybody clarify this?
Thanks!


Tong Chen (Seattle USA)<br />SCJP,SCWCD,SCDJWS,IBM XML,MCP.NET,MCAD.NET,MCSD.NET
Richard Monson-Haefel
author
Ranch Hand

Joined: Oct 31, 2003
Posts: 92
The SOAP 1.1 specification was created long before the WS-I BP 1.0a. At the time it was created RPC/Encoded messaging was considered the norm. Since that time RPC/Encoded messaging has proven inadequate for interoperability so its not supported by the WS-I BP 1.0a.
So yes, any example in SOAP 1.1 note that uses RPC/Encoded messaging is not WS-I BP 1.0a conformant. Having said that, keep in mind that awareness of RPC/Encoded messaging and the fact that it is used in legacy Web service applications (that's a funny thought) is important. The J2EE 1.4 app servers are still required to support RPC/Encoded messaging, but if you deploy a Web service with that type of binding than it will not be WS-I BP 1.0a compliant.
Remember that although the J2EE 1.4 vendors must support the BP, you are not required to deploy BP conformant Web services � it�s a good idea but no one is going to cut your fingers off if you don't.


-- <br />Richard Monson-Haefel<br /><a href="http://www.Monson-Haefel.com" target="_blank" rel="nofollow">http://www.Monson-Haefel.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question: WS-I Profile Basic 1.0a R1005