You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Guillaume Nodet <gn...@gmail.com> on 2008/04/01 08:22:01 UTC
Re: Take SOAPAction from client's request
The <http:endpoint/> does not really support it (note that SOAPAction is
kinda deprecated anyway), so I would advise you to use the servicemix-cxfbc
component instead.
On Mon, Mar 31, 2008 at 9:40 PM, Esteban Forzani <ef...@gmail.com> 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
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/