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

Error: no SOAPAction header!

swa rna

Joined: Oct 28, 2007
Posts: 5
I am trying to achive WS-AT(atomic transaction)in between Java and .net client using Websphere Application server v6.1. i am gettimg the WSWS3147E: Error: no SOAPAction header!..when i add the java wsdl(webservice) to .net as "service Reference".
While creating the dynamic proxy..its throwing this error.
Can any body suggest me where is the problem.

here is the java wsdl file.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl efinitions xmlns:wsdl="" xmlns:impl="http://ejb.test.hp" xmlns:intf="http://ejb.test.hp" xmlns:wsdlsoap="" xmlns:wsi="" xmlns:xsd="" targetNamespace="http://ejb.test.hp" xmlns:wsp=""
<schema targetNamespace="http://ejb.test.hp" xmlns="" xmlns:wsdl="" xmlns:xsd="">
<element name="postOrderResponse">
<element name="postOrderReturn" nillable="true" type="xsd:string"/>
<element name="postOrder">
<element name="orderNo" type="xsd:int"/>
<element name="desc" nillable="true" type="xsd:string"/>

<wsdl:message name="postOrderResponse">
<wsdl art element="intf ostOrderResponse" name="parameters"/>

<wsdl:message name="postOrderRequest">
<wsdl art element="intf ostOrder" name="parameters"/>

<wsdl ortType name="SampleEJB">
<wsdl peration name="postOrder">
<wsdl:input message="intf ostOrderRequest" name="postOrderRequest"/>
<wsdl utput message="intf ostOrderResponse" name="postOrderResponse"/>
</wsdl peration>

</wsdl ortType>
<wsdl:binding name="SampleEJBSoapBinding" type="intf:SampleEJB">
<wsdlsoap:binding style="document" transport=""/>

<wsdl peration name="postOrder">
<wsdlsoap peration soapAction="postOrder"/>

<wsdl:input name="postOrderRequest">
<wsdlsoap:body use="literal"/>

<wsdl utput name="postOrderResponse">
<wsdlsoap:body use="literal"/>
</wsdl utput>

</wsdl peration>
<wsdl:service name="SampleEJBService">
<wsdl ort binding="intf:SampleEJBSoapBinding" name="SampleEJB">
<wsdlsoap:address location="http://localhost:9081/DynamicWeb/services/SampleEJB"/>
</wsdl ort>
</wsdl efinitions>


WebServicesSe E getSoapAction WSWS3112E: Error: Generating WebServicesFault due to missing SOAPAction.
faultCode: Client.NoSOAPAction
faultString: WSWS3147E: Error: no SOAPAction header!
faultActor: null

WSWS3147E: Error: no SOAPAction header!
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(

please guide me..where is the probelm..
I agree. Here's the link:
subject: Error: no SOAPAction header!
It's not a secret anymore!