wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPAction " Watch "SOAPAction " New topic
Author

SOAPAction

S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
Hi,
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.
Regards,
Ganapathy,S
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.
Regards,
Ganapathy,S
 
wood burning stoves
 
subject: SOAPAction
 
Similar Threads
Web Service client with SOAP attachment
Not able to invoke webservice
Apache SOAP Client for .NET Web Service
Client AXIS Handler & XML Signature
Logging SOAP Messages