Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error: no SOAPAction header!

 
swa rna
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii
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="http://schemas.xmlsoap.org/wsdl/" xmlns:impl="http://ejb.test.hp" xmlns:intf="http://ejb.test.hp" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ejb.test.hp" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
<wsdl:types>
<schema targetNamespace="http://ejb.test.hp" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<element name="postOrderResponse">
<complexType>
<sequence>
<element name="postOrderReturn" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="postOrder">
<complexType>
<sequence>
<element name="orderNo" type="xsd:int"/>
<element name="desc" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>

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

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

<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="http://schemas.xmlsoap.org/soap/http"/>

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

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

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

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

console:

WebServicesSe E com.ibm.ws.webservices.engine.transport.http.WebServicesServlet getSoapAction WSWS3112E: Error: Generating WebServicesFault due to missing SOAPAction.
WebServicesFault
faultCode: Client.NoSOAPAction
faultString: WSWS3147E: Error: no SOAPAction header!
faultActor: null
faultDetail:

WSWS3147E: Error: no SOAPAction header!
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.getSoapAction(WebServicesServlet.java:1389)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:720)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)

please guide me..where is the probelm..
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!