[jboss-user] [JBossWS] - soap:address location using HOSTNAME rather than IP address

sagneta do-not-reply at jboss.com
Mon Jun 11 12:55:49 EDT 2007


 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,
Stephen







View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053199#4053199

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053199



More information about the jboss-user mailing list