This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Registering Client side SOAP handlers in AXIS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Registering Client side SOAP handlers in AXIS" Watch "Registering Client side SOAP handlers in AXIS" New topic
Author

Registering Client side SOAP handlers in AXIS

Anup Bansal
Ranch Hand

Joined: Sep 12, 2006
Posts: 69
Hi All,

I am developing a webservice client. I used WSDL2Java to genereate the client side stubs. I need to call a remote method getInfo() of the webservice. This method takes in parameters that form the Body part of the SOAP message.

I need to add header part to the SOAP message. I have read that I can use Message handlers to perform the same. These message handlers will intercept the SOAP messages when the service is invoked.

1. Is this correct?
2. If yes, how can I register the hendler classes? For the server side we have server.wsdd file. Is there any such file for the client or will I have to do it programatically?
3. I need to add the followinf attribute to the SOAP body. wsu:Id = "Body"
I am unable to add it at the time I invoke the service. Can I use handlers to achieve this as well? If yes, How?

Thanks & regards,
Anup
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Registering Client side SOAP handlers in AXIS
 
Similar Threads
SOAP Attachments in WLS 8.1 using Workshop 8.1
Help regarding web service security
sending attachments from server to client
Adding SOAP header to the SOAP message
Unable to invoke the message handlers of a webservice client from an EJB project