How can I change soap address in a JBoss 7 java webservice

后端 未结 3 733
忘掉有多难
忘掉有多难 2021-01-03 02:50

How can I change the soap address in a web service. I\'m working on JBoss 7.1.1.

I have this web service class:

@WebService
public class Card {

   @         


        
3条回答
  •  -上瘾入骨i
    2021-01-03 03:51

    If you need to deploy SOAP web services for public access e.g. via Apache you can remove in the standalone.xml this line: ${jboss.bind.address:127.0.0.1} at all.
    Then the host name will be taken over from the WSDL URL.
    In this case you do not need to change the configuration for every deployment stage. For example dev.myhost.com, qa.myhost.com or ww.myhost.com.

    This avoids also the problem with wrong SSL port 8443 for public services.

提交回复
热议问题