3 Replies Latest reply on May 11, 2012 4:35 AM by Richard Opalka

    soap:address rewrite in 7.1.1. Final

    Pasqualino Imbemba Newbie

      Hi,

       

      I'd like to modify the <soap:address> element of my EJB3 based, generated WSDL on my localhost.

      I've found this guide link, but I don't understand what to do precisely.

       

      My subsystem looks like this (running standalone-full.xml):

       

       

      {code:xml}

      <subsystem xmlns="urn:jboss:domain:webservices:1.1">

                  <modify-wsdl-address>true</modify-wsdl-address>

                  <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>

                  <endpoint-config name="Standard-Endpoint-Config"/>

                  <endpoint-config name="Recording-Endpoint-Config">

                      <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">

                          <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>

                      </pre-handler-chain>

                  </endpoint-config>

              </subsystem>

      {code}

       

      Does this mean I just need to change the value in wsdl-host tag to change soap:address? I tried this

       

      {code:xml}

      <modify-wsdl-address>true</modify-wsdl-address>

                  <!--<wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>-->

                  <wsdl-host>http://10.159.45.107<wsdl-host>

      {code}

       

       

      but it didn't work.

       

      Thanks!