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.

Reply via email to