cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Receiver Module configuration

Former Member
0 Kudos

my xml is like this

<row>

--<Header>

-


<key>Header</key>

-


<name>1111111</name>

--</Header>

--<Body>

-


<key>Body</key>

-


<name>2222222</name>

--</Body>

--<Body>

-


<key>Body</key>

-


<name>3333333</name>

--</Body>

--<Foot>

-


<key>Foot</key>

-


<name>444444</name>

</Foot>

</row>

and i want to change it into :

Header+1111111

Body-222222

Body-333333

Foot*444444

and my module config is like this:<b>

Transform.Class = sap.aii.messaging.adapter.Conversion

Transform.ContentType = text/plain;charset=utf-8

xml.conversionType = SimpleXML2Plain

xml.addHeaderLine = 0

xml.recordsetStructure = Header,Body,Foot

xml.fieldSeparator = 'nl'

xml.Body.fieldSeparator = -

xml.Foot.fieldSeparator = *

xml.Header.fieldSeparator = +

</b>

But the result i get just:

<b>

Header

Body

Body

Foot

</b>

Somebody help me please

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Go thro this guide:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12...

And i think that there should be a element as a root to all these. Just try with this xml structure.

<resultset>

-<row>

--<Header>

-


<key>Header</key>

-


<name>1111111</name>

--</Header>

-</row>

-<row>

--<Body>

-


<key>Body</key>

-


<name>2222222</name>

--</Body>

-</row>

-<row>

--<Body>

-


<key>Body</key>

-


<name>3333333</name>

--</Body>

-</row>

-<row>

--<Foot>

-


<key>Foot</key>

-


<name>444444</name>

--</Foot>

-</row>

<resultset>

Regards,

P.Venkat

Message was edited by:

Venkataramanan

Former Member
0 Kudos

Hi Venkataramanan

could you explain how to set the parameters in detail?

I will be very grateful

Former Member
0 Kudos

Hi Leo,

Use the same parrameters and test it with the xml structure that i have specified.

I think that should work properly. The parameter you have set is correct.

Regards,

P.Venkat