Hi, May not answer your question directly, but I suggest you should use servicemix-cxf-bc component to handle any soap related request.
Btw, if you start a new project, you should use camel components other than JBI components. Freeman ------------- Freeman Fang FuseSource Email:[email protected] Web: fusesource.com Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-8-18, at 下午7:46, sgomezsaez wrote: > Hi, > I've made a http soap consumer and a http soap provider. I'm invoking the > consumer user the soap ui and the provider is invoking an echo service > deployed in tomcat. The echo service has been tested and works fine. I've > monitored the request to tomcat and the response from tomcat using wirshark > and the request from the http soap provider looks fine, and tomcat sends > back an http 202 response. But the servicemix is returning to the invocation > from the soap ui to the soap consumer a > org.apache.servicemix.soap.api.Fault: com.ctc.wstx.exc.WstxIOException: > Stream closed. I've tried to find this error but couldn't. The http provider > has a marshaler which just sets the soap version value to 1.1. The > configuration of the bean is: > > <http:soap-consumer service="tx:httpSoapConsumer1" > endpoint="TaxiProviderHttpSoapConsumerEndpoint1" > targetService="tx:EchoService" > targetEndpoint="EchoServiceSOAPEndpoint1" > targetOperation="tx:taxiRequest" > wsdl="classpath:service_consumer.wsdl" > locationURI="http://0.0.0.0:8192/service/taxiRequestEndpoint1" > soapVersion="1.1" > /> > > <http:soap-provider service="tx:EchoService" > endpoint="EchoServiceSOAPEndpoint1" > wsdl="classpath:service_provider.wsdl" > interfaceName="EchoServicePortType" > > locationURI="http://109.231.86.210:8080/ESBPerformanceEchoService/services/EchoService/" > >> > <http:marshaler> > <bean > class="de.unistuttgart.iaas.soap.provider.MySoapMarshaler" /> > </http:marshaler> > </http:soap-provider> > > Cheers, > > Santiago Gomez > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Servicemix-4-3-0-org-apache-servicemix-soap-api-Fault-com-ctc-wstx-exc-WstxIOException-Stream-closed-tp5714168.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
