2 Replies Latest reply on Mar 26, 2008 4:05 AM by Foong Kim

    EndPoint problems.. please help

    Foong Kim Newbie

      hi, i have this Web Service pojo which using annotation method.

      After i have deploy to my production server (IP:182.123.1.10) and the endpoint display like this
      http://localhost.localdomain:8080/myWebApp/myWebServicemethod

      the host name part [localhost.localdomain] seems is not right.. and i want to change it.. how can i do that??

      I have search all the configuration file in my jBoss 4.2 and i couldn't find any related tag to modify this.

      If i go to http://182.123.1.10:8080/jbossws/ under the "Access JMX VIew" - JBoss Server - Web Service,

      i can see the exact value for host which is "localhost.localdomain" and i can not change it..

      please help.

        • 1. Re: EndPoint problems.. please help
          Alessio Soldano Master

          From the jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml

          <!--
           The WSDL, that is a required deployment artifact for an endpoint, has a <soap:address>
           element which points to the location of the endpoint. JBoss supports rewriting of that SOAP address.
          
           If the content of <soap:address> is a valid URL, JBossWS will not rewrite it unless 'modifySOAPAddress' is true.
           If the content of <soap:address> is not a valid URL, JBossWS will rewrite it using the attribute values given below.
          
           If 'webServiceHost' is not set, JBossWS uses requesters protocol host when rewriting the <soap:address>.
           -->
           <property name="webServiceHost">${jboss.bind.address}</property>
           <property name="modifySOAPAddress">true</property>
          
           <!--
           Set these properties to explicitly define the ports that will be used for rewriting the SOAP address.
           Otherwise the ports will be identified by querying the list of installed connectors.
           If multiple connectors are found the port of the first connector is used.
           <property name="webServiceSecurePort">8443</property>
           <property name="webServicePort">8080</property>
           -->
          
          


          • 2. Re: EndPoint problems.. please help
            Foong Kim Newbie

            got it.....

            thank you so much!