Tuesday May 01, 2007
Today's Page Hits: 110
Tuesday May 01, 2007
WSDL-based Web Services define a stateless model and an unordered set of operations. WSDL and therefore WSDL-based web services do not have the concept of state. Do not use transport layer features to accomplish state management into your WSDL based web service. Dependency on HTTP and its session support to implement state management into your WSDL-based web services is a bad practice. To avoid issues with scalability, and provide deployment flexibility, web services should be stateless. If you want state management, you have to have the web service consumer implement this functionality.
A better alternative if you want state management, is to consider using BPEL for orchestration. Among other features, BPEL provides:
Like this write-up? Subscribe to receive more like it.
Disclaimer: The contents of this Weblog represent my personal opinion which may differ from the official views of my employer, Sun Microsystems, Inc. or any past employers.