• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic