source system (wsdl) layout
salary decimal 14
rate decimal 14
fees decimal 14
data returned output 1 in application
salary 1234567.123
rate 1234.123456
fees 1234567.123
data returned output 2 in application
salary 1234567.123
rate 1234.123
fees 1234567.123
Cobol layout generated from DFHWS2LS JCL.
ws-salary pic 9(15)v999.
ws-rate pic 9(15)v999.
ws-fees pic 9(15)v999.
Result: My invoke webservice is failing in test case 1 as ws-rate field is expected to be defined as pic 9(12)v9(6).
Note: Cobol Layout is generated from DFHWS2LS JCL.I tried with DEFAULT-FRACTION-DIGITS=6 but then the ws-salary and ws-fees is also generated with pic 9(12)v9(6) (I don't want to change the ws-salary and ws-fees).
Any help to change the para parameters so that my jcl will generate the copybook with correct ws-rate field.
Error: DFHPI1009 XML to data transformation failed. A conversion error (FRACTION_TOO_LONG) occurred
when converting field ws-rate for WEBSERVICE feeLookup.
JCL:
/*JOBPARM SYSAFF=*
// JCLLIB ORDER=TRCICSX.R520.R1.SDFHINST
//WS2LS EXEC DFHWS2LS,USSDIR='cicsts52',
// JAVADIR='java/J7.1_64',
// PATHPREF=''
//INPUT.SYSUT1 DD *
LOGFILE=/u/cyd4/fxmgoxml.log
MAPPING-LEVEL=4.0
MINIMUM-RUNTIME-LEVEL=4.0
PDSLIB=//TRISDXX.SHARED.LIBRARY
REQMEM=FXMGI
RESPMEM=FXMGO
LANG=COBOL
OPERATIONS=feeLookup
DATA-TRUNCATION=ENABLED
WSBIND=/cics/cicsts52/ws_bind/dev1/forxsreq/fxmgoxml.wsbind
WSDL=/cics/cicsts52/ws_bind/dev1/forxsreq/*
agent.wsdl
DEFAULT-FRACTION-DIGITS=3
*/
Thanks,
Dilip
DFHWS2LS Return error
Moderators: DikDude, Natarajan, Moderator Group
DFHWS2LS Return error
Thanks,
Dilip Divate
Dilip Divate
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page