IBM Support

Viewing deployed web services in SOAP Gateway administrative console when AT-TLS is used to manage secured connections

Product Documentation


Abstract

When the Application Transparent Transport Layer Security (AT-TLS) feature in IBM® z/OS Communications Server is used to manage secure connections to IBM IMS™ Enterprise Suite SOAP Gateway, you get "Connection Interrupted" instead of a list of web services when viewing deployed web services in the SOAP Gateway administrative console.

Content

Because AT-TLS runs on the transport layer and is application-transparent, the underlying JSP file used by the SOAP Gateway server to detect the protocol cannot properly detect the secure setup. The JSP file returns an incorrect protocol value, that is, HTTP instead of HTTPS, resulting in the connection interruption error.

Solution

Modify the httpbase.jsp file in <SOAP_Gateway_install>/imsserver/server/webapps/imssoap/axis2-web/include/ as shown in the following example. Instead of getting the communication scheme from the request, explicitly set the scheme to HTTPS. Use this technique only if you are using AT-TLS with SOAP Gateway.

 


public String calculateHttpBase(HttpServletRequest aRequest) {
  StringBuffer stringBuffer = new StringBuffer();
  if (frontendHostUrl != null) {
     stringBuffer.append(frontendHostUrl);
  } else {
     // commented out the following code
     //   String scheme = aRequest.getScheme();
     // Explicitly set the scheme to HTTPS
     String scheme = "https";
     stringBuffer.append(scheme);
     stringBuffer.append("://");
     stringBuffer.append(aRequest.getServerName());

...

[{"Product":{"code":"SSGMWY","label":"IBM IMS Enterprise Suite for z\/OS"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"SOAP Gateway","Platform":[{"code":"PF035","label":"z\/OS"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"2.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
14 March 2024

UID

swg27024607