3 Replies Latest reply on Nov 16, 2009 5:10 AM by Sean O'Callaghan

    Overriding the URL in the wsdl

    Trent Albright Newbie

      In our setup Apache is proxying requests to fuse-esb:

       

      https://server/myService     ===>   http//server:8092/myService

       

      In short, the URL that fuse-esb (cxf) believes it to be bound to on the server side is correct, but from the client perspective it is wrong. I realize that the client can override the URL, but it would be nice if the WSDL returned  from:

       

      http//server:8092/myService/?wsdl

       

      Responded with a service section like this:

       

        <wsdl:service name="myService">

          <wsdl:port binding="tns:mySOAPBinding" name="soap">

            <soap:address location="https://server/myService/" />

          </wsdl:port>

        </wsdl:service>

       

      Instead of this:

       

        <wsdl:service name="myService">

          <wsdl:port binding="tns:mySOAPBinding" name="soap">

            <soap:address location="http://server:8092/myService/" />

          </wsdl:port>

        </wsdl:service>

       

      Does anyone know how to do this? I haven't yet been able to at least figure out which class is actually sending the wsdl back in response to the http//server:8092/myService/?wsdl request. Any ideas?