1 Reply Latest reply on Jan 3, 2007 8:30 PM by marcelvanvelzen

    WSDL remote address

    marcelvanvelzen

      Hi,

      I have made a Webservice using EJB 3.0 and I noticed that the wsdl file shown in the JBoss services list shows the machine name (localhost) in the soap address location.

      Correct me, if I am wrong, should this not be the remote IP address ? I am using InfoPath which uses the wsdl file and works perfectly on clients on the same network. However, I want to be able to access the service remotely using InfoPath. Using VB 2005 I tested the service remotely and this works ok.

      Which annotation can I use to make to specify the soap address location in the wsdl file ?

      Regards,

      Marcel

        • 1. Re: WSDL remote address
          marcelvanvelzen

          Found the solution:

          1) Unzip the file JBOSS_HOME/server/default/deploy/jbossws.sar/jbossws.beans

          2) Change the following contents in the file jboss-beans.xml
          <!-- ${jboss.bind.address} -->
          SERVERNAME

          3) Zip the file again (make sure the meta-inf directory is included)

          So, nothing to do with an annotation.