DE WebService address is not filled up automatically when using HTTPs Link,
search cancel

DE WebService address is not filled up automatically when using HTTPs Link,

book

Article ID: 410092

calendar_today

Updated On:

Products

ESP dSeries Workload Automation

Issue/Introduction

Issue is, Address is not filled up automatically when HTTPs Link used, but when HTTP WSDL URL is used, address works

Environment

DE Webservices 12.3 or above

DE Scheduler 12.3 or above

Cause

The HTTPS ports need to be enabled in Apache Tomcat axis.xml

Resolution

1. Get HTTP and HTTPS Ports for server.xml.  Default are 443 and 8443. 

Open the server.xml file located at:

<CAWAWebServicesInstallLocation>/apache-tomcat/conf

Note down the values for httpport and httpsport

2. Update axis2.xml

Open the axis2.xml file located at:

<CAWAWebServicesInstallLocation>/apache-tomcat/webapps/axis2/WEB-INF/conf

Add Frontend URL Parameter under the Parameter Section, add the following line :

<parameter name="httpFrontendHostUrl">https://<hostname>:<httpsport>/axis2</parameter>

Note: Put actual hostname and port for <hostname>:<httpsport> in above

Next, modify Transport Receivers.  Search for the following lines:

<!-- Transport Ins -->
<transportReceiver name="http"
class="org.apache.axis2.transport.http.AxisServletListener"/>

Change above to this configuration:

<!-- Transport Ins -->
<transportReceiver name="http"
class="org.apache.axis2.transport.http.AxisServletListener">
<parameter name="port" locked="false"><httpport></parameter>
</transportReceiver>

<transportReceiver name="https"
class="org.apache.axis2.transport.http.AxisServletListener">
<parameter name="port"><httpsport></parameter>
</transportReceiver>

Make sure that the <hostname>, <httpport>, and <httpsport> values match the settings of actual host.

Restart DE Web Services and test.