EAP 7 Soap address written as IP instead of hostname

Solution Verified - Updated -

Issue

  • If there a way to configure EAP 7.2 so that the the SOAP address is written as hostname (instead of IP address) in the WSDLs when wsdl-host is set to 0.0.0.0? This was the behaviour with EAP 6.4 which we need to restore with EAP 7.2. This has to be the hostname and does not work with the IP
<wsdl:service name="DocumentRouterWS">
    <wsdl:port binding="tns:DocumentRouterWSSoapBinding" name="DocumentRouterWSPort">
       <soap12:address location="http://storage100.ops:1809/integration_webservices/DocumentRouterWS"/>
   </wsdl:port>
</wsdl:service>

Subsystem config

        <subsystem xmlns="urn:jboss:domain:webservices:2.0">
            <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>
            <client-config name="Standard-Client-Config"/>
        </subsystem>
  • With EAP 7.2.4 soap adrdesses in WSDL read from EAP are written as IP adresses instead of hostnames as with EAP 6.4.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.3.x
    • 7.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content