4 Replies Latest reply on Jun 15, 2007 11:07 AM by Stephen Agneta

    soap:address location using HOSTNAME rather than IP address

    Stephen Agneta Newbie

      Currently I am using JBoss 4.0.4 and using @WebMethod on EJB 2.0 Session Beans to provide SOAP access to various public methods. Everything works fine except that the soap:address location URL contains the actual hostname rather than the IP address. I unfortunately require the IP address as many customers lack decent DNS support, sometimes for security reason.

      In any event, JBoss produces WSDL with the following snippet at the end:

      <soap:address location="http://sagneta-bos:8080/ws/TestLogin" />

      Notice the sagneta-bos hostname? I need that to be an IP address. I cannot determine from the documentation how to make the JBoss server produce a WSDL XML document that produces an address location URL that uses the IP address rather than the HOST name. It appears that jboss.bind.address is always used.

      Any help would be appreciated.

      Thank you,