0 Replies Latest reply on Oct 13, 2010 4:58 PM by Mikael Beermann

    soap:address location rewrite

    Mikael Beermann Newbie

      I have a problem with the location attribute in the soap:address element in the wsdl. My web service accessed via a load balancer, i.e. the external address the user addresses the web service is not the same as the address of the server it is deployed to. I would like the address of the service in the WSDL to reflect the external address of the service.

      When using Metro the address is rewritten so the hostname et cetera is the same as currently is used accessing the wsdl. This does not semm to be the case with cxf. I don't want to hard code the address in the jbossws-cxf.xml either, becuase then it has to be rebuilt when we for instance want to move the server from test to production.

      Is there a solution for this?