You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jc_s <Je...@sesam-vitale.fr> on 2009/09/25 12:50:06 UTC

servicemix-http # basic HTTP exchange # Stream closed

Hello,

I am beginner with smx 3.3.1. 

I try to expose a simple http resource under smx.  
 webrowser ->  smx/http:consumer -> smx/http:provider -> resource HTTP under
server

I think this is basic use of esb but i have this log message : "Unable to
display: java.io.IOException: Stream closed"

I read a lot of forum message on the subject but I can't extract simple
solution for this basic issue.

My servicemixhttp configuration : 
##############
  <http:consumer service="sws:ConsumerService"
               endpoint="jbi"
               targetService="protoesb:ProviderService"
               targetEndpoint="ep"
               locationURI="http://localhost:8090/allservices"
               defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
               />

	<http:provider service="protoesb:ProviderService"
               endpoint="ep"
               locationURI="http://localhost:8088/HR/services"/>
##############


The sysout result when access http://localhost:8090/allservices : 
##############
12:32:04,170 ERROR - HttpComponent                  - Error processing
exchange InOut[
  id: ID:172.24.193.127-123f0c0d334-8:1
  status: Active
  role: provider
  service: {http://partun.spesb.sv.fr/}ProviderService
  endpoint: ep
  in: Unable to display: java.io.IOException: Stream closed
]
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
Premature end of file.
        at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
        at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toResult(SourceTransformer.java:125)
        at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toResult(SourceTransformer.java:103)
...
##############


Thanks in advance for your help.


-- 
View this message in context: http://www.nabble.com/servicemix-http---basic-HTTP-exchange---Stream-closed-tp25609980p25609980.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.