I am developing a web service with Eclipse. This service will be accessed from Android with ksoap2
.
I successfully tested the service on my local apache tomcat (http://localhost:8080/
) and now want to set this service up on a different server (i.e. http://giraffe/
).
The .wsdl
file generated by Eclipse contains the following line:
<wsdlsoap:address location="http://localhost:8080/AndroidService/services/AndroidService"/>
I guess this won't work out if I just add the .war
file to giraffe
and try to reach the service.
My question now is the following: What do I need to change in order to be able to use this service on a different server? Do I just have to change this address location
?
If you need me to post some of the code/files, just tell me.
My eclipse project structure looks like this:
You can replace http://localhost:8080
on wsdl with http://giraffe/
Are you facing any issue once you deploy on the server?