Solved

deploy web service on server

Posted on 2014-03-01
7
343 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Question has a verified solution.

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

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

724 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