Hi
I am trying to use servicemix-http to visit a website(e.g www.google.com), I
assume it should work.
I configured the xbean.xml as follows:
for consumer:
<http:endpoint service="test:httpListener"
endpoint="httpListenerEndpoint"
targetService="test:httpProvider"
role="consumer"
locationURI="http://0.0.0.0:8192/example/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
/>
and for provider:
<http:endpoint service="test:httpProvider"
endpoint="httpProviderEndpoint"
role="provider"
locationURI="http://www.google.com/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
/>
Then after hotdeploying them, I enter the URL http://localhost:8192/example/
into the web browser(Is it a too naive assumption?),and I expected there can
be a response from www.google.com...
But it presented like this:
HTTP ERROR: 404
Unable to find requested resource
RequestURI=/example/
Powered by Jetty://
I think this is a very straightforward example, so is there any conceptual
misunderstanding in it?
Thanks in advance!
--
View this message in context:
http://www.nabble.com/Can-I-use-servicemix-http-to-vist-website--tp18352895p18352895.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.