Thanks Freeman and Guillaume, Can I try with cxf bc provider and cxf bc consumer or http consumer?
I tried both, when I use cxf bc provider an consumer I couldn't deploy the SU because throws the following error: "No endpoints found" in org.apache.servicemix.common.xbean.AbstractXBeanDeployer E.g: the xbean.xml for the cxf-bc-su is: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:sm="http://servicemix.apache.org/config/1.0" xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" xmlns:tempuri="http://tempuri.org/"> <sm:container id="jbi" embedded="true"> <sm:endpoints> <cxfbc:consumer wsdl="http://test.intranet/webservices/hello.asmx?WSDL" service="tempuri:helloPF" endpoint="helloPFPort" targetEndpoint="helloPFPort" targetService="tempuri:helloPF" targetInterface="tempuri:helloPFSoap"> </cxfbc:consumer> <cxfbc:provider wsdl="http://test.intranet/webservices/hello.asmx?WSDL" locationURI="http://test.intranet/webservices/hello.asmx" service="tempuri:helloPF" endpoint="helloPFPort" interfaceName="tempuri:helloPFSoap"> </cxfbc:provider> </sm:endpoints> </sm:container> </beans> When I tried with cxf bc provider and http consumer throw a NullPointerException in org.apache.servicemix.cxfbc.CxfBcProvider becoause exchange.getOperation() is null! The xbean.xml for cxf-bc-su is: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" xmlns:tempuri="http://tempuri.org/"> <cxfbc:provider wsdl="http://test.intranet/webservices/hellopf.asmx?WSDL" locationURI="http://test.intranet/webservices/hellopf.asmx" service="tempuri:helloPF" endpoint="helloPFPortProxy" interfaceName="tempuri:helloPFSoap"/> </beans> The xbean.xml for http-su is: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://servicemix.apache.org/http/1.0servicemix-http.3.2.xsd" xmlns:tempuri="http://tempuri.org/" > <http:endpoint service="tempuri:helloPF" endpoint="soap" role="consumer" locationURI="http://0.0.0.0:8192/helloPF/" targetEndpoint="helloPFPortProxy" targetService="tempuri:helloPF"/> </beans> Thanks Esteban On Tue, Apr 1, 2008 at 3:30 AM, Freeman Fang <[EMAIL PROTECTED]> wrote: > 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 > > > > > > > > -- Esteban Forzani
