Skip to Content
avatar image
Former Member

Adding namespaces to XML

Hi all,

When I generate a XML message via a mapping and using the Anonymizer Module i can create the following:

http://www.name.org">

Standard SAP is using the prefix ns0 instead of the prefix os. The Anonymizer Bean is able to change this prefix.

Now I would like to add some additional namespaces. the result should look like this:

os:envelope xmlns:os="http://www.name.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.name.org http://www.system.name.org/schemas/valid/docuemnt.xsd">

How can I establish this?

Best regards and Thanks

Ron

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 24, 2008 at 02:42 PM

    This is not possible with the graphical mapping tool, as the XI interfaces have only one namespace.

    You can do this with Java Mapping or XSLT mapping as seperate step after the standard mapping.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded