Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with webservice

 
jyoti mahajan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello frnds...

I have created web service and web service client on one PC thn it is working fine.

when i am trying to access the web service from live ip.i am able to create client whn i rum my client it show the following exception...

Ex javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://121.245.225.82:8080/Cal_Tom/CalWSService?wsdl. It failed with: Connection timed out: connect.

http://121.245.225.82:8080/Cal_Tom/CalWSService?wsdl

wsdl is working fine.

Regards

jyoti mahajan
 
shivendra tripathi
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is either with host IP or port, you are trying to connect. There should be some server listening on that address(host:port) for successful connection .
If above is not the case then could be firewall problem which might be stopping to create a socket.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you tried to access the web service using soapUI from the client machine?
If soapUI does not work, then perhaps there is some problem with firewall or such, as suggested in another post.
If soapUI works then there is a problem with your client.
Best wishes!
 
jyoti mahajan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web service : http://202.93.154.214/railtourismws5/services/EnquiryManager?wsdl which is working fine..
we test the operation it is working fine...
it is taking XML as input and gives output as XML.....
please let me know how to use it in my web service client...

Regards
Jyoti Mahajan
 
shivendra tripathi
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use axis2 wsdl2java to generate client or for testing purpose use SOAP UI tool.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic