cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Sender - Complex XML structure

Former Member
0 Kudos

Hi,

I have a complex data stucture in the source which needs to be content converted in the JMS adapter. The stucture of the input data goes something like this -

1h1

2b1

3d1,d2

2b2

3d3,d4,d5

The first char in every line is the key

1 - header info (occurs 1)

2 - body info (occurs unbounded)

3 - sub structure - details inside each body ((occurs unbounded))

This data needs to be converted into the XML below,

<root>

<header>h1</header>

<body>

<field1>b1</field1>

<details>

<field2>d1</field2>

</details>

<details>

<field2>d2</field2>

</details>

</body>

<body>

<field1>b2</field1>

<details>

<field2>d3</field2>

</details>

<details>

<field2>d4</field2>

</details>

<details>

<field2>d5</field2>

</details>

</body>

</root>

Can you guys please let me the module processor parameters I need to define to achieve this XML..

Thank You.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi arvind,

Just refer JMS content conversion HOw to guide in which section 3.2 describes exactly wht u are looking for

Regards,

**grant points if info is helpful

Former Member
0 Kudos

HI,

see thebelow links

/people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines

/people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure

content conversion

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

SAP help-

http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm

Regards

Chilla

Answers (1)

Answers (1)

Former Member
0 Kudos