on 12-16-2015 4:54 PM
Hi All,
the structure which is coming as input to PI is
<ns0: MT_ABC>
<Record>
<Header>
<A> </A>
<B> </B>
</header>
<item>
<a> </a>
<b> </b>
</Record>
I am getting the error -
Exception caught by adapter framework: org.xml.sax.SAXException: XML upto 2 level is accepted for conversion.
com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: org.xml.sax.SAXException: XML upto 2 level is accepted for conversion.
Now I am pretty sure that this only a 2 level XML structure which is supported in fcc...
-- no addHeaderLine is used
-- is there anything like ignoreRecordset fo reciver fcc?
Please help.
Regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Thanks for the input. I tried it and still getting the same error. Is your above screenshot belongs to FILE adapter or SFTP?
For Information of everyone- I have tried the exact parameter and configuration with a file-FCC channel and it worked fine for same payload. But, failed for SFTP. looking for patch update.
regards,
Vikas
Hi Vikas,
The reason is FILE and SFTP adapters are using different conversion programs for FCC that is why SFTP adapter's FCC is not working because generally flat file only supports two level structure.
You have two options to solve this
Regards,
Praveen.
try using IgnoreRecordset vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vikas,
Don't you think you have 3 level structure in the xml which you mentioned above including the message type? You can try removing the Record node using Java or xslt
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
I was sure that it is a level 2 and saw all FCC examples on SCN, Record is level 1 and then the level 2..
@Raghu - That is what is my next question? Is there a ignoreRecordsetName or ignoreRecordset parameter available for receiver FCC?? if yes can you just tell the parameter name (ignoreRecordsetName or ignoreRecordset).
Regards,
Vikas
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.