• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can we bind Axis2 web service with particular address of the machine  RSS feed

 
sandeepy yadav
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a web serive which is running on localhost. When I am creating client , it working fine.But when I deploy that service to remote machine & try to create client. It creates the client code (Stub & Handler classed.After that , when I test this web services, it throws an exception.
Connection time out error.

But deploying the WS on localhost & creating client working fine.


Can any body let me know the issue.



Thanks
Sandy
 
R Srini
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. When running on localhost, please look at the WSDL. It should have a wsdl:port tag, and an address tag inside it. The address tag should have the host and port. What is the address? If it is localhost and 8080 or something like that, then you may need to change the host name and port as needed. And your client will also need to connect to the remote host/port to access the service. Is this the problem?
 
Manju Sebastian
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best to check the connectivity first. type the url of the webservice on the remote machine, with '?wsdl'. If it shows the wsdl, you can go on using this wsdl file.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!