Can we define a namespace in the B2B for the XML which generates for EDI

Hi All,
I have defined an EDI 856 document which is a inbound. When I give a input EDI message the translation happens and it generates an XML message. So, in the XML message that is generated it gives me a junk namespace.
<Transaction-856 xmlns="NS_31CA8D0F33324F95A0BF15D85539C27E20081212182610" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="1.0" Standard="X12" Version="V5020" CreatedDate="2009-01-06T15:56:35" CreatedBy="ECXEngine_837" GUID="{C0F6BEDD-356C-41BA-A89F-775061F2EFAF}">
So, is there a way in B2B where we could give the namespace of my choice .And that namespace would be generated in the XML File.
Thanks in advance.
Regards,
Kaavya

Hi Dheeraj,
The XSD which i am using already has the namespace in the format which you mentioned.
Ex:-<xsd:schema xmlns="urn:oracle:integration:b2b:DCC1FCD2811C47748DF43A39F735F4F0" targetNamespace="urn:oracle:integration:b2b:DCC1FCD2811C47748DF43A39F735F4F0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0" elementFormDefault="qualified">
But still, while generating the XML file it gives the junk namespace.
Regards,
Kaavya

Similar Messages

  • Report Builder: can i define a function in  the rdf file ?

    Hi All,
    About the report builder, can i define a function in the rdf file ? and then i want invoke it in the report SQL, just like :
    function Get_Ap_Prepay_Balance(p_Invoice_Id IN NUMBER, p_End_Date IN DATE) RETURN NUMBER IS
    l_Amount number;
    begin
    RETURN l_Amount;
    end;
    thanks.

    You can create functions in reports, but slightly different from doing it in PL/SQL
    function Get_Ap_Prepay_Balance return number is
    l_Amount number;
    begin
    assuming that you have invoice_id in your select statement and p_End_Date is a report parameter, you can refer to them in your function as :p_End_Date and :invoice_id
    for example select prepay_amount_remaining into l_Amount from ap_invoice_distributions where invoice_id = :invoice_id and accounting_date = :p_End_Date
    return(l_Amount);
    hope this helps

  • How can I import data in to the digital word generator in Multisim?

    How can I import data in to the digital word generator in Multisim?
    I just  received this comment from a friend, a RADAR engineer, who has just down loaded Multisim.  He has been using HP/Agilent software.  He has a work around using a piecewise linear voltage waveform with data imported from Excel but this is not really a good solution.  It would also be helpful to import data from Mathcad or equivalent.
    "I thought I was about to be impressed with MultiSim but it ended only in disappointment. There is a word generator in the simulation instrument panel which can drive the DAC with a waveform and it can have thousands of lines of values. I opened Excel, wrote the formula to generate the time and voltage points for a chirp, converted to DAC values in Hex and then went back to the word generator in MultiSim to load the values only to find that you have to enter each value manually. It doesn’t even allow you to paste in a list of values from a text file. I’m not going to type 5000 values by hand. If you get the chance to give feedback to National Instruments please ask them if the paste option can be added to the word generator. MultiSim is useful in many regards, but in this case, it left me with the impression that it is considerably limited in capability compared to what I’m used to."

    Hi,
    You can load your data automatically in the Multisim word generator. Follow these steps:
    - Save your data file (in excel .xslx ir .csv format) on your computer
    - Change the extension of the file to ".dp"
    - Double-click the word generator in Multisim and click on Set...
    - In the Settings dialog box, click on Load and then Accept
    - This will prompt you to select the .dp file you have on your computer, select it and you're good to go
    However, in Multisim you have the option of creating your own custom simulation analysis and instrument.
    I will try creating the instrument and send it back to you but it might take some time.
    Multisim and LabVIEW are very powerful in test automation, with the custom instruments you create for Multisim you don't need to export your data file into excel from LabVIEW (or MathCAD or other tools) and then reload it into Multisim. The test procedure is automated instead.
    Please check this reference design about automated simulation
    http://zone.ni.com/devzone/cda/tut/p/id/7825
    Here is how you can create your own custom measurement tool in Multisim and LabVIEW, but as I mentioned, I will create the word generator and come back to you anyways
    http://zone.ni.com/devzone/cda/tut/p/id/5635
    Let me know if you have any questions.
    Mahmoud W
    National Instruments

  • Where we can see Sale order Number in the project which is asigned to it.

    Hi,
    Where we can see Sale order Number in the project which is asigned to it.
    Regards,
    somiraghu

    Hi,
    Thank you for your reply.
    Here we can see in repot format.
    Mainly Iam looking for a feild type for making report.
    My expected report format is
    Production order     WBS Element         Sale Order
    12345                     PR-154534              8736444
    for the above report I can get details of production order and WBS element fron Prodction order table.But I also want Sale order number.
    Regards,
    somiraghu

  • Evaluation of Oracle B2B for EDI

    Hi,
    I'm evaluating Oracle B2B for EDI compared to other EDI tools. Did anyone use Oracle B2B for providing EDI solution? or did anyone migrate from EDI tools like Gentran to Oracle B2B.
    Please kindly share your experiences.
    Regards,
    Kesary Vanaja

    Hi Kesary
    Yes we have sucessfully implemented oracle B2B for EDI. We have lot of EDI trx and flat files flowing through our oracle b2b system.
    I can't say whether its better than gentran or not but you need to fine tune it ( in our case oracle dev team helped us a lot) to work it smoothly.
    Regards
    Sahil

  • How to find the sessions which generated maximum redo amount at instance?

    I use below query or Sql*Plus's set autotrace traceonly statistics > redo size statistic to calculate how much redo I generated in my session;
    CREATE OR REPLACE VIEW redo_size AS
    SELECT value
    FROM v$mystat, v$statname
    WHERE v$mystat.statistic# = v$statname.statistic#
    AND v$statname.name = ‘redo size’;
    But how to find the sessions which generated maximum(top 5 for example) redo from the last database startup on 9iR2 or also with new 10gR2 historic views?
    We need this information because from the produced archived log files we observe something new producing almost 2 times more redo for a week. I looked at statspack report but couldnt find as I suspected for a massive update or delete.
    Best regards,
    Tonguc

    I tried v$sysstat but I didnt think about v$sesstat Mr.Gasparotto, thank you very much :)
    SELECT ss.sid,
    sq.sql_text,
    se.status,
    se.username,
    se.osuser,
    se.program,
    se.machine,
    ss.VALUE
    FROM v$sesstat ss, v$statname sn, v$session se, v$sqlarea sq
    WHERE ss.statistic# = sn.statistic#
    AND se.sql_hash_value = sq.hash_value(+)
    AND se.sql_address = sq.address(+)
    AND ss.sid = se.sid
    AND sn.NAME = 'redo size'
    ORDER BY ss.VALUE DESC
    Best regards.

  • Using namespaces in the XML QUERY

    I need to included a namespace of i: in the query below.
    the namespace is : "http://abc.com/int:i"
    How can I include the namespace in the query below?
    Is this possible?
    SELECT XMLELEMENT("i:Trade", XMLELEMENT("i:Level",2.25),
                                 XMLELEMENT("i:Style", 250),
                                 XMLELEMENT("i:Size"),
                                 XMLELEMENT("i:Block.Number"))
                    FROM DUAL

    What's wrong with Sundars answer in this Writing a Procedure to return back XML. Please help.?

  • Interesting Reqrmnt - How to avoid sending namespace in the xml response

    Hi,
    Below is the XML response we generate and send it to HTTP Receiver.
    - <ns1:CATSIMPORT xmlns:ns1="urn:pweh.com:erp:hr" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Version>1.0</Version>
      <TrackID>{5A3C87A5-48FD-4BCD-9178-A200F10F118D}</TrackID>
    - <ReturnCode>
      <value>Success</value>
      </ReturnCode>
      </ns1:CATSIMPORT>
    Can we remove the first and last line of the xml content and send it.
    Please send in your suggestions or answers.
    Regards,
    Amar Nemalikanti

    Hi Amareshwar,
    Check my replies in this link.
    just like java code to add a tag, you can use to remove a tag, before it goes to http adapter.
    Re: How to change the incoming xml to a different namespace
    Hope that helps you to fix your issue
    Regards
    Vishnu

  • How to use XPath with Namespaces in the xml ?

    Hi all,
    I need to reference a certain Node in a Document using XPath notation.
    The problem is the the XML Document contains Namespaces inside it
    f.e.
    <xn:SubNetwork id="JRANM">
        <xn:VsDataContainer id="1">
           <xn:vsDataType>vsDataAreas</xn:vsDataType>
        </xn:VsDataContainer>
    </xn:SubNetwork >Using DOMXPath (from weblogic.xml.xpath)
      DOMXPath xPath = new DOMXPath("xn:SubNetwork/*");
      Set nodeset = xPath.evaluateAsNodeset(this.xmlRootElement);When I Iterate through the Set I can see it's empty.
    (On the other hand without namespaces everything is fine.)
    So how can I reference a Node that contains a namespace in it ?
    Thanks a lot
    Francesco

    We use the following class to perform XPath Queries on our XmlBean objects.
    Hope this helps,
    Craig
    import java.util.Set;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.apache.xmlbeans.XmlException;
    import org.w3c.dom.Document;
    import weblogic.xml.util.StringInputStream;
    import weblogic.xml.xpath.DOMXPath;
    * Class to encapsulate API specific (i.e. weblogic) XML functions
    public class XmlUtil {
         * Returns a set containing objects of type reflected in the query.<br/>
         * e.g.<br/>
         * /saur:tree/saur:treeNode[@label='My Reports']<br/>
         * Returns a Set of TreeNode objects<br/>
         * Sample Code: <br/>
         * <code>
         * Set set = XmlUtil.executeXPathQuery( myQuery, tree.xmlText());
         * for( Iterator iter = set.iterator(); iter.hasNext();) {
         *     TreeNode node = TreeNode.Factory.parse((Node)iter.next());
         *     // Do whatever...
         * </code>
         * @param query
         * @param xml
         * @return
        public static Set executeXPathSetQuery( String query, String xml) throws XmlException {
            try {
                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();   
                factory.setNamespaceAware(true);
                DocumentBuilder builder = factory.newDocumentBuilder();
                StringInputStream in = new StringInputStream(xml);
                Document doc = builder.parse(in);
                DOMXPath xQuery =  new DOMXPath(query);
                return xQuery.evaluateAsNodeset(doc);
            catch(Exception x) {
                throw new XmlException("Error running XPath query", x);
    }

  • Can anyone help out in parsing the xml file.

    i have this file as string in webdynpro.
    can anyone help out how can i parse it and attch to context of webdynpro with structure
    queryList
       Queryid
       name
       remarks
    <?xml version="1.0" encoding="UTF-8"?>
    <app-data>
    <content-data hyperlink="" name="RegulatoryQueries" status="USER_VALID">
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="4"/>
    <element name="QUERY_NAME" type="Text" value="shal"/>
    <element name="REMARKS" type="Text" value=""/>
    </data><data><element name="QUERY_SAVE_ID" type="Text" value="20"/>
    <element name="QUERY_NAME" type="Text" value="test"/>
    <element name="REMARKS" type="Text" value="test"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="3"/>
    <element name="QUERY_NAME" type="Text" value="query_shal"/>
    <element name="REMARKS" type="Text" value="shaleel for testing on tomcat"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="8"/>
    <element name="QUERY_NAME" type="Text" value="sap"/>
    <element name="REMARKS" type="Text" value="Demo"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="10"/>
    <element name="QUERY_NAME" type="Text" value="TTTTT"/>
    <element name="REMARKS" type="Text" value="TTTTTTTTTTTTTTTTTTTTTtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttestend"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="6"/>
    <element name="QUERY_NAME" type="Text" value="RagQuery"/>
    <element name="REMARKS" type="Text" value="abcd"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="16"/>
    <element name="QUERY_NAME" type="Text" value="aa"/>
    <element name="REMARKS" type="Text" value="aaa"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="12"/>
    <element name="QUERY_NAME" type="Text" value="asda"/>
    <element name="REMARKS" type="Text" value="dasda"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="5"/>
    <element name="QUERY_NAME" type="Text" value="shalu"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="18"/>
    <element name="QUERY_NAME" type="Text" value="qry1234123"/>
    <element name="REMARKS" type="Text" value="aasdf"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="7"/>
    <element name="QUERY_NAME" type="Text" value="d"/>
    <element name="REMARKS" type="Text" value="sd"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="13"/>
    <element name="QUERY_NAME" type="Text" value="suresh"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="19"/>
    <element name="QUERY_NAME" type="Text" value="qrysdf"/>
    <element name="REMARKS" type="Text" value="sdfsd"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="22"/>
    <element name="QUERY_NAME" type="Text" value="llk"/>
    <element name="REMARKS" type="Text" value="dffnhjk"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="25"/>
    <element name="QUERY_NAME" type="Text" value="Query1"/>
    <element name="REMARKS" type="Text" value="Query1"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="30"/>
    <element name="QUERY_NAME" type="Text" value="1122"/>
    <element name="REMARKS" type="Text" value="w"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="32"/>
    <element name="QUERY_NAME" type="Text" value="11221"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="33"/>
    <element name="QUERY_NAME" type="Text" value="11222"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="34"/>
    <element name="QUERY_NAME" type="Text" value="11223"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="35"/>
    <element name="QUERY_NAME" type="Text" value="11224"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="36"/>
    <element name="QUERY_NAME" type="Text" value="11225"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="37"/>
    <element name="QUERY_NAME" type="Text" value="11226"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="38"/>
    <element name="QUERY_NAME" type="Text" value="11227"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="48"/>
    <element name="QUERY_NAME" type="Text" value="all fields"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="50"/>
    <element name="QUERY_NAME" type="Text" value="test34"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="27"/>
    <element name="QUERY_NAME" type="Text" value="12"/>
    <element name="REMARKS" type="Text" value="12"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="61"/>
    <element name="QUERY_NAME" type="Text" value="sureshcharan"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="62"/>
    <element name="QUERY_NAME" type="Text" value="charan"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="24"/>
    <element name="QUERY_NAME" type="Text" value="sss"/>
    <element name="REMARKS" type="Text" value="sss"/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="64"/>
    <element name="QUERY_NAME" type="Text" value="test"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="53"/>
    <element name="QUERY_NAME" type="Text" value="afsdf"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    <data>
    <element name="QUERY_SAVE_ID" type="Text" value="51"/>
    <element name="QUERY_NAME" type="Text" value="Satisfy al sets"/>
    <element name="REMARKS" type="Text" value=""/>
    </data>
    </content-data>
    </app-data>
    Thanks.
    dharmendra

    Hi dharmendra,
    Check
    Using the XML returned by XI to populate table in Web Dynpro UI
    Xml File processing
    Best regards, Maksim Rashchynski.

  • Can't create free PO with the material which material type is UNBW

    When I create a free PO with the material which material type is UNBW , error happens as below:
    Account assignment mandatory for material *** (enter acc. ***. cat.)
    There is no provision for value-based inventory management for this material type in this plant. Account assignment is thus necessary.
    But I use UNBW material type just because it's only QTY updating, and no value update.
    So this PO should has no relationship to FI document and any GL account or cost center.
    How can I create PO and GR for UNBW material in SAP system?
    Please tell me the solution in detail, thanks!

    Dear,
           Same scenario i have done in SAP. when we create free P.O then condition tab is automatically remove from the item level.
          But Cost Center and G/L account will compulsory. May be because of inventory. Inventory should affect the cost center and G/L account.
    Regards,
    Sandip

  • How can I remove Navigation Panel and "The section which says Please fill the data"

    Hi all,
    I need to remove navigation panel on the left side and also
    the section which is below toolbar and above actual pdf starts which says " you can fill out the following form and save the data.
    Regards
    Vas

    Not Possible

  • Ns0 prefix not attached in the xml structure generated using Content Master

    Hello Everyone,
    I am parsing a tabdelimited file using the Content Master Studio.
    I am providing the message type xsd as the schema file.
    After writing all the parsing logic the xml file which is getting generated is in the below mentioned format
    <?xml version="1.0" encoding="UTF-8"?>
    <ReadExcel xmlns="urn:readexcel.com">
    <ROW>
    <NAME>Rahul</NAME>
    <AGE>24</AGE>
    <Location>Mumbai</Location>
    </ROW>
    <ROW>
    <NAME>Vinit</NAME>
    <AGE>25</AGE>
    <Location>Mumbai</Location>
    </ROW>
    </ReadExcel>
    but since the ns0 prefix is not getting attached the mapping program is failing in XI.
    <ns0:ReadExcel xmlns:ns0="urn:readexcel.com">
    I guess the people who have used Content master studio might have also faced the similar problem.
    Please suggest me some solution
    Thanks and Regards
    Rahul Nawale

    Hi Rahul,
    the namespace prefic ns0 is only a placeholder for the namespace urn:readexcel.com. This namespace can also be represented by another prefix or even by the empty prefix.
    E.g. the document you have pasted is totally equivalent to the document
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ReadExcel xmlns:ns0="urn:readexcel.com">
    <ns0:ROW>
    <ns0:NAME>Rahul</ns0:NAME>
    <ns0:AGE>24</ns0:AGE>
    <ns0:Location>Mumbai</ns0:Location>
    </ns0:ROW>
    <ns0:ROW>
    <ns0:NAME>Vinit</ns0:NAME>
    <ns0:AGE>25</ns0:AGE>
    <ns0:Location>Mumbai</ns0:Location>
    </ns0:ROW>
    </ns0:ReadExcel>
    However, it is not possible to model this document via a Message type in the Integration Repository. The XML instance from a Message type will look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ReadExcel xmlns:ns0="urn:readexcel.com">
    <ROW>
    <NAME>Rahul</NAME>
    <AGE>24</AGE>
    <Location>Mumbai</Location>
    </ROW>
    <ROW>
    <NAME>Vinit</NAME>
    <AGE>25</AGE>
    <Location>Mumbai</Location>
    </ROW>
    </ns0:ReadExcel>
    Indeed, in the root tag all documents are equivalent (it has name ReadExcel and namespace urn:readexcel.com). But for the subelements (ROW, NAME,...) there is a fundemental difference. In your example (and my first example) these elements have namespace urn:readexcel.com, too. In my second example those elements have empty namespace. Indeed, all XML documents modelled as Message types have an empty namespace for all non-root elements.
    Message types are simply not suitable to model a document as you have posted. However, there is simple help. Just download the schema for the Message type to your local file system. Add attribute elementFormDefault="qualified" to the root tag of that schema. Upload that schema as External Definition. This External Definition will have one External Message. Define your mapping using that schema.
    For more background on that topic I recommend reading the specifications on XML namespaces and XML schema.
    Greetings
    Stephan

  • Is there a way to change the xml message generated by JDeveloper Proxy

    Hi,
    I have created jax-ws proxy client using JDeveloper 10g. I need to change the generated xml message tags. I need to remove the namespace prefix tags from the xml message. For ex: the current request message looks like this:
    <ns0:EMPLOYEE_NAME>John</ns0:EMPLOYEE_NAME>
    should be
    <EMPLOYEE_NAME>John</EMPLOYEE_NAME>
    without the nso prefix.
    How can I do that? Please help me.
    Thanks.

    To original poster, please just select "Problem Solved" to help any future questions about this.
    Is there a way to change  the text message ringer? No.
    End of thread 

  • Liquid data--how to parse the xml which is generated on the fly

    I am using liquid data for retreiving data from database which I am able to do
    but the problem is that it generates the xml on the fly and prints the response
    in xml format in html document .My need is that I want to parse this xml and use
    the data on need basis in my jsp document.
    I am usig following weblogic workshop 8.1 tags in my jsp :
    <lds:query name="bdemo_cust_info" server="t3://localhost:7001">
    <lds:param name="cust_name" value="<%=\"MCD\"%>"/>
    </lds:query>;
    Please help??
    Thaks and Regards,
    Ajay Jindal

    hi Ajay
    You can create a Liquid Data Control and display it using NetUI - or see the QueryClient
    example in weblogic\samples\liquiddata\ejbAPI and create an XML Bean from the
    result.
    - Mike
    "ajayjidal" <[email protected]> wrote:
    >
    I am using liquid data for retreiving data from database which I am able
    to do
    but the problem is that it generates the xml on the fly and prints the
    response
    in xml format in html document .My need is that I want to parse this
    xml and use
    the data on need basis in my jsp document.
    I am usig following weblogic workshop 8.1 tags in my jsp :
    <lds:query name="bdemo_cust_info" server="t3://localhost:7001">
    <lds:param name="cust_name" value="<%=\"MCD\"%>"/>
    </lds:query>;
    Please help??
    Thaks and Regards,
    Ajay Jindal

Maybe you are looking for