This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
soapAction in binding
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?