I am unable to access the CXF webservice with an IP address.
For eg. When I use : http://localhost:8090/MyService?wsdl , it works well.
But when it accessed from :http://192.168.5.5:8090/MyService?wsdl which is the IP of my machine , the firefox browser is unable to connect.
It is all irrespective of JDK versions as well as Operating Systems.
Did any one face this problem and can any one help me out ?
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.
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.