-
1. Re: Problem with address parameter of cxfEndpoint tag
ffang Sep 29, 2010 5:25 AM (in response to larasith)Hi,
You mean
<cxf:cxfEndpoint id="nocsEndpoint" address="http://0.0.0.0:9003/NOC" serviceClass="com.abengoa.sim.nocs.ws.NocServiceWS" />
doesn't work for you?
use 0.0.0.0 should bind it to all available network interface from your machine, it should work when you use http://172.28.70.109:9003/TASKS?wsdl to access.
Freeman
-
2. Re: Problem with address parameter of cxfEndpoint tag
larasith Sep 29, 2010 7:02 AM (in response to ffang)Using
<cxf:cxfEndpoint id="nocsEndpoint" address="http://0.0.0.0:9003/NOC" serviceClass="com.abengoa.sim.nocs.ws.NocServiceWS" />
not work for me, whe a try to access
http://172.26.0.109:9003/TASKS?wsdl
i get the following error:
can?t connect to host
and if i try to access with
http://localhost:9003/TASKS?wsdl
it work fine.
-
3. Re: Problem with address parameter of cxfEndpoint tag
njiang Sep 29, 2010 10:16 PM (in response to larasith)Can you try to access the service from other machine with the url "http://172.26.0.109:9003/TASKS?wsdl" ?
If it works, you may need to check you network configure.
Willem
-
4. Re: Problem with address parameter of cxfEndpoint tag
larasith Sep 30, 2010 7:18 AM (in response to njiang)Thanks for your answer, the problem was a firewall rule of my enterprise in a 9003 port. I figured out when i changed to 8080 port and all work fine.
Regards