7 Replies Latest reply on Apr 7, 2011 4:34 AM by jaikiran

    Change soap:address in JBoss AS 6 (M4)

    franky_b

      Hi guys,

       

      I have an EJB with a @WebService annotation. The Web Service deploys fine and JBoss AS 6 M4 generates a WSDL for it. However, I need to change the soap:address location in this WSDL. The default is

       

      soap:address location="http://localhost:8080/module/MyBean

       

      In my case, it must be something like

       

      soap:address location="https://myserver.com/module/MyBean

       

      I already figured out that it is possible to modify the host by setting the webServiceHost property in deployers/jbossws.deployer/META-INF/stack-agnostic-jboss-beans.xml. So I now have

       

      soap:address location="http://myserver.com:8080/module/MyBean

       

      But I am still unable to change the protocol (from http to https) and to remove the :8080 port setting.

       

      Does anyone know how to do this?

       

      Cheers,
      Frank