Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • Last Modified:

deploy web service on server

Hi,

I have created a web service on my local machine through apache axis2.
The url is of localhost since server is on local machine itself.

Now i need to deploy this service in the server so that other users can access this service remotely.the server is on open ip.

How can i modify the web service created so that it can have a valid remote server url on which it is deployed instead of local host so that other users can access it.
0
Rocking
Asked:
Rocking
  • 4
  • 3
1 Solution
 
Amitkumar PSr. ConsultantCommented:
which web server are you using ? tomcat ?
0
 
RockingAuthor Commented:
tomcat 5
0
 
Amitkumar PSr. ConsultantCommented:
It's straight forward. Make a war file of your web service project and deploy it on remote server (similar to deploying a web application).

What's an issure  are you facing while doing so ?
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
RockingAuthor Commented:
if i deploy the war file on my tomcat server which has the ip xxx.xx.xx.xx then the url of the webservice would be http://xxxx.xx.xx.xx/webservcie


if i deploy it on a different server which has the ip yyy.yy.yy.yy then the url of teh web servcie would be http://yyy.yy.yy.yy/webservice


this is the issue i think will face if i deploy the webservice on another environment?
0
 
Amitkumar PSr. ConsultantCommented:
That is obvious and applicable to web applications also.

I think i misunderstood your question. Now i want to understand the exact requirement (with an example).

example like... what will be the hosts ? how do you want client to call web service (ie. which url) ? and so on.
0
 
RockingAuthor Commented:
hi,

Never mind i came across the below site and found the answer for my question.

http://www.theserverside.com/discussions/thread.tss?thread_id=37650
0
 
RockingAuthor Commented:
i found the answer doing googling
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now