aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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 !!!!
 
Similar Threads
Use of SoapAction Attribute ?
javax.rpc.call problem
How to pass complex type parameter in web service while creating it through SAAJ
how to set an attribute like SOAPAction in the Header?
soapAction in binding