Can the Eclipse handle multiple Endevor web services STCs
search cancel

Can the Eclipse handle multiple Endevor web services STCs

book

Article ID: 130920

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin

Issue/Introduction

In the process of enabling Endevor Web Services and have noted the need for two different WSEWSSTC due to the fact that our Endevor configuration is split into two regions, each with a different loadlib and C1DEFLTS options table.

Will the Eclipse Plugin be able to recognize two separate regions, using WSEWSSTC and WSEWSST2 respectively?

Environment

Release: All supported versions

Resolution

Yes, you can have two spawn tasks with different loadlib and C1DEFTLS connecting to the same Tomcat server on the same port. 

In Eclipse create two different repository 

Repository Test1 
choose data source WSEWSSTC1 (WSEWSSTC1.cfg) 
 
 <?xml version="1.0"?>
 <DataSource xmlns="http://scm.ca.com/endevor/CFG"
              xmlns:cfg="http://scm.ca.endevor"
              Name="ENDEVOR"
              Status="Available"
              Message="ENDEVOR Web Service"
              Description="Endevor demo">
      <STC HostName="YOUR_ENF_SYSID"
           JobName="WSEWSSTC1"

Spawn task is WSEWSSTC1 

ENF spawn parameter has the following contents: 

WSEWSSTC1  SERVICE SERVER_NAME=MVS_START_SERVER,
                   DEALLOCATE=TERMINATE,
                   LOST_CLIENT=DEALLOCATE,
                   MAX#_SERVICES=500,
                   MAX#_CLIENTS=1,
                   MAX#_PROCESSES=500,
                   SERVICE_UNAVAILABLE=START_SERVICE,
                   START=SPAWN_ONLY,
                   SIGNON/NOPASSCHK=SERVICE
                   * SIGNON=SERVICE
                   PROCESS PROCESS_TYPE=MVS_STC,
                   PROCNAME=WSEWSSTC1 

Repository Test2 
choose data source WSEWSSTC2 (WSEWSSTC2.cfg)
 
<?xml version="1.0"?>
 <DataSource xmlns="http://scm.ca.com/endevor/CFG"
              xmlns:cfg="http://scm.ca.endevor"
              Name="ENDEVOR"
              Status="Available"
              Message="ENDEVOR Web Service"
              Description="Endevor demo">
      <STC HostName="YOUR_ENF_SYSID"
           JobName="WSEWSSTC2"
 
Spawn task is WSEWSSTC2 

ENF param has the label and PROCNAME= WSEWSSTC2 
WSEWSSTC2  SERVICE SERVER_NAME=MVS_START_SERVER,
                   DEALLOCATE=TERMINATE,
                   LOST_CLIENT=DEALLOCATE,
                   MAX#_SERVICES=500,
                   MAX#_CLIENTS=1,
                   MAX#_PROCESSES=500,
                   SERVICE_UNAVAILABLE=START_SERVICE,
                   START=SPAWN_ONLY,
                   SIGNON/NOPASSCHK=SERVICE
                   * SIGNON=SERVICE
                   PROCESS PROCESS_TYPE=MVS_STC,
                   PROCNAME=WSEWSSTC2