Converting binary data to XML using DFHSC2LS and XMLTRANSFOR



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Converting binary data to XML using DFHSC2LS and XMLTRANSFOR

Postby drclough » Wed Aug 06, 2014 1:14 am

Good afternoon,

I'm working on a process currently that will use IBM Web Assistant utility DFHSC2LS binds to produce XML. The XML utilizes a set of 5 XSD's for formatting. My issue is - even with the XSD's modified with the elementFormDefault="unqualified" tag, my response XML from the TRANSFORM command contains fully qualified namespaces on every element..

For example, given the following namespace xmlns:hdrf="http://www.xyz.com/application/v1/HeaderSimple_v1.0.0.0"

Desired:
<hdrf:ApplicationID>hdrf:ApplicationID</hdrf:ApplicationID>

Actual:
<ApplicationID xmlns="http://www.xyz.com/application/v1/HeaderSimple_v1.0.0.0">hdrf:ApplicationID</ApplicationID>

Here is what I've tried so far -
1) Searched google for solution - came upon one document (cant find the link now) that described the exact issue but offered as a solution to change all of the elementformdefault tags to qualified, which is already the case for the XSD's in question
2) Changing all elementFormDefault tags in each of the 5 XSD's from qualified to unqualified - this only solves the problem in the top level XSD.

Has anyone had a similar issue either with schema's or WSDL's in CICS? Is there a known workaround that doesn't involve altering the structure of the message itself?
drclough
 
Posts: 3
Joined: Sun Mar 30, 2014 2:24 am
Has thanked: 1 time
Been thanked: 0 time

Re: Converting binary data to XML using DFHSC2LS and XMLTRAN

Postby drclough » Wed Aug 06, 2014 1:36 am

fyi - link referenced in point 1) above is http://www-01.ibm.com/support/docview.w ... wg21472888
drclough
 
Posts: 3
Joined: Sun Mar 30, 2014 2:24 am
Has thanked: 1 time
Been thanked: 0 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post