cancel
Showing results for 
Search instead for 
Did you mean: 

xml import issue

Former Member
0 Kudos

Hi expert,

I wish to import a xml file in Service Builder, so that I could create a mapping for it.

I first created a xsd file based on the xml file that I wish to import, xsd file is created by XMLSpy.

Then I created an external definition object based on this xsd file.

Now, in message mapping, I could only import the xsd file.

I got error when import xml file in testing tab---"data is no allow in row2, column 1".

Do you know the common process to import the xml file for testing?

thanks in advance

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

if import xml file in message mapping diretly, then I got the same error message.

If import xsd file in message mapping, there is no error message. but in testing tab, when import the paired xml file, error occur.

Since the xsd file is generated by SPYXml, I do not see why the xml file does not comply with xsd---so that PI will complain like that.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Not all schemas are supported. Please go to this link

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00a9a425-1769-2a10-9196-bd8eeed72...

and check your xsd.

Hope this helps,

Mark

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Now, in message mapping, I could only import the xsd file.

You can directly import an XML in message mapping.

I got error when import xml file in testing tab---"data is no allow in row2, column 1".

Make sure the XML you are importing is valid.

Hope this helps,

Mark

Former Member
0 Kudos

Dusplicate post!

Former Member
0 Kudos

Hi,

The XSD structure & the XML file structure you are trying ti import are not same and that is why you are facing this issue.

-Supriya.