cancel
Showing results for 
Search instead for 
Did you mean: 

XML Request to MDM

Former Member
0 Kudos

Hi to all!

i want to know if there is any solution in MDM which make it possible to receive XML Request with some search criteria and after that generate XML Response which meet that search criteria?

i'm trying to find solution in MDM Syndicator but i think that it's wrong way

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

of course there is a way:

- put the xml file in a folder from which XI can pick it up

- transfer the XML file into an MDM java API request to get the records

- map the response into an XML and put it into some other folder

but it's just one of the ways I believe

Regards,

Michal

Former Member
0 Kudos

Hi, Michal

thx for response

yes it is the way but i'm trying to find easily way

may be there is way to do the same without using Java API just with XI and MDM tools?..

MichalKrawczyk
Active Contributor
0 Kudos

Hi Mike,

I don't think there is a way to avoid API

as if you have a serach criteria you need to find correct

master data on this basis - this requires the use of API

for example:

1. XML - criteria - customer name starting with A*

2. then you need to find customer with name starting with A*

3. then you can send an XML document to MDM to update all

previously found customers with a dummy change

(so syndicator will start)

4. then syndicate

but you still have to do this: search criteria - MDM records lookup somehow

so for me it's only API way I'd say but I might be wrong of course

Regards,

michal

Former Member
0 Kudos

Ok...

the matter is that i'm afraid of generating XML response with Java (as parsing XML request too) because i'm not enough programming practise in Java, and just knowing that Syndicator may do the same i'm feel too lazy to do that

As about Syndicator

after looking at <a href="https://websmp203.sap-ag.de/~sapidb/011000358700006461962006E">Syndicator Reference Guide</a> i'm find out that Syndicator has needed search ability and a lot of way to get lookups, multi-valued fields and so on. And chiefly it can generate XML Response..

may we discuss your way in more details plz?

as i understood i must some how receive XML request

there are only one way - via MDM Web Services, right?

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>>as i understood i must some how receive XML request

there are only one way - via MDM Web Services, right?

you can use a web service, java or ABAP API

Regards,

michal

Former Member
0 Kudos

Hello, Michal!

Since yestarday i have been thinking about another way,

Look:

i can make UDF in XI (User Define Function) which will be connect to MDM Server via Java API, search, put found record in to ResultList and return it.

What u think about it?

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

I see no problem with this approach as long as you just select records from MDM

this way - UDFs should never be used to update anything

Regards,

michal

Former Member
0 Kudos

Michal,

may i ask u for help?

the matter is that i'm not very good know XI, but i need to import to XI MDM Java API package and also my Java function (which i'll pack to jar file)

as about MDM Java API package there are 5 *.jar files, as i undestand i must pack them into *.sda file and put it somewhere at the XI server.

Can u provide me with info where i can read about that?

MichalKrawczyk
Active Contributor
0 Kudos

hi,

import jar files into XI as external archive object

and then you can use it in your UDF

Regards,

michal

Former Member
0 Kudos

am i must do it in Integration Builder?

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

this is the place where you create UDFs

and where you put external jars to be used by those UDF

so - yes

where else would you like to do it ?:)

Regards,

michal

Former Member
0 Kudos

Hi, Michal! )

as i know i can also put it to the boot class path of the J2EE server, but it's easy to me to put it in my namespace in to the <b>Imported Archives</b>

But i'm faced with some problem again

i get that error:

<i>class file has wrong version 50.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath.</i>

do u have any idea what does it mean?

u can find more info about it at

Thx

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>class file has wrong version 50.0, should be 48.0

This might mean that the runtime is not correct for your jar files

Version 50.0 = Java 1.6.x

Version 49.0 = Java 1.5.x

Version 48.0 = Java 1.4.x

from:

http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183240

Regards,

michal

Former Member
0 Kudos

Right u a!! )

i've just downloaded j2se 1.4.16, compile my package with that and it's work norm))

Thank u a lot for your great assistance!

Former Member
0 Kudos

Michal,

i tried to connect to MDM and get some Info and it's seems that it work

so my problem is solved and i'm continuing to develop.

<b>Thank you very much!</b>

Answers (0)