cancel
Showing results for 
Search instead for 
Did you mean: 

One Communication Channel for two XML-Structure

Former Member
0 Kudos

Hi to all!

i'm Newbee in XI.

i register one Communication Channel to recieve two different XML-Structure and when i sent second structure there was a Mapping error, because XI waiting for first XML-Structure.

I'd like to ask if there are any additional condition that i must tune up to make it possible or just it's impossible?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

What exact error ur geting in MONI,IF ur using File adapter and using FCC then if u send different structure then u will give mapping error,FCC is once decleared in Communication channel then it will take that type of structureonly.

update the thread.

Regards,

Phani

Former Member
0 Kudos

Hi to all again.

At first sorry for delay.

i have 2 different XML-structure, 2 different message mapping (there is no multimapping), 2 different interface mapping and 2 different IP (integration process) in BPM and at the begining i wanted that XI recieve 2 XML message (by SOAP ) by one CC.

After tuned up first IP it was everything allright, but when i tuned up that second IP must recieve SOAP request at the same CC and send second XML-Structure there was a Mapping Error in SXMB_MONI as i understood because XI expected first XML-Structure.

So as Nisar said i can send many XML(or another data snippet) by one CC BUT by one CC i can receive only one data snippet, right?

nisarkhan_n
Active Contributor
0 Kudos

Mike

In your case if you use the 1 CC to receive 2 XML which are different format, it will thorw error in the mapping the reason is:

when you define the sender agrement you specify which Outbound Message strucutre the adapter will feed the XML...now you cannot have 1 CC SOAP which will feed one Outbound message but same SOAP CC cannot feed 2 Outbound Message which are of different foramt.

What i had ment by this "Nisar said i can send many XML(or another data snippet) by one CC BUT by one CC i can receive only one data snippet" is for ex in your file receiver adapter without the FCC you can use the same file adapter for differenet XML messages provided the location is same....

The whole logic is if your adapter is not dependent on the XML strucutre which in your case is you can use it to just put the XML like in FIle receiver adapter ( for XML files) only

it is not possible in your scenario.

Former Member
0 Kudos

Ok

thx everyone for replay

Former Member
0 Kudos

Hi,

you can use the SOAP CC for both the structures.

But in Receiver Webservice you need to deply the SOAP message as per the Message Type available in SOAP envalop.

If this is JAVA or .NET Web service then you could use the deploy with JAVA or C# . Can discuss with related techies of JAVA and .NET

thanks

Swarup

Former Member
0 Kudos

wow o_O

really?

it's .NET Web service. Could u provide with some links where i could read about it, pleaze?

nisarkhan_n
Active Contributor
0 Kudos

Minimum parameter you need to enter in sender configuration When you create a SOAP sender channel are the namespace and the name of a message interface.

Pls check this link for configuration details:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

So you can you namespace can hold 2 Oubound Message strucutre but cross check the Message interface Name by giving same name for both XML formaat

Answers (4)

Answers (4)

Jitendra_Jeswan
Contributor
0 Kudos

If You are using File Commmunication channel and you expect that it should accept 2 different files having 2 different XML structures then you can use File Mask option in advanced File selection option, in the Communication channel itself..

I did realize that It was a mapping error.. I guess in IR you Interface expects one type of XML structure and you sending another thats why in Mapping its Complaining.

Would like you to elaborate more on your requirement !!

Former Member
0 Kudos

Hi Jeet!

thx for replay

Unfortunately i have to use SOAP CC

nisarkhan_n
Active Contributor
0 Kudos

Single Communication Channel can send two differnet XML messages but 1 at one time.

what i mean is if you want the 2 different messages by 1 CC, it will not be possible because 1 CC will support only file format at runtime.

but that doesnt stop you from sending different messages format if they are in XML format (receiver) provided you select the which message you want to send in the runtime using the multimapping.

Former Member
0 Kudos

Hi,

Could you brief about the process you did to configure the interface determination and receiver determination.

How many mapping programs are involved.

Regards,

Nithiyanandam

Former Member
0 Kudos

Are you trying to do Multimapping scenario...like N:1?

Thanks

Farooq