1 Reply Latest reply on Jun 16, 2016 3:46 PM by josed.perez

    How to change the wsdl import in a JBoss 6.3 deployment?

    josed.perez

      I have a Web Service running on JBoss 6.3.0, as ypu can see i made a deployment, and that's my URL, but i'm having a problem, because all of the references on the web service are pointing to localhost instead of my server name. So when I try to use the web service remotely I can't see the java classes I need.

      JBoss Console.png

      In the next picture you can see the webserice URL with the references pointing to Localhost instead of my server blazesvr1.

      WebService.png

       

      I'm new to JBoss and I don't how to configure the web service to stop pointing to localhost and point to the server. The application is generated by Blaze Advisor, but I can access to deployment files and make changes in the code.

       

      Thanks in advance.

        • 1. Re: How to change the wsdl import in a JBoss 6.3 deployment?
          josed.perez

          Finally found the required configuration to fix the WebService URL, you just need to modify the standalone.xml, found in %JBOSS_HOME%\standalone\configuration\ then you have to locate the wsdl host line:

           

          <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>

           

          and change it to:

           

          <wsdl-host>${jboss.bind.address:SERVER_NAME}</wsdl-host>

           

          Then reload your server, and the WebService works fine remotely.

          1 of 1 people found this helpful