Forums Register Login

WS-I vs. SOAP

+Pie Number of slices to send: Send
Hi Christopher and Ramesh!

Could you please explain the difference (and which is better) between the 2 webservice techniques.

Thanks,
Rob
+Pie Number of slices to send: Send
WS-I is an open industry organization chartered to promote Web services interoperability across platforms, operating systems and programming languages. The organization�s diverse community of Web services leaders helps customers to develop interoperable Web services by providing guidance, recommended practices and supporting resources. To date, WS-I has finalized the Basic Profile, Attachments Profile and Simple SOAP Binding Profile. Work on a Basic Security Profile is currently underway.

These Profiles provide a set of recommendations on how to use web services specifications to maximize interoperability.

SOAP is a simple XML-based protocol to let applications exchange information over HTTP when you develope web service.

SOAP is a simple XML-based protocol for exchanging information between web serices and WS-I is a guideline on how to use SOAP and others to get the best interoperability.

The following example shows what developers should know when you implement SOAP Fault in your web service in WS-I Basic Profile:
<b>
SOAP 1.1 allows custom fault codes to appear inside the faultcode element, through the use of the "dot" notation. Use of this mechanism to extend the meaning of the SOAP 1.1-defined fault codes can lead to namespace collision. Therefore, its use should be avoided, as doing so may cause interoperability issues when the same names are used in the right-hand side of the "." (dot) to convey different meaning.

Instead, the WS-I Basic Profile 1.0 encourages the use of the fault codes defined in SOAP 1.1, along with additional information in the detail element to convey the nature of the Fault.

Alternatively, it is acceptable to define custom fault codes in a namespace controlled by the specifying authority.

A number of specifications have already defined custom fault codes using the "." (dot) notation. Despite this, their use in future specifications is discouraged.

R1004
When a MESSAGE contains a faultcode element the content of that element SHOULD be one of the fault codes defined in SOAP 1.1 or a namespace qualified fault code.

R1031
When a MESSAGE contains a faultcode element the content of that element SHOULD NOT use of the SOAP 1.1 "dot" notation to refine the meaning of the Fault.

It is recommended that applications that require custom fault codes either use the SOAP 1.1 defined fault codes and supply additional information in the detail element, or that they define these codes in a namespace that is controlled by the specifying authority.
</b>

Please read SOAP section in SCDJWS Study Resources.
You don't know me, but I've been looking all over the world for. Thanks to the help from this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1524 times.
Similar Threads
WS-I vs. SOAP
SOAP vs RESTFul
Mbean Vs Webservices Vs EJB Vs RMI
REST vs SOAP
Mainframes vs System Admin vs Middleware
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:25:26.