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

Missing lines in an XML message

Hello,

The scenario is as follows

[SAP] --> Idoc --> [XI] --> XML --> [Mail]

The XML structure is imported as an external definition.

In the created XML message the following lines are missing:

mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.ean.nl Order.xsd".

Does someone have any idea how I can add these lines ?

Thanks.

Regards,

Marco van Iersel

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 15, 2006 at 11:13 AM

    Hi Marco,

    I think u can use standard functions in message mapping...

    May be SplitByValue() or check other..

    Check this http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm

    Regards,

    Sridhar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Sridhar,

      Thanks for the quick reaction, only I don't think this is the solution.

      I'll give some more info.

      Now the beginning of the message looks like this:

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

      <Order>

      <OrderHeader>

      <OrderVersion>1.1</OrderVersion>

      ...

      And it should be like this:

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

      http://www.ean.nl" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.ean.nl Order.xsd">

      <OrderHeader>

      <OrderVersion>1.1</OrderVersion>

      ...

      How can I do this?

      Kind regards,

      Marco

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 11:52 AM

    Hey,

    i think u can try creating a XSD for the xml structure using any of the xml editors and then import the xsd as external defnition.

    if u try to import the xml directly then the error may occur,it will be created without those 2 lines.

    regards

    jithesh

    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.