• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

capturing SOAP envelope in axis

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have a situation where i need to get the actual SOAP envelope (including the SOAP body ) before making a request. ie just before calling "call.invoke ( object )" in axis.

Is there any way to get the actual SOAP envelope request that is being sent?

I checked the APIs available for axis, but could not find any.

 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rishi Renjith wrote:Is there any way to get the actual SOAP envelope request that is being sent?


No, the SOAP envelope doesn't exist until the call is made. However you can write (and register) a handler that has access to the SOAP envelope.

Axis 1.x
org.apache.axis.handlers
org.apache.axis.Handler.invoke(org.apache.axis.MessageContext)
org.apache.axis.MessageContext

Axis2
org.apache.axis2.handlers
org.apache.axis2.engine.Handler.invoke(org.apache.axis2.context.MessageContext)
org.apache.axis2.context.MessageContext
Migrating from Apache Axis 1.x to Axis2: Custom Deployment of Services, Handlers, and Modules
 
reply
    Bookmark Topic Watch Topic
  • New Topic