• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with webservice

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could use axis2 wsdl2java to generate client or for testing purpose use SOAP UI tool.
 
reply
    Bookmark Topic Watch Topic
  • New Topic