Hi Esteban, I can't reproduce your problem, please append your wsdl. Btw, are you using the latest 3.2.2 snapshot? Freeman
Esteban Forzani wrote:
Hello, I will explain my problem. This is my configuration files: CXF BC provider configuration: <cxfbc:provider wsdl="http://localhost:9091/myWebService.asmx?WSDL" locationURI="http://localhost:9091/myWebService.asmx" service="tempuri:myWebService" endpoint="myWebServiceSoap" useJBIWrapper="false"> </cxfbc:provider> HTTP BC consumer configuration: <http:endpoint service="tempuri:myWebServiceSOAP" endpoint="myWebServicePort" role="consumer" locationURI="http://0.0.0.0:8192/myWebService/" targetEndpoint="myWebServiceSoap" targetService="tempuri:myWebService" soap="true" soapVersion="1.1"/> I tested with the following scenario and it works fine: client -> http bc (consumer)-> http bc (provider)-> ASP web services with the following configration: <http:endpoint service="tempuri:myWebServiceHTTP" endpoint="myWebServiceHTTPPort" role="consumer" locationURI="http://0.0.0.0:8192/myWebServiceHTTP/" targetEndpoint="myWebServiceHTTPEndpoint" targetService="tempuri:myWebServiceHTTP" soap="true" soapVersion="1.1"/> <http:endpoint service="tempuri:myWebServiceHTTP" endpoint="myWebServiceHTTPEndpoint" role="provider" locationURI="http://localhost:9091/webservices/myWebService.asmx" soap="true" soapVersion="1.1" soapAction="http://tempuri.org/myWebServiceAction"/> The difference that I found is in the content's NormalizedMessage output (when when returns to the consumer). In the first case, the content is of the type javax.xml.transform.dom.DOMSource and doesn't work (duplicate the soap envelope). In the second, the content is org.apache.servicemix.jbi.jaxp.StaxSource and works fine (not duplicate). Does anyone has the same error describe above? Regards Esteban On Fri, Apr 25, 2008 at 11:50 AM, Esteban Forzani <[EMAIL PROTECTED]> wrote:Hi all. I have a proxy web services with http bc consumer and cxfbc provider (with useJBIWrapper="false"), e.g.: client -> http bc -> cxfbc -> ASP web services I have a problem with the response soap format The original response from the web services is: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> ..... </soap:Body> </soap:Envelope> but the response from de web service proxied is: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ "> <soapenv:Body> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ "> <soap:Body> ... </soap:Body> </soap:Envelope> </soapenv:Body> </soapenv:Envelope> The request is: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/"> <soapenv:Header/> <soapenv:Body> .... </soapenv:Body> </soapenv:Envelope> There is some special configuration to http bc consumer or cxfbc provider to save this problem. I use servicemix 3.2.2-SNAPSHOT. Thanks Best Regards -- Esteban
