File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Missing SOAPAction value in HTTP header !!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Missing SOAPAction value in HTTP header !!!!" Watch "Missing SOAPAction value in HTTP header !!!!" New topic
Author

Missing SOAPAction value in HTTP header !!!!

sawal lubis
Greenhorn

Joined: Dec 28, 2007
Posts: 4
my web service need SOAPAction in my SOAPMessage request from my client.
So i add this code in my client for adding the SOAPAction. Here is :
------------------
SOAPMessage soapMessage = null;
...
soapMessage = MessageFactory.newInstance().createMessage();
soapMessage.getMimeHeaders().setHeader("SOAPAction",
"http://tempuri.org/GetComInfo");
...
------------------
And then i run my client n i get the following problem, it doesn't show up in the request.
The HTTP header section contains only
----------------
SOAPAction: ""
----------------

Anyone can help me in my problem???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Missing SOAPAction value in HTTP header !!!!