permaculture playing cards*
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 Android Security Essentials Live Lessons this week in the Android 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???
 
 
subject: Missing SOAPAction value in HTTP header !!!!
 
Similar Threads
javax.rpc.call problem
How to pass complex type parameter in web service while creating it through SAAJ
Use of SoapAction Attribute ?
how to set an attribute like SOAPAction in the Header?
soapAction in binding