Skip to Content
author's profile photo Former Member
Former Member

Error while importing .xml file in Datatype

Hi SDN,

I am getting this error while importing .xml file in Datatype.

Error when parsing the XML document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8

Actually I have created datatype in my development box..

but my client doesn't want to develop in development box.

so i have exported that datatype as xsd from datatype editor.

and while importing into sandbox datatype editor i am getting this error..

Any help please......

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 25, 2007 at 08:18 AM

    Hi Mansoor,

    while exporting the data type, save it as .xsd file............. in sandbox, create the same namespace as in dev........then import this .xsd file in your sandbox system for data type.......

    Thanks,

    Rajeev Gupta

    Message was edited by:

    RAJEEV GUPTA

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 25, 2007 at 08:18 AM

    Hello Mansoor,

    Try importing a XSD as external definition..

    You won't need to created Data type and message type .. just the message interface...

    Also Check if the same namespace is created or not..

    Thanks,

    Himadri

    Message was edited by:

    Himadri Chakraborty

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.