on 10-29-2007 7:25 AM
Hi Friends,
I have a FILE -> FILE scenario ,In this when I am downloading the data in XML format it is getting downloaded successfully.The output look like this ...
<b>I have only one field to be displayed in the output</b>.
<?xml version="1.0" encoding="utf-8" ?>
<Returnkey>
<field1>000000000621185CA</field1>
</Returnkey>
Module Name Modulekey
localejbs/AF_Modules/MessageTransformBean XML2Plain
<b>Module key parametername parameter value</b>
XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion
XML2Plain Transform.ContentType text/plain;charset=utf-8
XML2Plain xml.addHeaderLine 0
XML2Plain xml.conversionType SimpleXML2Plain
XML2Plain xml.fieldFixedLengths 25
Please some one help me out I,I have tried all the options and I cant use File content conversion in this case ,(I have JMS adapter which actually sends this information to MQ,as it is working in XML format AND not in plain format ,I am testing this temporarily with a receiver file scenario)
Thanks in advance.
closing the thread,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
please markthe question as answered if solved.
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Finally it worked with the following parameters...
xml.conversiontype strucxml2plain
xml.recordsetstructure Returnkey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try out with these paramters only....
<b>Module key parametername parameter value</b>
XML2Plain recordTypes Returnkey
XML2Plain Returnkey.fieldFixedLengths 25
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
you can use the following modules and the parameters.
Processing sequence :
localejbs/AF_Modules/MessageTransformBean
localejbs/SAP XI JMS Adapter/ConvertMessageToBinary
localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService
Module Configuration:
Transform.Class----
>com.sap.aii.messaging.adapter.Conversion
TransformContentType----
>text/plain;charset=utf-8
xml.addHeaderLine----
>0
xml.conversionType----
>SimpleXML2Plain
xml.fieldFixedLengths----
>10,10,10(for ex)
xml.fixedLengthTooShortHandling----
>Cut
if you still face the problem please reply me back.
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rinku,
Thank you for the information.
I tried with this JMS module connections initially,Where it is working with XML and not in plain text format.
As I dont have access to check the data in MQ,I just converted it to file and if it works here it should work with JMS adapter also.
so can you please tell me why this format is not getting converted with this module XML2PLAIN?
did I miss any thing there ?
Thank you ?
sorry I did not complete the problem..
when I am converting with the above parameters from xml to plain...A file is getting created with no data in it...
how do I solve this issue.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.