we have an issue regarding using CICS 4.1. as web service provider. We are exposing existing COBOL modules as web services with DFHLS2WS job.
Most of existing legacy COBOL modules are using record separator sign in their outputs/responses. Record separator sign is a hex '1E' i.e. decimal sign 30 from ASCII table.
When CICS creates response, COMMAREA is transformed to XML which is part of SOAP body. Record separator sign is illegal XML character and thus client can not parse response. We need solution where we can replace record separator sign with, for example, empty string. That way XML would be valid. Obvious place to do this is centrally i.e. in pipeline.
CICS pipeline supports writing custom message handlers in any language supported by CICS. We've tried with custom java message handler but potential issue is that we have java in separate CICS environment. COBOL message handler wold have to deal with varying size of SOAP messages. Is this better solution?
DFHLS2WS has many parameters but non seem to deal with issue alike this. Can something be done with DFHLS2WS module?
We are interested in best possible solution regarding performance.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2012-05-22T13:28:59Z by josipbarisic
Pinned topic CICS pipeline custom message handler - XML illegal character
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-05-22T13:28:59Z at 2012-05-22T13:28:59Z by josipbarisic
josipbarisic 2700046S232 Posts