Page 1 of 1

Converting binary data to XML using DFHSC2LS and XMLTRANSFOR

PostPosted: Wed Aug 06, 2014 1:14 am
by drclough
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?

Re: Converting binary data to XML using DFHSC2LS and XMLTRAN

PostPosted: Wed Aug 06, 2014 1:36 am
by drclough
fyi - link referenced in point 1) above is http://www-01.ibm.com/support/docview.w ... wg21472888