0 Replies Latest reply on Dec 4, 2008 4:44 PM by Mangesh Phadnis

    JbossWS 2.0.3GA (Jboss 4.2.2) import location uses mismatche

    Mangesh Phadnis Newbie

      I have JBoss 4.2.2 running the 2.0.3.GA WS stack, fronted by apache on port 80, which is behind a load balancer doing ssl.

      so incoming requests, go from https at LB, http to apache and ajp to jboss

      In jboss-beans.xml, I have modifySOAPAddress set to true and I have defined the webServiceHost, webServiceSecurePort, webServicePort. The webservice class implementation is annotated with https

      The endpoint address and soap:address location come out as expected with https://HOST:443/

      However, the import location is generating the URL as http://HOST:443

      I suspect this is because it sees the incoming protocol as http and host header as HOST:443 and constructs the URL, rather than using attributes from jboss-beans.xml

      Is there a way to control what the import location will be?