How to suppress n0: default Namespace prefix in Transformations

Hi,
I use Simple Transformations for serialization of deep structured data.
In the XML File the whole tree needs to use a special namespace. Therefore i use the attribute xmlns="ABC.de" without a namespace prefix in my root element. During serialization SAP generates a default namespace prefix like 'n0:'.
Is it possible to suppress the generated namespace prefix?
Thank you very much for reply
René
Edited by: René Libbert on Feb 14, 2012 8:09 AM

Maybe somebody is interested.
It seems to be a problem on old 640. On a NW 702 the result is as expected. NW 700 was not tested.
Workaround for the 640 is to use as result a STRING field not an XSTRING.
Greetings René

Similar Messages

  • Format using default namespace prefix.

    Is there any way to format XML using default namespace prefix in an expression?
    My expression is as follows:
    oraext:get-content-as-string(bpws:getVariableData('JmsMdx_InputVariable','body'))

    This seems wrong to me. I've filed Bug 2400119 to get this looked into by development.
    I'd expect any document with an appropriate qualified name to be found by your XPath expression, irrespective of whether syntactically one of the documents happened to use the default namespace syntax.

  • How are you using the Namespace Prefix?

    As the subject says...
    The top-level namespace prefix looks very useful for segregating projects into their own namespaces...is this what this is for, or does SAP have another recommended use for this prefix?
    The vendor name already makes the namespace unique to a corporate entity (if you use the domain name), so anything after that is really only of importance to the internal development environment...

    Even if your development isn't that big, using the 'name space prefix' would allow you to further segregate your codebase. 
    This also becomes important when your domain name is rather long - 15 characters.  Take away four or so more for the namespace prefix, and you're left with 20 characters for the DC name.  Add in a few separators, and you're down to 12-15 characters.
    Obviously, readability can suffer when you start to abbreviate too much, so I'm looking for best practices when it comes to the namespace prefix.
    Thanks for your comment.

  • Disable namespace prefixes in Transformer

    hi
    I am stuck in a cyclic problem. JAXP XSLT and SchemaValidator do not work together. (Java 1.5 and 1.6)
    I have a XSD with a namespace.
    When I generate the XML using an XSLT I specify namespace using the namespace attribute of xsl:element
    The JAXP transformer always generate the namespace prefix and equate the prefix with the actual URI
    Is there a way to disable this behavior, that is, I do want the xmlns URI in the root element but not the prefix?
    There are two reasons for wanting an XML without prefixes:
    1) The Schema Validator provided with JRE is not able to validate the message with prefix, but it works fine with xmlns URI
    <rootelem xmlns="urn:xmlns:xyz.abc.com"> validates fine
    but
    <ns0:rootelem xmlns:ns0="urn:xmlns:xyz.abc.com"> fails validation with error:
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'ns0:rootelem'.
    I am able to generate the first case when I use Saxon based OrangeXSLT plugin for Eclipse but JAXP based transformer always generate the second case.
    2) More importantly, I have XML consumers that could use parsing without namespace support and prefixed element will not work there.
    I am using StreamResult in the Transformer.transform() call and my guess is that the internal implementation of Transformer might be using a SAX ContentHandler (XML Serializer) to write XML to the outputStream and I guess one way to get around could be that I write a custom ContentHandler and use a SAXResult in the transform call. I am not sure if I am thinking in the right direction.
    If I am correct in my guess, could someone please point to some implementation of XMLSerializer that could be overridden just to disable namespace prefixing behavior?
    I have removed the namespace from the XSD for things to work. I would appreciate any help with this.

    Moving to latest Xalan and Xerces solved the problem.
    But a new one surfaced.
    Xalan's latest transformer does not handle StreamSource correctly and throws some exception internally (IOException related to end of stream), with the message:
    SystemId Unknown; Line #-1; Column #-1; Premature end of file.
    It work correctly if a DOMSource is provided as the input. This does not make sense, since the InputStream my code is using for StreamSource is ByteArrayInputStream for an in-memory XML and such error would happen if this stream is read more than once without calling a reset in between.
    Please let me know if this seems like a valid bug or if I am doing something wrong.

  • How i suppress the default link color?

    Hi,
    <p>
    i have a little sql report, and i have coded the color for a column value in a function call. It looks like :
    <p>
    select format_html(col_x,5)
    from mytable;
    <p>
    This function give me the following result:
    <p>
    ---> select format_html(col_x,5) from syn
    where rownum<10;
    1<br>
    2<br>
    3<br>
    4<br>
    5<br>
    <_font color="#dc143c">6</_font><br>
    <_font color="#dc143c">7</_font><br>
    <_font color="#dc143c">8</_font><br>
    <_font color="#dc143c">9</_font><br>
    <p>
    Now all values > 5 have a different color. And this works fine.
    <p>
    But now i will link this column to an other page. And than the column has the default color for the link(wich is blue). How i can change this behavior, so the values have the color from the function and the links are only underlined?
    <p>
    Thanks for your help,
    Maik

    Hi Maik,
    You can do something like the following:
    In the region's Region Header for the report, add in:
    &lt;style&gt;
    .customlink:hover {color:red}
    .customlink:active {color:yellow}
    .customlink:link {color:purple}
    .customlink:visited {color:green}
    &lt;/style&gt;
    You can change "customlink" to whatever name you like and, obviously, pick your own colours.
    Then in your SQL statement, add in a field that returns a stylename:
    select field1,
    field2,
    CASE WHEN (test) THEN 'customlink' ELSE '' END STYLENAME,
    etc
    from etc
    Then, in the link, in "Link Attributes", add in classname='#STYLENAME#'
    Regards
    Andy

  • How to Suppress form default message

    Hi I am having master-detail blocks in a form.
    When i make changes in details block and try to go to master
    record it is prompts me for to save changes or not?
    I want to make the changes posted without prompting
    In which trigger should i write the code.I cann't write in
    post-block,when-validate-record.
    Can Anybody Suggest me for a proper trigger.
    Thanks in Adv
    Sharath
    null

    SHARATH (guest) wrote:
    : Hi I am having master-detail blocks in a form.
    : When i make changes in details block and try to go to master
    : record it is prompts me for to save changes or not?
    : I want to make the changes posted without prompting
    : In which trigger should i write the code.I cann't write in
    : post-block,when-validate-record.
    : Can Anybody Suggest me for a proper trigger.
    : Thanks in Adv
    : Sharath
    hi sharath,
    :system.message_level = 15;
    set the ABOVE IN WHEN NEW FORM INSTANCE TRIGGER.
    null

  • Replacing default namespace in OSB message flow

    I'm in the process of setting up a simple OSB proxy and could use some help figuring out how to change a default namespace in the response from the business service.
    The proxy and business service use different namespaces which we'll call "http://foo.com/namespace/proxy" and "http://foo.com/namespace/business". In my routing request message flow, the contents of $body look like this and I'm able to use a Rename action with XQuery expression "./sof:*" to change "http://foo.com/namespace/proxy" to "http://foo.com/namespace/business":
    <sof:Execute xmlns:sof="http://foo.com/namespace/proxy">
    <sof:adminName>MyAdaptor</sof:adminName>
    <sof:request>
    [escaped payload omitted]
    </sof:request>
    </sof:Execute>
    This works fine, but in the response message flow, I need to revert the namespace and am having difficulty because the response uses a default namespace instead of using a prefix:
    <ExecuteResponse xmlns="http://foo.com/namespace/business">
    <ExecuteResult>
    [escaped payload omitted]
    </ExecuteResult>
    </ExecuteResponse>
    If I define a prefix P2L in the expression editor to correspond to "http://foo.com/namespace/business", I'm able to reference the ExecuteResponse element as "./P2L:ExecuteResponse", but then I get stuck.
    If I try use a Rename action to change the namespace for "./P2L:*", only the ExecuteResponse element is renamed to <sof:ExecutResponse xmlns:sof="http://foo.com/namespace/proxy">. Upstream in the calling application, there's an XML stream reader exception because (I assume) ExecuteResult is not found and parsed.
    I also tried using a Replace action against "./P2L:ExecuteResponse/@xmlns" to replace its contents with "http://foo.com/namespace/proxy". I also tried "./P2L:ExecuteResponse/@P2L:xmlns". Neither worked.
    Can anyone tell me what I'm doing wrong, or suggest a different approach? Assume that changing the calling application or business service is not an option.
    Thanks!

    >
    If I define a prefix P2L in the expression editor to correspond to "http://foo.com/namespace/business", I'm able to reference the ExecuteResponse element as "./P2L:ExecuteResponse", but then I get stuck.
    If I try use a Rename action to change the namespace for "./P2L:*", only the ExecuteResponse element is renamed to <sof:ExecutResponse xmlns:sof="http://foo.com/namespace/proxy">. Upstream in the calling application, there's an XML stream reader exception because (I assume) ExecuteResult is not found and parsed.
    >
    You pattern "./P2L:\*" matches just one element so it's ok that the payload's namespace wasn't touched. If you want to rename namespace for all elements try "//P2L:*". However, I'm not sure whether this is what you want. Try do describe what you do, what you want and what you get instead.
    >
    I also tried using a Replace action against "./P2L:ExecuteResponse/@xmlns" to replace its contents with "http://foo.com/namespace/proxy". I also tried "./P2L:ExecuteResponse/@P2L:xmlns". Neither worked.
    >
    I think it's not a good approach to replace content of xmlns as this attribute is not a common xml attribute.

  • Removing namespace prefixes

    I am familiar with the XmlOptions.setUseDefaultNamespace() to remove the namespace prefixes on the XML generated by my XMLBean. However, how do I specify which namespace prefix should be removed (if my XMLBean contains multiple namespace prefixes)? The docs for XmlOptions specify:
    "If this option is set, the saver will try to use the default namespace for the most commonly used URI. If it is not set the saver will always created named prefixes."
    Doing some testing, I have found that sometimes the correct namespace is being set as the default namespace. If my original document is:
    <ns1:a ...>
    <ns1:b ...>foo</b>
    <ns2:c ...>bar</c>
    </a>
    if I use the xmlText(XmlOptions) method then I sometimes get back:
    <a ...>
    <b ...>foo</b>
    <ns2:c ...>bar</c>
    </a>
    and sometimes get:
    <ns1:a ...>
    <ns1:b ...>foo</b>
    <c ...>bar</c>
    </a>
    Any thoughts?

    Hello,
    I'm using xmlbeans in my project. I'm constructing xml using the xmlbeans
    generated sources from the XML Schema files. The server to which I'm
    sending the request doesn't recognize the namespace URI's or the prefixes.
    so, once the XML document is constructed, I'm trying to strip of the
    namespace URI's and prefixes using the below code and couldn't get it to
    work.
    Map m=
    new HashMap();
    m.put(
    http://www.abc.com/schemas/myproj/avail/2008/01, "");
    m.put(
    http://www.abc.com/schemas/myproj/common/2008/01,"";);
    opts.setLoadSubstituteNamespaces(m);
    opts.setUseDefaultNamespace();
    SampleRQDocument propAvailRQDoc = SampleRQDocument.Factory.*newInstance*
    (opts);
    The schemas are defined under 3 different namespaces.
    How can I remove the Namespace URI's and Prefixes after I construct the XML
    document?
    Next thing, when the server sends the response, the response doesn't include
    any Namespace URI or the prefixes. How can I embed the URI's and Prefixes in
    the response document after I receive it so, I can use XML Beans
    to bind the XML to the generated sources.
    I searched on google but couldn't find a suitable solution.
    Any help in this regard is greatly appreciated.
    Thanks,
    Sridhar.

  • How to parse XML document with default namespace with JDOM XPath

    Hi All,
    I am having difficulty parsing using Saxon and TagSoup parser on a namespace html document. The relevant content of this document are as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body>
        <div id="container">
            <div id="content">
                <table class="sresults">
                    <tr>
                        <td>
                            <a href="http://www.abc.com/areas" title="Hollywood, CA">hollywood</a>
                        </td>
                        <td>
                            <a href="http://www.abc.com/areas" title="San Jose, CA">san jose</a>
                        </td>
                        <td>
                            <a href="http://www.abc.com/areas" title="San Francisco, CA">san francisco</a>
                        </td>
                        <td>
                            <a href="http://www.abc.com/areas" title="San Diego, CA">San diego</a>
                        </td>
                  </tr>
    </body>
    </html>
    Below is the relevant code snippets illustrates how I have attempted to retrieve the contents (value of  <a>):
                 import java.util.*;
                 import org.jdom.*;
                 import org.jdom.xpath.*;
                 import org.saxpath.*;
                 import org.ccil.cowan.tagsoup.Parser;
    ( 1 )       frInHtml = new FileReader("C:\\Tmp\\ABC.html");
    ( 2 )       brInHtml = new BufferedReader(frInHtml);
    ( 3 ) //    SAXBuilder saxBuilder = new SAXBuilder("org.apache.xerces.parsers.SAXParser");
    ( 4 )       SAXBuilder saxBuilder = new SAXBuilder("org.ccil.cowan.tagsoup.Parser");
    ( 5 )       org.jdom.Document jdomDocument = saxbuilder.build(brInHtml);
    ( 6 )       XPath xpath =  XPath.newInstance("/ns:html/ns:body/ns:div[@id='container']/ns:div[@id='content']/ns:table[@class='sresults']/ns:tr/ns:td/ns:a");
    ( 7 )       xpath.addNamespace("ns", "http://www.w3.org/1999/xhtml");
    ( 8 )       java.util.List list = (java.util.List) (xpath.selectNodes(jdomDocument));
    ( 9 )       Iterator iterator = list.iterator();
    ( 10 )     while (iterator.hasNext())
    ( 11 )     {
    ( 12 )            Object object = iterator.next();
    ( 13 ) //         if (object instanceof Element)
    ( 14 ) //               System.out.println(((Element)object).getTextNormalize());
    ( 15 )             if (object instanceof Content)
    ( 16 )                   System.out.println(((Content)object).getValue());
    ….This program would work on the same document without the default namespace, hence, it would not be necessary to include “ns” prefix along in the XPath statements (line 6-7) either. Moreover, I was using “org.apache.xerces.parsers.SAXParser” to have successfully retrieve content of <a> from the same document without default namespace in the past.
    I would like to achieve the following objectives if possible:
    ( i ) Exclude DTD and namespace in order to simplifying the parsing process. How this could be done?
    ( ii ) If this is not possible, how to include it in XPath statements (line 6-7) so that the value of <a> is picked up correctly?
    ( iii ) Would changing from “org.apache.xerces.parsers.SAXParser” to “org.ccil.cowan.tagsoup.Parser” make any difference as far as using XPath is concerned?
    ( iv ) Failing to exlude DTD, how to change the lookup of a PUBLIC DTD to a local SYSTEM one and include a local DTD for reference?
    I am running JDK 1.6.0_06, Netbeans 6.1, JDOM 1.1, Saxon6-5-5, Tagsoup 1.2 on Windows XP platform.
    Any assistance would be appreciated.
    Thanks in advance,
    Jack

    Here's an example of using a custom EntityResolver with the standard DocumentBuilder provided by the JDK. The code may or may not be similar for the parsers that you're using.
    import java.io.IOException;
    import java.io.StringReader;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.xml.sax.EntityResolver;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    public class ParseExamples
        private final static String COMMON_XML
            = "<music>"
            +     "<artist name=\"Anderson, Laurie\">"
            +         "<album>Big Science</album>"
            +         "<album>Strange Angels</album>"
            +     "</artist>"
            +     "<artist name=\"Fine Young Cannibals\">"
            +         "<album>The Raw & The Cooked</album>"
            +     "</artist>"
            + "</music>";
        private final static String COMMON_DTD
            = "<!ELEMENT music (artist*)>"
            + "<!ELEMENT artist (album+)>"
            + "<!ELEMENT album (#PCDATA)>"
            + "<!ATTLIST artist name CDATA #REQUIRED>";
        public static void main(String[] argv)
        throws Exception
            // this version uses just a SYSTEM identifier - note that it gets turned
            // into a file: URL
            String xml = "<!DOCTYPE music SYSTEM \"bar\">"
                       + COMMON_XML;
            // this version uses both PUBLIC and SYSTEM identifiers; the SYSTEM ID
            // gets munged, the PUBLIC ID doesn't
    //        String xml = "<!DOCTYPE music PUBLIC \"foo\" \"bar\">"
    //                   + COMMON_XML;
            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
            dbf.setValidating(true);
            DocumentBuilder db = dbf.newDocumentBuilder();
            db.setEntityResolver(new EntityResolver()
                public InputSource resolveEntity(String publicId, String systemId)
                    throws SAXException, IOException
                    System.out.println("publicId = " + publicId);
                    System.out.println("systemId = " + systemId);
                    return new InputSource(new StringReader(COMMON_DTD));
            Document dom = db.parse(new InputSource(new StringReader(xml)));
            System.out.println("root element name = " + dom.getDocumentElement().getNodeName());
    }

  • XQuery mixed prefixed / default namespaces in input documents

    Hi there,
    I am developing an Atom Publishing Protocol server. The feeds produced by the server, which are regular atom documents being generated with XQuery, need to be formatted such that they have no namespace prefixes, only xmlns="..." attributes. However, my input documents (atom entry documents stored in dbxml) sometimes have the atom: namespace prefix.
    How can I get XQuery to 'notice' that the namespace is the same as the default element namespace and remove the prefixes from the output?
    Example input document in database (generated by Windows Live Writer):
    <?xml version="1.0" encoding="utf-8"?>
    <atom:entry xmlns:atom="http://www.w3.org/2005/Atom">
    <atom:id>urn:uuid:a8cc06e6-3d63-4411-a984-019dc3bf6d75</atom:id>
    <atom:title>With NS</atom:title>
    <atom:content type="html"><p>aera raw</p>
    <p>awre</p> <p>awre </p> <p>aw</p>
    <p> </p> <p>awreawer</p>
    <p>awer</p> <p> </p>
    <p> </p> <p>awer </p> </atom:content>
    </atom:entry>
    Some XQuery that reproduces the problem:
    declare default element namespace "http://www.w3.org/2005/Atom";
    declare namespace app = "http://www.w3.org/2007/app";
    let $entries := collection('dbxml:entries')/entry
    return
    <feed xmlns="http://www.w3.org/2005/Atom">
    <id>http://some.server/</id>
    <title type="text">Example of problem</title>
    <author><name>Andrew Bruce</name></author>
    <updated>{current-dateTime()}</updated>
    <link href="http://some.place/" rel="self"/>
    {$entries}
    </feed>
    This outputs (formatted to aid readability):
    <?xml version="1.0" encoding="utf-8"?>
    <feed xmlns="http://www.w3.org/2005/Atom">
    <id>http://some.server/</id>
    <title type="text">Example of problem</title>
    <author><name>Andrew Bruce</name></author>
    <updated>2008-04-05T22:47:23.136Z</updated>
    <link href="http://some.place/" rel="self"/>
    <atom:entry xmlns:atom="http://www.w3.org/2005/Atom">
    <atom:id>urn:uuid:a8cc06e6-3d63-4411-a984-019dc3bf6d75</atom:id>
    <atom:title>With NS</atom:title>
    <atom:content type="html"><p>aera raw</p>
    <p>awre</p> <p>awre </p> <p>aw</p>
    <p> </p> <p>awreawer</p>
    <p>awer</p> <p> </p>
    <p> </p> <p>awer </p> </atom:content>
    </atom:entry>
    </feed>
    Any help would be greatly appreciated.
    Andrew Bruce

    Hi Andrew,
    DB XML will try to preserve the namespace prefix or lack-thereof of the XML it is serializing. In this case the atom entry from the source document uses the prefix, so DB XML uses it. Since the choice of namespace prefix is orthogonal to the meaning of the XML document, DB XML does not provide a way to alter this behaviour.
    John

  • "...Prefix when a default namespace..." error inside javascript

    I get this exception:
    The function $ must be used with a prefix when a default namespace is not specified
    in this piece of jsp code
    <html:checkbox property="copyAddress" value="true"
                           onclick="if (this.checked) { $('postal').hide()} else { $('postal').show(); }"/>Also, I get this error locally but not in the server. I use tomcat 5.5, jsp-api 2.0 and servlet-api 2.4.
    What's wrong? Please help me
    Edited by: poroto20 on Jan 13, 2010 6:56 AM

    I would move this method over to its own function and pass the arg in full.
    Also if this is JQuery then it sould read, if this is Struts then there are better ways of doing this.
    if (this.checked) { $('#postal').hide()} else { $('#postal').show(); }"
    {code}
    When you create the method wrap it up in a try catch (Javascript try catch) and see what outputs. You can also use Firefox/Firebug to get better debugging information regarding JS errors.
    Also you should read as follows, otherwise you will get a JS error
    {code}
    if (this.checked)  $('postal').hide(); else  $('postal').show();
    {code}
    Note the ";" after the hide();
    Edited by: Gizard on 13-Jan-2010 15:22                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Suppress default namespace in extract() function

    How can I avoid that Oracle includes the target namespace of my schema as the default namespace when using the EXTRACT function?
    E.g., select xmlelement("XmlData",
    xmlagg(extract(tx.transmission, '/Transmission/Item')))
    from transmissions tx
    returns something like
    <XmlData>
    <Item xmlns="http://myschematargetnamespace" N="1">abcdef</Item>
    <Item xmlns="http://myschematargetnamespace" N="2">abcdef</Item>
    </XmlData>
    Any ideas will be appreciated very much!
    P.S. Can anybody tell me how I configure sqlplus to display the complete XML instead of only two lines?

    Jash
    I'm not aware of the answer, not would it make sense to do. element x in the noNamespaceNamespace is not the same object as element x in a specified namespace. Techinically there is no correct way to move the element from some specific namespace to the noNamespaceNamespace. You would have to construct a new element in the noNamespaceNamespace from scratch.

  • Suppress default namespace when extracting XML

    How can I avoid that Oracle includes the target namespace of my schema as the default namespace when using the EXTRACT function?
    E.g., select xmlelement("XmlData",
    xmlagg(extract(tx.transmission, '/Transmission/Item')))
    from transmissions tx
    returns something like
    <XmlData>
    <Item xmlns="http://myschematargetnamespace" N="1">abcdef</Item>
    <Item xmlns="http://myschematargetnamespace" N="2">abcdef</Item>
    </XmlData>
    Any ideas will be appreciated very much!
    P.S. Can anybody tell me how I configure sqlplus to display the complete XML instead of only two lines?

    Well not sure about your XML issue yet but as for SQLplus, you need to set certain session parameters.
    type
    SQL> show all
    for a list of possible options but for your case I think something like
    SQL> set long 10000
    will help (this means limit to 10000 chars).
    'set linesize' and 'set pagesize' could help too, eg:
    SQL> set linesize 500 (if your terminal will accept 500 cols)
    SQL> set pagesize 90
    etc...
    Voila.
    Sam.

  • How to add namespace prefix to XML file?

    I have a file(XML) to proxy scenario. I 've created an asynch Inbound message and a asynch Outbound message.
    I have generated the class in Sproxy of my R/3 System.
    In the Integration directory I have 2 business system :
    -one which sent the file
    -my r/3 system
    System which send file generate XML like this:
    <?xml version="1.0" encoding="UTF-8" ?>
       <batch id="20080211001" customer="some customer" user="user" language="EN">
         <structure>
           <localization>
              <string id="customer" text="Customer" />
    etc........
    As you see, it have not any namespace prefix.
    How can I insert namespace prefix in this file with XI tools?

    Hi Pavel
    I am also facing the same issue
    my XML structure is quite complex
    <ROW EVENT="RE" SEQ="9" MORE="Y" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
      <FileDate Internal="61409" ROWID="Y">02/17/2009</FileDate>
      <FileSeq ROWID="Y">9</FileSeq>
      <Event>RE</Event>
      <Grp>3</Grp>
      <LinkFileTime>42324</LinkFileTime>
      <Mrn></Mrn>
      <ROW DESCR="RE" TABLE="PAT" EVENT="RE">
        <BusTel/>
        <BusTelHipaaConsent/>
        <Cont1Addr1/>
      <ROW DESCR="RE" TABLE="INS" EVENT="RE">
        <DictRef1/>
        <DictRef10/>
    Do i have to create the Message Interface  for Outbound Synchronous ..
    <DictRef11/>

  • How to remove namespace prefix from target payload when using HTTP in PI7.0

    Hi,
    i have a requirement to remove namespace prefix from target payload when receiver receives the payload by an HTTP request.
    i am not able to use XML Anonymizer Bean as in HTTP channel its not possiile.
    Target structure after mapping now is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns3:Order xmlns:ns3="urn:xxx-com:pi:project">
    fields
    </ns3:Order>
    i need the target structure after mapping should look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <Order xmlns:="urn:xxx-com:pi:project">
    fields
    <Order>
    i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
    Please reply if anyone has solved this problem before.
    Thanks

    Hi ,
    >>>i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
    Which process you've used for removing namespace...java/xslt mapping. In case of java mapping plese remove ns3 while creating the target element. Please go through the below blog it may help you.
    Quick Tips: Dealing with Namespaces in XI/PI
    Regards,
    Priyanka

Maybe you are looking for