Home > Ask the SOA Experts > SOA governance and standards Questions & Answers > Implementing SOAP headers
Ask The SOA Expert: Questions & Answers
EMAIL THIS

Implementing SOAP headers

Anne Thomas Manes EXPERT RESPONSE FROM: Anne Thomas Manes

Pose a Question
Other SOA Categories
Meet all SOA Experts
Become an Expert for this site


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


>
QUESTION POSED ON: 13 March 2006
I am using a Websphere 5.0 Application server and WSAD 5.1.2 IDE for development purposes. I would like to add the authentication information within a SOAP header. Any ideas how can I add the appid/password along the SOAP header? Can I do it using a message handler? If yes, how do I implement it?

>
EXPERT RESPONSE

You have two options: you can use a message handler or you can use an intermediary. Both of these approaches allow you to add and process SOAP headers in your message. If you have any requirements at all to support interoperability, then you should make sure that your security header conforms to the OASIS WS-Security 2004 v1.0 specification. (See http://www.oasis-open.org/specs/index.php#wssv1.0).

I must warn you, though. The native SOAP engine in WAS 5.0 is very limited in its capabilities -- especially in terms of advanced features and interoperability. (It predates the WS-I Basic Profile.) I encourage you to either upgrade to WAS 5.1 or later or to install a third party SOAP engine, such as Apache Axis (open source) (see http://ws.apache.org/axis/) or Systinet Server (commercial) (see http://www.systinet.com/products/systinet_server). Apache WSS4J is an open source WS-Security provider (i.e., a pre-built handler that supports WS-Security) designed to work with Apache Axis or any JAX-RPC compliant SOAP engine. You can find a number of open source tools for Axis/WSS4J that plug into Eclipse/WSAD. Systinet Server has a built-in WS-Security provider, and it also provides an Eclipse plug-in.

If you prefer to stay with the WAS 5.0 native SOAP engine, then you might do better by using an intermediary. Apache Synapse (http://incubator.apache.org/synapse) is an open source intermediary, and it can work with WSS4J -- but be warned that the code is still very early stage (as of January 2006). You can also use a variety of commercial products from web services management vendors such as Amberpoint, Blue Titan, SOA Software, and Sonic Software (Actional). Or you can use a hardware-based XML Gateway (an appliance) from vendors such as IBM/DataPower, Forum Systems, Layer 7, and Reactivity.


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


RELATED CONTENT
SOA governance and standards
SOA policy management
Service reuse rules
WSDM lagging behind WS-Management
The status of JBI
WSDL 1.1 vs. WSDL 2.0
SOA's role in centralized data dictionary for messages in WSDLs
Enabling SOA integration
WSDL parsers
WSDL technology
SOAP and WSDL work together

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



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

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