cancel
Showing results for 
Search instead for 
Did you mean: 

Not merging the XML files in single file using BPM file to file payload

Former Member
0 Kudos

Dear All,

i am working on BPM N:1 Scenario my design and config looks correct . it is picking the file and appending into my defined "ContainerList" but in receiver side .i mean Inbound side it is putting the data of one one file with the contents of first file . i am not getting any error in SXMB_MONI.

this is e.g of my two file

-


>>> first file DATA1. XML

<?xml version="1.0" encoding="utf-8" ?>

- <ns1:MT_INF xmlns:ns1="urn://collppayload">

<ID>IND</ID>

<Value>2</Value>

<Name>shaym</Name>

</ns1:MT_INF>

-


>>>> second file DATA2.XML

<?xml version="1.0" encoding="utf-8" ?>

- <ns1:MT_INF xmlns:ns1="urn://collppayload">

<ID>IND</ID>

<Value>2</Value>

<Name>rakesh</Name>

</ns1:MT_INF>

But in Inbound side in target it is create the file with data

-


>>>> in.xml

<?xml version="1.0" encoding="utf-8" ?>

- <ns1:MT_INF xmlns:ns1="urn://collppayload">

<ID>IND</ID>

<Value>2</Value>

<Name>shaym</Name>

</ns1:MT_INF>

hope u will understand my issue i want the two outbound file should be merged . plz tell me how i will resolve it.

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Mlateef,

Could you summarize the steps that u performed in BPM? Make sure that u have to create mapping program with source 0..unbounded and target is 1, the same applies with Interface mapping too.

Did u checked the message mapping are u getting the required output, in the test tab?

Best regards,

raj.

Former Member
0 Kudos

Dear Raj,

My scenario is N:1 BPM

i have created one data type and one message type same using for source and target.

Message interfaces. outbound Asyn, outbound Asyn Abstract, Abstarct Asyn, and Inbound Asyn

two message mapping : outbound asyn --to ---outbound asyn abstract which is 1 to 0 unbound... and outbound asyn abst -- to --- Abstract asyn which is 0 unbound... to 1

then two Interface mappings

and Integration process

Now ID i created

1 recv agreemt.

1 send agreemt.

2 Interface detrm and two recv determ

this was my IR and ID desg and congf respctvly.

Former Member
0 Kudos

Hi,

In the BPM are you using a transformation step >? before the send send step.

Cheers,

*RAJ*

Former Member
0 Kudos

use the paylaod and test in the message mapping if the result is as expeceted

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check the mapping if doesn't get you the desired result then change the occurance. Source 0..unbounded, target 1.

If the mapping is correct then In the bpm use a transformation step before the send step.

<b>Cheers,

*RAJ*</b>

Former Member
0 Kudos

Dear Raj,

i tried all these activites whatever u have mentioned . Now i am getting one more problem atleast it was creating one file with one message in target .but i am getting now problem in transformation step which is showing Mapping error .

can u tell me what is the problem this is my payload which i am using

<?xml version="1.0" encoding="utf-8" ?>

- <ns1:MT_INF xmlns:ns1="urn://collppayload">

<ID>IND</ID>

<Value>1</Value>

<Name>shaym</Name>

</ns1:MT_INF>

yesterday it was working but now showing mapping error in transformation all my mapping is correct and same whatever was yesterday i have not modified any thing.