Come for answers, stay for best practices. All we're missing is you.
Originally posted by: infyrsp
Hi,
I am running a WTX Map in DataPower. I have a requirement to do only XML well-formed check for the input message and no schema validation. There is a requirement from consumer that new fields might get added in the XML message and WTX should just filter it out. We are doing XML to cobol transformation. So it's something similar to writing XSL code where there in no input validation at all just well formed check. But XSL doesn't provide XML to cobol transformation capability.
Originally posted by: paul.brett
It is possible to build a simple Typetree / Map combination that will allow you to pick-out specific XML data, and the Typetree can cope with an XML structure change (see enclosed) but I do not believe it is possible for WTX to do Well Formed validation under these circumstances.
Anybody else think this can be done?
Thank-you.
Paul.
Follow me on Twitter
Attachment(s)
Originally posted by: DennisRitche
Can you explain more about that you have stated "There is a requirement from consumer that new fields might get added in the XML message and WTX should just filter it out"
It means that there may be new fields added in the XML message but that would not impact the mapping..since the output structure is always fixed. It means these new fields would not impact the XPath of the existing fields and also they are not required to be mapped in the output cobol structure. Hope i am able to make you understand my requirement.
Now i got your point , In most cases this is possible by editing source schema and using any element.
Can you provide me the samples for a clear picture.