You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by lekkie <le...@gmail.com> on 2009/12/07 17:32:01 UTC
Sending request to a remote webservice over http
I have the ffg as the content of my camelcontext.xml and I am trying to send
a request to a remote service.
<osgi:camelContext xmlns="http://camel.apache.org/schema/spring"
trace="true">
<route>
<from uri="nmr:nauRoute"/>
<to
uri="jbi:endpoint:http://tempuri.org/Service/ServiceSoap?mep=in-out&operation={http://tempuri.org/}GetDataInterswitch"
/>
</route>
Here is the config in my jbi xbean.xml
<cxfbc:provider wsdl="classpath:Service.wsdl"
locationURI="http://remoteip.com/Service.asmx"
service="nau:Service"
endpoint="ServiceSoap"
interfaceName="ServiceSoap"/>
<bean class="org.apache.servicemix.common.osgi.EndpointExporter" />
but when I send a request to this service this is all I see in my log:
17:24:50,316 | INFO | auRoute-thread-1 | ManagementEndpointRegistry |
ement.ManagementEndpointRegistry 56 | Registering endpoint:
org.apache.servicemix.nmr.core.InternalEndpointWrapper@e9541f4c with
properties {objectClass=[Ljava.lang.String;@1812b51, jbi.external=true,
javax.jbi.servicedesc.ServiceEndpoint=org.apache.servicemix.common.ExternalEndpoint@142f67d,
service.id=282, SERVICE_NAME={http://camel.apache.org/schema/jbi}provider,
NAME={http://camel.apache.org/schema/jbi}provider:ID:41.219.206.86-12569a4fe1a-4:0,
UNTARGETABLE=true, ENDPOINT_NAME=ID:41.219.206.86-12569a4fe1a-4:0}
pls kindly advise.
--
View this message in context: http://old.nabble.com/Sending-request-to-a-remote-webservice-over-http-tp26679812p26679812.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.