Hello,
Thanks to your modification. It's works better now.
But I have an other problem, I can't use the sm-http component with
in-out MEP.
I configured my xml file as follows :
<sm:activationSpec destinationService="foo:tracer">
<sm:component>
<http:component>
<http:endpoints>
<http:endpoint defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
service="aa:WS"
endpoint="myProvider"
role="provider"
locationURI="http://localhost:8080/axis/services/monWS?wsdl"
soap="true">
</http:endpoint>
</http:endpoints>
</http:component>
</sm:component>
</sm:activationSpec>
I want to call an extern webservice, send it the message and receive its
response but I receive no response (no text and no error). I try to put
the "destinationService" but no response is received. My webservice
works well and send a response (I can see it with tcpmon).
Is it possible to use the sm-http with in-out MEP ? and how configure
the component to send the response to an other component ?
Regards,
Pierre
//*******************************************************************************
Guillaume Nodet wrote:
I have just added the SOAPAction header.
However this is not yet configurable.
Raise a jira if you need it.
Cheers,
Guillaume Nodet
On 5/18/06, Pierre NOTEL <[EMAIL PROTECTED]> wrote:
Hello,
I'm using the servicemix-http component to send a soap request with
attachments to a webservice.
I configured the sm-http component as provider in my servicemix.xml.
The request is send but a 500 error is raised because "<faultstring>no
SOAPAction header!</faultstring>".
That's why I used tcpmon (axis tool) to catch the request and I put
manually the SOAPAction property (SOAPAction: ""). The request is
transmitted and the operation on my webservice can use the message and
the attachments.
I have seen in the soap specifications that "An HTTP client MUST use
this header field (SOAPAction) when issuing a SOAP HTTP Request.".
Is it possible to put this property ?
Does anyone know how I can specify the SOAPAction property ? in the xml
configuration file ?
Regards,
Pierre NOTEL