Hi,
I configured a http consumer and http provider with the following xbean.xmls
<http:consumer service="ex:httplistener"
endpoint="listenerEndpoint"
locationURI="http://0.0.0.0:8192/getInfo/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
targetService="ex:MyProviderService"
/>
<http:endpoint service="ex:MyProviderService"
endpoint="myProvider"
role="provider"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
locationURI="http://<host>:<port>/CheckOutService/checkout/"
soap = "false"/>
When I hit "http://0.0.0.0:8192/getInfo/" in the browser I get :
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col
{unknown-source}]: [1,0]
and in the ServiceMix console: I get
ERROR - HttpComponent - Error processing exchange InOut[
id: ID:127.0.1.1-1294c0c8c22-21:9
status: Active
role: provider
service: {http://www.servicemix.org/example}MyProviderService
endpoint: myProvider
in: Unable to display: org.xml.sax.SAXParseException: Premature end of
file.
A GET on the URL returns the following xml\
<checkout>
<product>Product 1</product>
</checkout>
What am I doing wrong?
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Unexpected-EOF-in-Prolog-servicemix-http-component-tp510157p510157.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.