IBM Support

Problem with soap:address location in the WSDL(If use IHS in front of WebSphere Application Server Community Edition 2.1.1.6 Server)

Troubleshooting


Problem

If put a IBM HTTP server or an Apache Http server in the front of WASCE to handle the request, the WSDL file which is generated by server will choose WASCE server's IP address and port number as it's soap:address location. It will expose WASCE server's information even it is not the developer desires.

Symptom

For example, if the request url is http://www.hostname.com/axis2/services/version?wsdl, the WSDL file will be generated like below.

<wsdl:service name="Version">
<wsdl:port name="VersionHttpSoap11Endpoint" binding="ns:VersionSoap11Binding">
<soap:address location="
//9.186.0.1:8080/axis2/services/Version.VersionHttpSoap11Endpoint"/>
</wsdl:port>
<wsdl:port name="VersionHttpSoap12Endpoint" binding="ns:VersionSoap12Binding">
<soap12:address location="
//9.186.0.1:8080/axis2/services/Version.VersionHttpSoap12Endpoint"/>
</wsdl:port>
<wsdl:port name="VersionHttpEndpoint" binding="ns:VersionHttpBinding">
<
http:address location="//9.186.0.1:8080/axis2/services/Version.VersionHttpEndpoint"/>
</wsdl:port>
</wsdl:service>

WASCE's IP address is 9.186.0.1, and it's port number is 8080.

[{"Product":{"code":"SS6JMN","label":"WebSphere Application Server Community Edition"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"AxisWebServices","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"2.1.1.6","Edition":"Entry;Enhanced;Elite","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
15 June 2018

UID

swg21682952