[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [off-topic] Web services best practice information?


web services best practices
Ian Graham wrote:

>Any ideas on what list / site might have such nuggets?
>
>I'm looking for ideas on how to place optional (e.g. triggered by a 
>service request flag) debug information in WS messages (e.g. should it 
>go in SOAP header or footer, what's good WSDL design for this, what's a 
>good XML pattern for the <debug> content, etc.). We want this to be 
>permanently part of our WS infrastructure (so we can turn it on when 
>things go blork).
>
>More generally, I can't seem to find good web service best practice 
>information, or even good lists on that topic. Anyone else had better 
>success (I hope so!)
>
>Best / Ian
>  
>
I'll second Jon's recommendation that you look at the WS-I Basic Profile 
for general best practices 
(http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html). If 
I correctly understand what you want to do, it sounds like the best way 
may be to use the header block (SOAP doesn't actually define a footer). 
You could define one header for the request that says you want the debug 
information enabled, and a separate header for the response that 
actually provides the information.

The SOAP recommendations actually allow the use of multiple body parts, 
so you could append the debug information in the response following the 
many body element. This is not a recommended approach, though, and the 
WS-I best practices forbid it.

  - Dennis

-- 
Dennis M. Sosnoski
Enterprise Java, XML, and Web Services
Training and Consulting
http://www.sosnoski.com
Redmond, WA  425.885.7197



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.