0
votes

I have developed a SOAP webservice in mule, which has the endpoint configured as say

for e.g. http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:7001/helloService" doc:name="HTTP"

It is deployed as a WAR file in tomcat server. Am able to access the wsdl from my local desktop like this - endpoint?wsdl and works perfectly fine.

How can I access this when deployed in a remote server? What endpoint should it be given? Can it contain localhost and port as it is?

Do I need to refer the context path of the web app? Its a little bit confusing...Can someone help pls?

1
When deploying in a JavaEE web container, use servlet inbound endpoints, not http ones, otherwise you start a second web server! Better use the one provided by the JavaEE container. - David Dossot

1 Answers

0
votes

You're binding to localhost so it'll only work on the machine it's running. You can bind to all interfaces using 0.0.0.0 and the access it remotely using the machine's IP address or domain name.