This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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???
 
Consider Paul's rocket mass heater.
 
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
how to set an attribute like SOAPAction in the Header?
Use of SoapAction Attribute ?
soapAction in binding