-
1. Re: Unable to access CXF Web Services with IP address.
ffang Nov 10, 2010 7:34 AM (in response to mitul1411)Hi,
How you publish your webservice?
If you wanna the webservice bind all available network interface in your machine, you should publish your webservice with address http://0.0.0.0:port/servicename...
Freeman
-
2. Re: Unable to access CXF Web Services with IP address.
mitul1411 Nov 11, 2010 12:24 AM (in response to ffang)Hi ,
I am using cxf-se and cxf-bc with JBI inside FUSE ESB.
I could not find suitable document to publish the web service.
Can you please help me out with it ?
-
3. Re: Unable to access CXF Web Services with IP address.
ffang Nov 11, 2010 12:39 AM (in response to mitul1411)Hi,
You can specify it in wsdl, soap:address part,
or add locationURI attribute to cxf bc consumer endpoint configuration.
Freeman
-
4. Re: Unable to access CXF Web Services with IP address.
mitul1411 Nov 11, 2010 1:37 AM (in response to ffang)Yes . I did override using locationUri attribute in the CXF-BC Consumer.
I could access the url from the firefox browser with http://0.0.0.0:8090/myService?wsdl
But I still could not do so with http://192.168.5.5:8090/myService?wsdl.
-
5. Re: Unable to access CXF Web Services with IP address.
ffang Nov 11, 2010 1:53 AM (in response to mitul1411)Hi,
It should be locationURI but not locationUri.
And are you sure you can access from
http://0.0.0.0:8090/myService?wsdl ?
Could you also check the network configuration(like firewall, hosts) on your machine, could you access other network services on your machine with ip 192.168.5.5?
Freeman
-
6. Re: Unable to access CXF Web Services with IP address.
mitul1411 Nov 11, 2010 2:08 AM (in response to ffang)Hi ,
Ya , it is localtionURI. Sorry for the typo error.
I can access the tomcat from the http://192.168.5.5:8080.
Now I even tried specifying an address http://192.168.5.5:8090/myService in the locationURI . But does not work either.
-
7. Re: Unable to access CXF Web Services with IP address.
mitul1411 Nov 11, 2010 2:09 AM (in response to mitul1411)I doubt whether it is a Jetty-related problem.
-
8. Re: Unable to access CXF Web Services with IP address.
ffang Nov 11, 2010 2:17 AM (in response to mitul1411)Hi,
What's the exact FUSE ESB version you're using?
Freeman
-
9. Re: Unable to access CXF Web Services with IP address.
mitul1411 Nov 11, 2010 2:20 AM (in response to ffang)Hi ,
I am using FUSE 4.2.0-02-00 .
The jetty version is : Apache ServiceMix Bundles: jetty-6.1.22 (6.1.22.1)
-
10. Re: Unable to access CXF Web Services with IP address.
ffang Nov 11, 2010 2:28 AM (in response to mitul1411)Hi,
Could you please test with latest released fuse esb 4.3.0-fuse-02-00?
Freeman
-
11. Re: Unable to access CXF Web Services with IP address.
mitul1411 Dec 14, 2010 2:00 AM (in response to ffang)Hi ,
I was not planning to migrate to this version , but now that I have , the same is the case.
Any other alternative or fix to the problem ?
-
12. Re: Unable to access CXF Web Services with IP address.
mitul1411 Dec 14, 2010 2:26 AM (in response to ffang)Hi ,
I got it working now.
The reason it was not working is :
I wrote "http://0.0.0.0:8090/myService?wsdl" in both address tag's location attribute as well as in the locationURI tag of cxf bc consumer as well.
Thanks for all your help.