Home > SOA Tips > Guest Commentary > The WS-Policy Story
SOA Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

GUEST COMMENTARY

The WS-Policy Story


William Brogden
12.19.2006
Rating: -3.25- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


As the concept of XML-based "Web services" has grown from the simple days of XML-RPC things have gotten a lot more complicated. The pioneering developers communicated service requirements in text documentation, sample code and user mailing lists. Then came SOAP and more formal documentation such as WSDL and UDDI. Now the list of formal specifications related to Web services and generated by a variety of organizations is astonishingly long. Here are some of the most significant:

NameLead OrganizationFunction.
SOAPW3CDefines the XML message format for Web services.
WSDLW3CXML format description of a Web service suitable for automatically generating client code.
UDDI OASISProvides a method for publishing the access information for a Web service.
WS-SecurityOASISSign, verify and encrypt SOAP messages.
WS-AddressingW3CDefines transport-neutral mechanisms to address Web services.

As Web services have gotten more complicated, communication between potential client and service has become more difficult and early attempts such as WSDL have not always been up to the task of completely defining the requirements. Typically developers fall back on text documentation, discussions on user mailing lists or calling a more knowledgeable person to resolve a problem.

What is WS-Policy?

The Web Services Policy Framework (or WS-Policy for short) is intended to provide a basic general purpose model and XML syntax for describing policies related to a Web service. Policies can be defined, not only for a given Web service, but also by potential clients of the service. For example, your company might require that developers only access Web services using digital signatures. WS-Policy functions as an addition to WSDL, UDDI and other WS-* specifications.

A WS-Policy document expresses rules that may be as simple as a requirement to use WS-Addressing in SOAP headers or as complex as giving a list of "assertions" about alternate message signing algorithms which the service can recognize. Essentially, WS-Policy attempts to formalize in both machine- and human-readable form aspects of Web service communication that might otherwise require extensive text documentation or direct person to person communication. The examples given by the WS-Policy working group show how to express complex security requirements.

The WS-Policy specification has undergone a series of drafts and is now at the "Last Call Working Draft" stage, but does not yet have official W3C status. You can get a copy of the current working draft documentation from the Web Services Policy Working Group URL given in the resources.

Creators of WS-Policy

The list of participants working on WS-Policy shows that a wide spectrum of industry heavyweights have been contributing to the process of refining the framework. As part of the W3C's recent emphasis on software patent policy, these companies have made licensing commitments to ensure that when WS-Policy reaches Recommendation stage it will be royalty free.

Web Services Policy Attachment

The basic WS-Policy specification does not state how a given policy document gets associated with a specific Web service. That function is being covered in a separate WS-PolicyAttachement specification that defines mechanisms by which a policy gets associated with a Web service entity and with WSDL or UDDI descriptions.

Implementations

Microsoft provides the Web Services Enhancements add-on for Visual Studio.NET which supports WS-Policy and many other of the latest Web services related specifications.

The Apache "Commons" open source project contains a set of Java classes for reading and manipulating WS-Policy documents. This toolkit is part of the new Apache Axis2 Web services toolkit, but not part of Sun's Java Web Services Developer Package. The Apache API includes the rather elegant capability of automatically combining a WS-Policy document for a service with potential client policy alternatives to reveal the policy or policies where there is mutual agreement.

Conclusion

For me the question is - will WS-policy prove to be the solution to the obvious problem of helping developers coordinate all of the various specifications related to Web services or will it join the ranks of elegant specifications that everybody admires but few people use? Check back again in a year, maybe we will know by then.

Resources

The Web Services Policy Working Group status page

A summary list of specifications related to Web Services

A Java toolkit for implementation of WS-Policy in the Apache Commons project


Rate this Tip
To rate tips, you must be a member of SearchSOA.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Guest Commentary
The business analyst vs. the enterprise architect
The great SOA consultant squeeze
The best SOA pilots don't get the services right
The Buckaroo Banzai effect: location independence, service-oriented architecture, and the cloud
SOA principles drive content practices
Microsoft's business-driven service-oriented architecture
Zaptake: The inadequacy of Microsoft's SOA message
Relating master data management to SOA
Avoid getting lost on the (enterprise service) bus
Ten ways to identify services

SOA and Web services standards
SOA specs for energy industry planned
Web publishing spec released
OASIS okays ebXML messaging standard
Web services extend server spec
OpenAjaxHub spec emerges
The hunt for XML interoperability
Apache releases Java SCA
W3C publishes WS-Policy as recommendation
Mule extending Web services capabilities
The case against WS-Security

Web services development
SimpleDB shows promise
Yahoo says no deal
Amazon links Web services to data
StrikeIron offers new 'Data as a Service'
SOA products aim at healthcare
Web 2.0 tool debuts
WSO2 debuts ultra-light ESB
Microsoft Web services go live
Is Web 2.0 just guerilla SOA?
Enterprise Web 2.0 set to grow, analyst predicts

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
aptent  (SearchSOA.com)
business service provider  (SearchSOA.com)
HTML  (SearchSOA.com)
HTML 4.0  (SearchSOA.com)
HTML::Mason  (SearchSOA.com)
HTTP 1.1  (SearchSOA.com)
IETF  (SearchSOA.com)
Internet Open Trading Protocol  (SearchSOA.com)
OASIS  (SearchSOA.com)
Web Standards Project  (SearchSOA.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2001 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts