Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-11


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.