Solved

deploy web service on server

Posted on 2014-03-01
7
329 Views
Last Modified: 2014-03-12
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
Comment
Question by:Rocking
  • 4
  • 3
7 Comments
 
LVL 21

Expert Comment

by:Amitkumar Panchal
ID: 39899761
which web server are you using ? tomcat ?
0
 

Author Comment

by:Rocking
ID: 39902096
tomcat 5
0
 
LVL 21

Expert Comment

by:Amitkumar Panchal
ID: 39902419
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:Rocking
ID: 39903700
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
 
LVL 21

Expert Comment

by:Amitkumar Panchal
ID: 39903793
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
 

Accepted Solution

by:
Rocking earned 0 total points
ID: 39908023
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
 

Author Closing Comment

by:Rocking
ID: 39922901
i found the answer doing googling
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now