• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Registering Client side SOAP handlers in AXIS

Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic