-
1. Re: Using Global Endpoint while exposing a web-service using cxf
ffang Jun 25, 2013 8:22 PM (in response to tganesh5)Hi,
Yes, don't use localhost, use global ip address which could be accessed outside.
Freeman
-
2. Re: Using Global Endpoint while exposing a web-service using cxf
tganesh5 Jun 26, 2013 12:14 AM (in response to ffang)Is there a way to replace ip address by any hostname or global domain ?
-
3. Re: Using Global Endpoint while exposing a web-service using cxf
ffang Jun 26, 2013 12:39 AM (in response to tganesh5)Hi,
How you expose the cxf webservice? What transport you are using?
Freeman
-
4. Re: Using Global Endpoint while exposing a web-service using cxf
tganesh5 Jun 26, 2013 12:48 AM (in response to ffang)I am exposing using cxf like
<cxf:cxfEndpoint id="crMaster"
address="http://localhost:9080/facade/CRMasterService"
endpointName="s:CRMasterServicePort"
serviceName="s:CRMasterService"
wsdlURL="etc/sample.wsdl"
xmlns:s="http://crmaster.facade.ws.example.com/" >
Then i connect to camel-route using the id. I dont want to use localhost/ipaddress. I am using http message transport.
-
5. Re: Using Global Endpoint while exposing a web-service using cxf
ffang Jun 26, 2013 12:58 AM (in response to tganesh5)Hi,
Replace the localhost in address attribute with some hostname which your DNS server can understand outside.
Freeman
-
6. Re: Using Global Endpoint while exposing a web-service using cxf
willem.jiang Jul 8, 2013 2:38 AM (in response to tganesh5)BTW There is an publishEndpointUrl attribute you can use if you want to change the service address of the wsdl which is exposed by the cxfEndpoint.