IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Invoke Webservice Fails with DFHPI1009 error


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
divated

New User


Joined: 30 Sep 2016
Posts: 5
Location: south africa

PostPosted: Thu Nov 24, 2016 5:57 pm
Reply with quote

I am posting this message again as previously i have posted in jcl forum.

Question: How to define field which returns different values from the source system ?

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
*/
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 24, 2016 8:28 pm
Reply with quote

First, posting in multiple area does NOT get you better or faster responses -- the same people who respond on CICS also read the JCL topics.

Second, responses on this forum are voluntary so people respond when they have time and knowledge of the issue. It may be hours, or days, or weeks, or longer between the time a post is made and the time any responses come in. This is normal. Prompting for responses has the negative effect of making it LESS likely to get responses since anyone who has the knowledge and time will weigh responding against the harassment factor.

Third, you are asking questions about a topic that is NOT widely used, so the response base is limited. My recommendation would be to manually change the copy book to meet your needs rather than trying to tweak the DFHWS2LS parameters. If you insist you have to change the parameters, you may need to raise an issue with IBM (if your site has paid for the right to ask questions instead of merely raising problems; if your site has not paid to be able to ask questions of IBM, you may not be able to get an answer to your post -- not from IBM, not from this forum, not from ANY forum). Not all questions on a forum get answered.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Nov 25, 2016 4:06 am
Reply with quote

If an XML decimal constraining facet of type fractionDigits is supplied
then the DEFAULT-FRACTION-DIGITS value is not used.

have you investigated that?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top