Skip to Content
author's profile photo
Former Member

How do I get a ns prefix in my XI2.0 File adapter

I am using a XI2.0 File adapter to send a file from my pc to XI3.0.

My mapping expects:

<ns1:CAMS_MT_LG <b>xmls:ns1="</b>http://CAMS_NS_LG">

If I have

xml.documentName=ns2:CAMS_MT_LG

xml.documentNamespace=ns2:http://CAMS_NS_LG

It generates

<ns1:CAMS_MT_LG <b>xmls="ns1:</b>http://CAMS_NS_LG">

How do I get the file adapter to generate the correct format?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Posted on Dec 22, 2004 at 04:28 PM

    Hi Patrick,

    I prefer to use XSLT-Stylesheets where you can read any messages and create namespaces in an easy way.

    Regards Udo

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 27, 2004 at 11:06 AM

    Set the parameters like follows:

    xml.documentName=CAMS_MT_LG

    xml.documentNamespace=http://CAMS_NS_LG

    The namespace prefix will be set automatically

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded