i am getting an exception, when i call a .net webservices from mule.
javax.xml.ws.soap.SOAPFaultException: WSE012: The input was not a valid SOAP
message because the following header is missing: SOAPAction.
Can anyone please let me know, what would be the cause and how to add the
SOAPAction. Some samples would be helpful for me. Thanks in advance.
javax.xml.ws.soap.SOAPFaultException: WSE012: The input was not a valid SOAP
message because the following header is mis
sing: SOAPAction.
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:218)
at $Proxy38.loginSendToHostAndClose(Unknown Source)
at
com.emirates.ngcs.ws.flight.inventory.FlightInventoryWSImpl.getFlightInventory(FlightInventoryWSImpl.java:110
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.mule.model.resolvers.AbstractEntryPointResolver.invokeMethod(AbstractEntryPointResolver.java:147)
at
org.mule.model.resolvers.MethodHeaderPropertyEntryPointResolver.invoke(MethodHeaderPropertyEntryPointResolver
.java:106)
at
org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
at
org.mule.component.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:202)
at
org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:82)
at
org.mule.component.AbstractJavaComponent.doOnCall(AbstractJavaComponent.java:73)
at
org.mule.component.AbstractComponent.onCall(AbstractComponent.java:87)
at org.mule.model.seda.SedaService.doSend(SedaService.java:234)
at
org.mule.service.AbstractService.sendEvent(AbstractService.java:510)
at
org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:351)
at
org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:196)
at
org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:164)
at
org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.j
ava:604)
Thanks & Regards
Jawahar
--
View this message in context: http://www.nabble.com/Exception-Missing-SOAPAction-on-Call-.net-webservices-tp22559071p22559071.html
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
<wsdl:binding name="SomeBinding" type="tns:SomePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="someOperation">
<soap:operation soapAction="someOperation" style="document"/>
I have to call a .net webservice. So i configured the in-bound endpoint in the mule configuration and in my implementation class i wrote a code to call the .net webservice. I have not configured .net webservice url in outbound endpoint.
I am getting a error SOAPAction is missing, can any one please let me know how to proceed further??
Regards
Jawahar
If you're invoking the .Net webservice from within code and are getting that
error message, then this is nothing to do with Mule and everything to do
with your Java code that invokes the web service. Sounds like you're not
setting the SOAP action attribute but without code/config I can't be sure.
HTH
A
Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
email: antoin...@ricston.com | blog: blog.ricston.com | web: ricston.com