Hi Esteban,
You can try with cxf bc provider, which needn't specify soap action
explicitly in the xbean and abstract it dynamically from the message.
Regards
Freeman
Esteban Forzani wrote:
Hello,
I have a web service with 5 operations, each with a different SOAPAction.
I'm using the servicemix-http component (proxy) to send a soap request to
this webservice.
E.g.:
<http:endpoint service="WebServicesProxy-http-su:webServices"
endpoint="providerEndpoint"
role="provider"
locationURI="
http://test.example/webservices/webservices.asmx"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"
soapVersion="1.1"/>
The request is send to the ESB with the SOAPAction (E.g. SOAPAction:
operation1)
but the HTTP-BC set the SOAPAction with "".
I used the property soapAction in xbean.xml, but fixed me the operation to
the endpoint.
E.g.:
<http:endpoint service="WebServicesProxy-http-su:webServices"
endpoint="providerEndpoint"
role="provider"
locationURI="
http://test.example/webservices/webservices.asmx"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"
soapVersion="1.1"
soapAction="http://example.org/operation1"/>
Is it possible to put this property dynamically or take it from the client's
request ?
Regards,
Esteban