Deploy WSDL/WSBIND files using Endevor

Document ID : KB000103295
Last Modified Date : 25/06/2018
Show Technical Document Details
Question:
Can we use Endevor to deploy WSDL/WSBIND files ? 
WSDL/WSBIND are commonly used by CICS web services.
Do you have a sample processor group to process them?
Answer:
Yes, you can manage WSDL/WSBIND files within Endevor and process them with the following processor GWSDL sample:

//*********************************************************************
//*                C I C S   W E B   S E R V I C E S                  *
//*-------------------------------------------------------------------*
//*                                                                   *
//*   GENERATE PROC - CREATE WSDL AND WSBIND OUTPUTS FOR CICS.        *
//*                                                                   *
//*********************************************************************
//GWSDL    PROC HLQ='&C1SY(1,3)',
//              LISTLIB='&HLQ..&C1EN&C1STGID..LISTING',
//              MEMBER='&C1ELEMENT',
//              OUTLIB='&O&C1TY(1,7,#)',
//               OWSDL###='&HLQ..&C1EN&C1SI..WSDL',
//              USSHLQ='/DET5/endevor',
//              USSTMP='/DET5/endevor/tmp',
//              SRCENV='/&C1SENVMNT.&C1S#',
//              USSBIND='&USSHLQ&SRCENV/&C1SY/&C1SU/WSBIND',
//              USSWSDL='&USSHLQ&SRCENV/&C1SY/&C1SU/WSDL',
//              SYSOUT='*',
//              WRKUNIT='SYSDA'
//*
//*-------------------------------------------------------------------*
//*       ALLOCATE TEMPORARY LISTING FILES.                           *
//*-------------------------------------------------------------------*
//*
//INITLIST EXEC PGM=BC1PDSIN,MAXRC=0
//C1INIT01 DD DSN=&&GENLIST1,DISP=(NEW,PASS,DELETE),
//             UNIT=&WRKUNIT,SPACE=(CYL,(1,1)),
//             DCB=(RECFM=VB,LRECL=1024,BLKSIZE=1029,DSORG=PS)
//C1INIT02 DD DSN=&&GENLIST2,DISP=(NEW,PASS,DELETE),
//             UNIT=&WRKUNIT,SPACE=(CYL,(1,1)),
//             DCB=(RECFM=VB,LRECL=1024,BLKSIZE=1029,DSORG=PS)
//*
//*-------------------------------------------------------------------*
//*       WRITE TO THE OUTPUT PDS.                                    *
//*-------------------------------------------------------------------*
//*
//WRITEPDS EXEC PGM=CONWRITE,MAXRC=0,COND=(0,LT),PARM='EXPINCL(N)'
//PDSOUT   DD DSN=&OUTLIB(&MEMBER),DISP=OLD,FOOTPRNT=CREATE,
//             MONITOR=COMPONENTS
//*
//*-------------------------------------------------------------------*
//*       COPY STATIC VALUES WITH SYMBOLICS TO TEMPORARY FILE.        *
//*-------------------------------------------------------------------*
//*
//COPYSTAT EXEC PGM=IEBGENER,MAXRC=4,COND=(0,LT)
//SYSIN    DD DUMMY
//SYSUT1   DD *
LOGFILE=&USSTMP/WSBIND/&C1ELEMENT..log
WSBIND=&USSTMP/WSBIND/&C1ELEMENT..wsbind
WSDL=&USSTMP/WSDL/&C1ELEMENT..wsdl
PGMNAME=&C1ELEMENT
PDSLIB=//&C1SY..&C1EN&C1S#..CPYLIB
/*
//SYSUT2   DD DSN=&&PARMTEMP,DISP=(NEW,PASS,DELETE),
//             UNIT=&WRKUNIT,SPACE=(CYL,(1,1)),
//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PS)
//SYSPRINT DD DUMMY
//*
//*-------------------------------------------------------------------*
//*       COPY PARAMETERS REQURIED FOR BPXBATCH.                      *
//*-------------------------------------------------------------------*
//*
//COPYPARM EXEC PGM=IEBGENER,MAXRC=4,COND=(4,LT)
//SYSIN    DD DUMMY
//SYSUT1   DD DSN=&&PARMTEMP,DISP=(OLD,DELETE)
//         DD DSN=&OUTLIB(&MEMBER),DISP=OLD
//SYSUT2   DD PATH='&USSTMP/LS2WS.in',
//            PATHOPTS=(OWRONLY,OCREAT),
//            PATHMODE=(SIRWXU,SIRWXG,SIROTH,SIXOTH),
//            DCB=(RECFM=VB,LRECL=137,BLKSIZE=32760),
//            FILEDATA=TEXT
//SYSPRINT DD DUMMY
//*
//*-------------------------------------------------------------------*
//*       INVOKE BPXBATCH TO CREATE WSDL AND WSBIND FILES IN USS.     *
//*-------------------------------------------------------------------*
//*
//JAVA     EXEC PGM=BPXBATCH,MAXRC=4,COND=(4,LT)
//STDPARM  DD *
sh
/usr/lpp/cicsts51/cicsts/cicsts51/lib/wsdl/DFHLS2WS
java/J7.1_64 cicsts51 /DET5/endevor/tmp/LS2WS :
/*
//STDOUT   DD PATH='&USSTMP/LS2WS.out',
//            PATHOPTS=(OWRONLY,OCREAT),
//            PATHMODE=(SIRWXU,SIRWXG,SIROTH,SIXOTH),
//            DCB=(RECFM=VB,LRECL=1024,BLKSIZE=32760),
//            FILEDATA=TEXT
//STDERR   DD PATH='&USSTMP/LS2WS.err',
//            PATHOPTS=(OWRONLY,OCREAT,OTRUNC),PATHMODE=SIRWXU,
//            DCB=(RECFM=VB,LRECL=1024,BLKSIZE=32760),
//            FILEDATA=TEXT
//*
//*-------------------------------------------------------------------*
//*       COPY OUT THE ERROR MESSAGES AND LOG.                        *
//*-------------------------------------------------------------------*
//*
//COPYOUT  EXEC PGM=IEBGENER,COND=EVEN
//SYSIN    DD DUMMY
//SYSUT1   DD PATH='&USSTMP/LS2WS.out',PATHDISP=DELETE,
//            PATHOPTS=(OWRONLY,OCREAT),
//            PATHMODE=(SIRWXU,SIRWXG,SIROTH,SIXOTH),
//            FILEDATA=TEXT,
//            DCB=(RECFM=VB,LRECL=1024,BLKSIZE=32760)
//SYSUT2   DD DSN=&&GENLIST1,DISP=(OLD,PASS)
//SYSPRINT DD DUMMY
//*
//COPYERR  EXEC PGM=IEBGENER,COND=EVEN
//SYSIN    DD DUMMY
//SYSUT1   DD PATH='&USSTMP/LS2WS.err',PATHDISP=DELETE,
//            PATHOPTS=(OWRONLY,OCREAT),
//            PATHMODE=(SIRWXU,SIRWXG,SIROTH,SIXOTH),
//            FILEDATA=TEXT,
//            DCB=(RECFM=VB,LRECL=1024,BLKSIZE=32760)
//SYSUT2   DD DSN=&&GENLIST2,DISP=(OLD,PASS)
//SYSPRINT DD DUMMY
//*
//*-------------------------------------------------------------------*
//*       COPY THE OUTPUTS FROM /tmp.                                 *
//*-------------------------------------------------------------------*
//*
//COPYBIND EXEC PGM=ENUSSUTL,MAXRC=0,COND=(4,LT)
//INBIND   DD PATH='&USSTMP/WSBIND'
//OUTBIND  DD PATH=&USSBIND,
//            PATHMODE=(SIRWXU,SIRWXG,SIROTH,SIXOTH)
//INWSDL   DD PATH='&USSTMP/WSDL'
//OUTWSDL  DD PATH=&USSWSDL,
//            PATHMODE=(SIRWXU,SIRWXG,SIROTH,SIXOTH)
//SYSOUT   DD SYSOUT=&SYSOUT,FREE=CLOSE
//ENUSSIN  DD *
  COPY INDD 'INBIND'  OUTDD 'OUTBIND' .
  SELECT FILE '&C1ELEMENT..log' .
  SELECT FILE '&C1ELEMENT..wsbind' .
  COPY INDD 'INWSDL'  OUTDD 'OUTWSDL' .
  SELECT FILE '&C1ELEMENT..wsdl' .
/*
//*
//*-------------------------------------------------------------------*
//*       STORE THE LISTINGS.                                         *
//*-------------------------------------------------------------------*
//*
//STORELST EXEC PGM=CONLIST,MAXRC=0,COND=EVEN,
//         PARM='STORE.MBR(&C1ELEMENT.#W)'
//C1LLIBO  DD DSN=&LISTLIB,DISP=SHR,MONITOR=COMPONENTS
//C1BANNER DD UNIT=&WRKUNIT,SPACE=(TRK,(1,1)),
//             DCB=(RECFM=FBA,LRECL=121,BLKSIZE=0,DSORG=PS)
//LIST01   DD DSN=&&GENLIST1,DISP=(OLD,PASS)
//LIST02   DD DSN=&&GENLIST2,DISP=(OLD,PASS)
//*
//*-------------------------------------------------------------------*
//*       PRINT THE LISTINGS.                                         *
//*-------------------------------------------------------------------*
//*
//PRINTLST EXEC PGM=CONLIST,MAXRC=0,COND=EVEN,PARM='PRINT'
//C1PRINT  DD SYSOUT=&SYSOUT,FREE=CLOSE,
//             DCB=(RECFM=FBA,LRECL=121,BLKSIZE=0,DSORG=PS)
//LIST01   DD DSN=&&GENLIST1,DISP=(OLD,DELETE)
//LIST02   DD DSN=&&GENLIST2,DISP=(OLD,DELETE)
File Attachments:
gwsdl[2].txt