This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes WS-Addressing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Web Services
Bookmark "WS-Addressing" Watch "WS-Addressing" New topic


Ravikanth Reddy Bapathi

Joined: Apr 13, 2007
Posts: 29
Can anyone help me How to enable addressing headers for SOAP Request using axis2.
I need to make addressing headers mandatory for any soap request.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Disclaimer: I don't know much about Axis 2, but I am going to try to answer your question anyway.

Correct me if I am wrong, but adding the necessary information to the WSDL of your web service should be enough.
The following is the WSDL of a "Hello World" like web service with WS-Addressing enabled. Check the two comments for where WS-Addressing were inserted.

Best wishes!
I agree. Here's the link:
subject: WS-Addressing
It's not a secret anymore!