on 08-19-2015 3:08 PM
Hi Experts,
I have a interface for to convert the Fixed length file into XML, I am not using mapping, its simple conversion which I am doing using MessageTransformBean, if the last fields are blank then XML is generating without the tags ( I am expecting empty tags). When i try to remove parameter "xml.lastFieldsOptional" then its failing in PI and not generating XML. Is there any other parameter present for this bean?
Thanks,
Nishant
xml.lastFieldsOption is depreciated. try below paramter with "add" value
xml.missingLastFields=ignore|add|error
If the inbound structure has less fields than specified in the configuration then the XML outbound structure is created as follows:
■ ignore
Outbound structure only contains the fields in the inbound structure
■ add
Outbound structure contains all fields from the configuration; the fields missing in the inbound structure are empty.
■ error
Conversion is terminated due to the incomplete inbound structure. An error message is displayed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishant,
Can you try using missingLastFields and the value as add.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.