wood burning stoves 2.0*
The moose likes Web Services and the fly likes SOAPAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPAction " Watch "SOAPAction " New topic


S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
I am using Apache Axis 1.1 client, and the server is MS SOAP Server.
I want to know how to set SOAPAction. Previously I was using Apache SOAP instead of Axis. I need to port the old code to Axis.
Previously I was using Message.send(destinationURL, saopAction, messageEnvelope).
Is there any equivalent in Axis, or how to send the webservice call from Axis client to MS SOAP Server.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
If you're using the Call class, here's how you can set the SOAPAction header:

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
Thankyou verymuch Lasse Koskela.
I agree. Here's the link: http://aspose.com/file-tools
subject: SOAPAction
Similar Threads
Web Service client with SOAP attachment
Apache SOAP Client for .NET Web Service
Client AXIS Handler & XML Signature
Not able to invoke webservice
Logging SOAP Messages