Posted by ramapulavarthi
on September 6, 2007 at 9:53 AM PDT
Web Services Addressing 1.0 - Metadata specification is now a W3C Recommendation. It defines how to express abstract properties defined in the Addressing 1.0 core specification and uses WS-Policy 1.5 to express conformance to Web Services Addressing 1.0 specification.
Good News Everyone !!!
Web Services Addressing 1.0 Metadata specification produced by Web Services Addressing Working Group is now a W3C recommendation. This Metadata specification defines standard way to express the abstract properties of Web Services Addressing 1.0 core in WSDL and to express support and conformance to Web Services Addressing 1.0 in the wsdl. It also defines how WSDL Metadata is included in an Endpoint Reference (EPR).
This WS-Addressing Metadata specification replaces the previous Web Services Addressing 1.0 - WSDL Binding specification in candidate recommendation earlier. The main difference is in the way support for Addressing is expressed in wsdl and of course the namespace (change from wsaw:http://www.w3.org/2006/02/addressing/wsdl to wsam:http://www.w3.org/2007/05/addressing/metadata). In WSDL Binding specification, an WSDL extensibility element was used. This Metadata specification uses Web Services Policy Framework (WS Policy 1.5 ) and Web Services Policy - Attachment [WS Policy 1.5 - Attachment ] specifications to express the support of Web Services Addressing 1.0. A new policy assertion is defined to express it.
New policy Assertions:
When is present in a Policy alternative, one is required to use WS-Addressing to communicate with the subject.
can be used to indicate support for WS-Addressing but does not require the use of it.
In these cases, there are no restrictions about the use of WS-Adressing.
Nested asertions can be used to restrict the use of WS-Addressing inside the assertion.
can be used to indicate that the subject requires WS-Addressing and requires the use of non-anonymous response EPRs
can be used to indicate that the subject requires WS-Addressing and requires the use of anonymous responses.
I discussed briefly in my earlier blog about including WSDL Metadata in EPR. In a future blog, I will write about how abstract Addressing properties like action and reference parameters are descibed in WSDL.
As you know, JAX-WS 2.1 did not define WSDL binding for WS-Addressing as things were in flux during the release of 2.1 specification. Now that Metadata specification is final, JAX-WS can use these standard policy assertions and description of abstract addressing properties in wsdl.