Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Error: no SOAPAction header!

 
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..
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic