Create XML inside BPEL

How to create XML inside BPEL process like below
<Main>
<psn:attr xmlns:psn="PSN:ML:6:0" name="Std_Fname"><psn:value>Any Value</psn:value></psn:attr>
<psn:attr xmlns:psn="PSN:ML:6:0" name="Std_Lname"><psn:value>Any Value</psn:value></psn:attr>
</Main>
Where Any Value may changes at runtime.
Thanks

In XML Fragment when I use the following code it doesn't get value of bpws:getVariableData("var1").
<Main>
<psn:attr xmlns:psn="PSN:ML:6:0" name="Std_Fname"><psn:value>bpws:getVariableData("var1")</psn:value></psn:attr>
<psn:attr xmlns:psn="PSN:ML:6:0" name="Std_Lname"><psn:value>bpws:getVariableData("var2")</psn:value></psn:attr>
</Main>
Any help?

Similar Messages

  • Convert string into XML inside BPEL

    Hello ,
    How to convert string into xml format ? And make element and define attribute inside it ??

    There are several problems with your input:
    1. Your xml is not well-formed because the attribute values should be enclosed withing double " quotes and not single ' quotes;
    2. You use a prefix (sml) for the folowing part but you dont define the namespace:
    <ids>
    <VID ID="new"/>
    <data>
    <*sml:*attr name="std">
    <sml:value></sml:value>
    </sml:attr>
    <sml:attr name="xde">
    <sml:value></sml:value>
    </sml:attr>
    </data>
    </ids>
    Complete message should be:
    <ids xmlns:sml="somenamespace">
    <VID ID="new"/>
    <data>
    <sml:attr name="std">
    <sml:value></sml:value>
    </sml:attr>
    <sml:attr name="xde">
    <sml:value></sml:value>
    </sml:attr>
    </data>
    </ids>
    3. Do you assign this expression to a variable that is based on the schema of your message you want to parse
    Regards,
    Melvin
    * TIP Answer the question as helpful or correct if it helps you , so that someone else will be knowing that this solution helped you or worked for you and also it gives points to the person who answers the question. *

  • Error creating a new BPEL domain in a 2 server environment with common DS

    I want to create two new BPEL domains, one for production and one for test env
    instead of using the default domain.
    There are two application servers with BPEL PM (10.1.2.0.2) using the same
    Dehydration Store. Active-Active mode, no cluster.
    A new BPEL domain is created successfully with BPEL Admin Console in server A.
    The problem is the server B knows nothing about the new domain. I cannot select
    the new domain on BPEL Console login page on server B.
    When I tried to create the same domain in server B the following error
    occured:
    Exception
    Operation failed because:
    Error updating domain index.
    An exception occurred while writing the domain index (id"szolinfo", ref "1") to
    the datastore; the exception reported is: ORA-00001: unique constraint
    (ORABPEL.DOM_PK) violated
    Please check that:
    + the machine hosting the datasource is physically connected to the
    network.
    + the connection pool properties as defined in the application server
    startup properties are valid.
    + the database schema for the OraBPEL server has been installed in the
    datasource.
    This is because the two servers are using the same database.
    The new domain require a new folder and a lot of files also inside the domains
    folder on server A and B. On server A this is created by BPEL Admin Console.
    How to create the same domain in server B?
    Are there any scripts/tools to use for this reason?

    These steps on Server B resolved the problem:
    1: cp -r domains/default domains/<new-domain-name>
    2. cd domain/<new-domain-name>/config
    3. Edit the following files by replacing the string 'default' with the name of your
    new created domain in the following
    elements/attributes:
    archive-config.xml: <value>/home/mla/app/bpel101202/integration/orabpel/domains/de
    fault/archive</value>
    domain.xml: <bpel-domain-descriptor version="2.0.6" id="default">
    4: In the case that the password for the domain is different compared to the default domain, the file 'auth.properties' has
    to be copied over from the server where the domain was created.
    5. Restart the BPEL PM

  • Schema Validation Inside BPEL after receive

    Hi,
    Is there a way i could validate the an XML against a schema inside BPEL.
    here is what i want to do, take the input data as a string which is suppose to be an XML and want to validate against different schemas based on some parameters.
    thanks,
    -Ng.

    I created a partner link PartnerLink_1. A wsdl was generated, PartnerLink_1.wsdl:
    <definitions
    name="DateValidator"
    targetNamespace="http://commesse/dates/DateValidator.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://commesse/dates/DateValidator.wsdl"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://commesse/dates/DateValidator.wsdl" location="http://portaldev.zigroup.net:8810/manageDates/DateValidator?WSDL"/>
    <plnk:partnerLinkType name="DateValidatorPortType_PL">
    <plnk:role name="DateValidatorPortType_Role">
    <plnk:portType name="tns:DateValidatorPortType"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    Is it correct how I changed it?
    <definitions
    name="DateValidator"
    targetNamespace="http://commesse/dates/DateValidator.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://commesse/dates/DateValidator.wsdl"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://commesse/dates/DateValidator.wsdl" location="http://portaldev.zigroup.net:8810/manageDates/DateValidator?WSDL"/>
    >>>
    <types>
    <schema attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/diapason"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:tns="http://commesse/dates/DateValidator.wsdl">
    <element name="commessaDates">
    <complexType>
    <sequence>
    <element name="fromDate" type="date" />
    <element name="toDate" type= "date" />
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <<<
    <plnk:partnerLinkType name="DateValidatorPortType_PL">
    <plnk:role name="DateValidatorPortType_Role">
    <plnk:portType name="tns:DateValidatorPortType"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

  • How to use external Java API in Java Embedd inside BPEL

    How to use external classes inside the BPEL in Java Embed Activity ? Any sample code availble ? Like i want to use log4j API inside BPEL.

    No you dont have to change your startManagedServer.cmd/.sh everytime you need to have a Java Embedding activity. You only need it in case of using Log4J. As log4j requires a configuration xml viz log4j.debug.xml and log4j.dtd you need to let the soa managed server know about it. The best way to load this configuration files is using the JAVA_OPTIONS command during server startup.
    Hope the explanation helps.

  • Custom IDOC to create XML file

    Hi,
    We are on 4.7 release.
    A custom outbound IDOC type is developed to creates a text file at the location entered in FILE type port.
    Now we want to create XML file intead of text file. Is it possible by simply changing the port to XML FILE port? Or do we need to do any modifications inside the FMs for the IDOC?
    Similarly for Inbound scenario (using custom IDOC type), do we need any chagnes in FMs to handle IDOCS in XML file format?
    Thanks.

    You can even do that conversion of idoc to xml by simple method
    create a xml port and use the standard fm there
    and it wud handle that.
    u may like to refer this blog...
    Collecting IDocs without using BPM
    Thanks
    Kiran
    Edited by: kiran dasari on Dec 12, 2008 10:38 AM

  • Creating XML file in Project folder thru Java Program

    hi,
    i need one help. i need to create XML file in web://<Project Folder> in xmII thru Java Program. i created one java code and i am able to access XML file that is in c drive. i created jar file for this and placed as action block in Transaction and this working fine. but problem arises when i give file path in java code as web://<folder name>/file.xml which is in Web folder of project in xMII.
    How to access the file that is inside web folder from java code.
    regards
    senthil

    Hi Senthil,
    you can address the files that inside the MII workbench are viewed as "web://..." like this:
    http://<server>:<port>/XMII/CM/<Project>/<Folder>/<Filename>
    The workbench helps you find the correct filename:
    - open the WEB tab in the workbench
    - right-click on the filename
    - select "Copy Link" from the pop up
    Now you have the correct link in your clipboard.You can use the "web://" only inside MII.
    Michael

  • AQ Adapter error: Could not create XML document carrying AQ Headers

    I'm having problem with the AQ adapter (ADT) sample that comes with the SOA 10g install.
    I am running 10.1.3.4 on XP, using Oracle XE.
    I can use the sample sql script to enque and deque. However, when I deploy the sample ADT (BPEL project), I see errors in the opmn log. The BPEL instance is not even created.
    I see another post with similar question, Re: Debugging BPEL when using Oracle AQ but no answer.
    Any help is greatly appreciated. Thx!
    ----------------- err log --------------
    <2009-07-15 00:04:31,656> <INFO> <collaxa> <ServerManager::loadProcesses> Done loading processes for all domains
    <2009-07-15 00:04:32,031> <INFO> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ctor: Initialized MessageReader for queue CUSTOMER_IN_QUEUE, consumer = null)
    <2009-07-15 00:12:15,984> <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ReadMessage: Could not create XML document carrying AQ Headers: [Ljava.lang.StackTraceElement;@e7af3a
    <2009-07-15 00:12:15,984> <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound>
    java.lang.Exception: java.lang.NullPointerException
         at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:750)
         at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:261)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at oracle.oc4j.sql.proxy.StatementBCELProxy.oc4j_releaseToCache(StatementBCELProxy.java:67)
         at oracle.oc4j.sql.proxy.StatementBCELProxy.oc4j_releaseTarget(StatementBCELProxy.java:79)
         at oracle.oc4j.sql.proxy.SQLBCELProxy.oc4j_close(SQLBCELProxy.java:95)
         at oracle.oc4j.sql.proxy.StatementBCELProxy.close(StatementBCELProxy.java:92)
         at oracle.AQ.AQOracleQueue.destroyStmt(AQOracleQueue.java:3099)
         at oracle.AQ.AQOracleQueue.dequeue(AQOracleQueue.java:1793)
         at oracle.AQ.AQOracleQueue.dequeue(AQOracleQueue.java:1307)
         at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:485)
         ... 4 more
    <2009-07-15 00:12:16,203> <FATAL> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Uncaught exception oracle.as.j2ee.transaction.tpc.ProtocolErrorWithNotification in JCA-work-instance:AQ Adapter-0 - cause: Branch [oracle.oc4j.sql.xa.EmulatedXAResource@14d9865, Xid( Global Id 34.5f.1e.a8.ff.ff.ff.ff.cd.b9.38.7d.22.01.00.00.7a.02.00.00.00.00.00.00, Format Id 1330790740, Branch Id 7c.e5.55.76.00.00.00.00.00.00.00.00.00.00.00.01), oracle.oc4j.sql.xa.EmulatedXAResource@14d9865, state={PREPARED}, exception error code=] in transaction Global Transaction Xid( Global Id 34.5f.1e.a8.ff.ff.ff.ff.cd.b9.38.7d.22.01.00.00.7a.02.00.00.00.00.00.00, Format Id 1330790740), type=orabpel, state=COMMITTING, time in completion or recovering=0)
    ....

    thanks for the reply. I did look into that post, and couldn't found where to set that option either.
    However, my PC was rebooted a few times today (I didn't change anything with BPEL), and I just re-ran the test now, that problem disappeared! It is working fine now.

  • Could not create XML document carrying AQ Headers

    Hi gurus,
    I’m trying to run the "Simple_XMLType_Payload" sample, and I have successfully deploy it on Oracle BPEL v10.1.3.1.0 , and after en-queue into the XMLType_Payload_In queue the recorded has been de-queued successfully, however there no instance for the BPEL has been created on the BPEL Console moreover there is no recorded inserted in XMLType_Payload_Out queue.
    After investigating the OC4j_SOA log file, I found the following error
    11/03/29 16:32:45 Confluent Monitor component started
    11/03/29 16:32:45 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    11/03/29 16:52:28 java.lang.ClassCastException: oracle.xdb.XMLType
    11/03/29 16:52:28      at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:448)
    11/03/29 16:52:28      at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:189)
    11/03/29 16:52:28      at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    11/03/29 16:52:28      at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
    11/03/29 16:52:28      at java.lang.Thread.run(Thread.java:595)
    <2011-03-29 16:52:28,082> <ERROR> <defualt.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ReadMessage: Could not create XML document carrying AQ Headers: [Ljava.lang.StackTraceElement;@748771
    <2011-03-29 16:52:28,089> <ERROR> <defualt.collaxa.cube.activation> <AQ Adapter::Inbound>
    java.lang.ClassCastException: oracle.xdb.XMLType
         at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:448)
         at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:189)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:595)

    But I have tried it on another server that also has 10.1.3.1 version but the OS version is HP-UX B.11.23 U ia64 , and it woks fine, however I’m still has the same issue on the original server that has OS version HP-UX B.11.31 U ia64 ?
    Edited by: user11096490 on Apr 4, 2011 11:06 AM

  • Error in tutorial: Could not create XML document carrying AQ Headers

    Hi,
    We try to run the AQOutboundCorrelation tutorial. After running the enqueue_reply.sql script the message was placed from the request to the reply queue and read by the AQ inbound adapter.
    Nothing happened in the flow. The following error occured in the domain log:
    Could not create XML document carrying AQ Headers
    Please help!!
    See log messages below
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_addPrimitive: field = PAYLOAD, value = Hallo
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_addPrimitive: field = RESULT, value = request received
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_getAsXML message:<<<<<<<
    <?xml version = '1.0' standalone = 'yes'?>
    <CORRELATIONREPLY_TYPE xmlns="http://xmlns.oracle.com/xdb/ANDRE">
    <PAYLOAD xmlns="">Hallo</PAYLOAD>
    <RESULT xmlns="">request received</RESULT>
    </CORRELATIONREPLY_TYPE>
    >>>>>>>>
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_readMessage: aqHeader = oracle.xml.parser.v2.XMLDocument@eabad
    <2007-01-18 13:58:59,187> <DEBUG> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_readMessage:Header<<<<<<<
    <?xml version = '1.0' standalone = 'yes'?>
    <Header xmlns="http://xmlns.oracle.com/pcbpel/adapter/aq/inbound/">
    <MessageId>CA714367FA1B4BB3B2AC0211C9ECF2DB</MessageId>
    <Priority>1</Priority>
    <Correlation>209EE57CB6AC4B2FA2034C6FA58AD24B</Correlation>
    <Attempts>0</Attempts>
    <EnqueueTime>2007-01-18T13:58:59.000+01:00</EnqueueTime>
    <OrigMessageId></OrigMessageId>
    </Header>
    >>>>>>>>
    <2007-01-18 13:58:59,187> <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ReadMessage: Could not create XML document carrying AQ Headers: [Ljava.lang.StackTraceElement;@12916fe
    <2007-01-18 13:58:59,187> <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound>
    java.lang.NullPointerException
         at java.lang.String.<init>(String.java:479)
         at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:573)
         at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:183)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:595)
    Message was edited by:
    rverbeea1

    Sorry for not mentioning the product versions:
    The bpel process was build and deployed with Jdeveloper Studio edition version 10.1.3.1.0.3984 on a Bpel server/Application Server with version 10.1.3.1 (NT).

  • .wsdl is not created for Empty BPEL Project in 10.1.3

    Hi,
    In BPEL Designer 10.1.3, Whenever I am creating the Synchronous or Asynchronous BPEL Process project, by default bpel.xml, .bpel, .wsdl file are created. But if I create the Empty BPEL process project, only bpel.xml and .bpel files are created, but .wsdl file are not created.
    But in the BPEL Designer 10.1.2, for Empty project all bpel.xml, .bpel, .wsdl files are created.
    Can you let me know, if it is known issue of 10.1.3

    The application has to access all the events in the library. Have you tried trashing prefs and repairing permissions?

  • Error while creating a new BPEL project

    Hello!
    When I create a new BPEL project, I get this message: "Object expected", and on the footnotes, the following message is printed: "event://LogErrorEvent?bpelz.html trapped at 62: object expected"...
    Does anybody knows what is happening?
    Thanks in advance,
    Pedro Catoira

    hello Pedro,
    Try to see this link in the forum:
    BPEL Designer  Process problem
    It seem the same problem but I'm not sure...
    byebye
    Andrea

  • Create XML file from ABAP with SOAP Details

    Hi,
    I am new to XML and I am not familiar with JAVA or Web Service. I have searched in SDN and googled for a sample program for creating XML document from ABAP with SOAP details. Unfortunately I couldn't find anything.
    I have a requirement for creating an XML file from ABAP with SOAP details. I have the data in the internal table. There is a Schema which the client provided and the file generated from SAP should be validating against that Schema. Schema contains SOAP details like Envelope, Header & Body.
    My question is can I generate the XML file using CALL TRANSFORMATION in SAP with the SOAP details?
    I have tried to create Transformation (Transaction XSLT_TOOL) in SAP with below code. Also in CALL transformation I am not able to change the encoding to UTF-8. It's always show UTF-16.
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:template match="/">
        <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
          <SOAP:Header>
            <CUNS:HeaderInfo>
              <CUNS:InterfaceTypeId>10006</InterfaceTypeId>
              <CUNS:BusinessPartnerID>11223344</BusinessPartnerID>
              <CUNS:SchemaVersion>1.0</SchemaVersion>
              <CUNS:DateTime>sy-datum</DateTime>
            </CUNS:HeaderInfo>
          </SOAP:Header>
          <SOAP:Body>
            <xsl:copy-of select="*"/>
          </SOAP:Body>
        </SOAP:Envelope>
      </xsl:template>
    </xsl:transform>
    In ABAP program, I have written below code for calling above Transformation.
      call transformation ('Z_ID')
           source tab = im_t_output[]
           result xml xml_out.
      call function 'SCMS_STRING_TO_FTEXT'
        exporting
          text      = xml_out
        tables
          ftext_tab = ex_t_xml_data.
    Please help me how to generate XML file with SOAP details from ABAP. If anybody have a sample program, please share with me.
    Is there any easy way to create the XML file in CALL Transformation. Please help.
    Thanks

    Try ABAP forum, as it seems not to be PI related.

  • How to create xml file through SDK?

    Hi,
    I need help in creating the xml file using SAP B1 SDK?
    i want to create xml file which is in tally xml format.
    Warm Ragards,
    Mahendra

    Hi Mahendra,
    This is an example to save a form as XML :
    try
                    System.Xml.XmlDocument oXmlDoc = null;
                    string sXmlString = null;
                    oXmlDoc = new System.Xml.XmlDocument();
                    // get the form as an XML string
                    sXmlString = Form.GetAsXML();
                    // load the form's XML string to the
                    // XML document object
                    oXmlDoc.LoadXml(sXmlString);
                    string sPath = null;
                    sPath = System.IO.Directory.GetParent(System.Windows.Forms.Application.StartupPath).ToString();
                    sPath = System.IO.Directory.GetParent(sPath).ToString();
                    // save the XML Document
                    oXmlDoc.Save((sPath + @"\Form" + sType + ".xml"));
                    //oXmlDoc.Save(DIRECTORY_TEMPLATE + "Form" + sType + ".xml");
                catch (Exception ex)
                    SBO_Application.MessageBox("ERROR in 'SaveAsXML()' : " + ex.Message, 1, "Ok", "", "");
    And an example to navigate in the XML file :
    System.Xml.XmlDocument xxml;
                                    System.Xml.XmlNode node;
                                    System.Xml.XmlNodeList nodes;
                                    xxml = new System.Xml.XmlDocument();
                                    xxml.LoadXml(oRecAU.GetAsXML());
                                    nodes = xxml.SelectNodes("BOM/BO/IFC_AU/row");
                                    foreach (System.Xml.XmlNode node in nodes)
                                        oColumn.ValidValues.Add(node.SelectSingleNode("Code").InnerText, node.SelectSingleNode("Name").InnerText);
    I hope it's help you.
    Regards
    Michael

  • Creating XML report using PL/SQL Stored Procedure

    Hi Friends,
    I am working on an xml report with the xml source as PL/SQL Stored Procedure.
    I am referring the exercise shown in the following link to understand the process:
       http://orclapp.blogspot.com/2012/02/developing-xml-publisher-report-using.html
    In the example shown in the above link I could not understand the following:
    1) In the following procedure, the out parameter 'retcode' is not used at all.
       What is the importance of this parameter.
        PROCEDURE REPORT (errbuf  OUT VARCHAR2, retcode  OUT VARCHAR2, p_product_id   IN     NUMBER)
    2)  After the xml data is prepared and put to 'l_result' Clob variable, the following
        Loop is executed. I am not able to appreciate why the following loop is required.
         LOOP
             EXIT WHEN l_length = l_retrieved;
             IF (l_length - l_retrieved) < 32000
             THEN
                SELECT SUBSTR (l_result, l_retrieved + 1) INTO l_xmlstr FROM DUAL;
                l_retrieved := l_length;
                fnd_file.put_line (fnd_file.output, l_xmlstr);
             ELSE
                SELECT SUBSTR (l_result, l_retrieved + 1, l_offset)
                  INTO l_xmlstr
                  FROM DUAL;
                l_retrieved := l_retrieved + l_offset;
                fnd_file.put_line (fnd_file.output, l_xmlstr);
             END IF;
         END LOOP;
    3) In the example it is not explained how the concurrent program gets the xml data?
       I assume it is written to a file using the following line of code:
        fnd_file.put_line (fnd_file.output, l_xmlstr);
       I would appreciate if anyone can throw some light into my above queries so that I can understand the process clearly.
    Thanks & Regards
    Hawker

    Hi 32000 in the code is a 'safe' size smaller than the max available 32767, the loops purpose is to move through the entire thing in chunks that will be manageable in the limits of the data type.
    Btw; if you are in Oracle e-business suite then you can also use Oracle reports very simply to create XML output.
    If you have reports developer all you need to do is put raw sql (without any 'artifice' to create XML) in the report SQL and then set the reports output to XML in the program definition in Oracle e-business.
    best regards,
    Robert.

Maybe you are looking for

  • IMac: Install Java 7 need help!

    Hello, I've an iMac with the newest software version, I want to install java 7 on it for a game server, but when I download it from java.com and I install it and start the server, it still says: Computer on java 6, update to 7 to run server. I alread

  • Buy new iphone with just 30 days warranty (need help pls)

    Hi all, i've just bought an iphone 4s 32Gb with zp code (hongkong) for my friend on February 11 2013. and didn't activate it until now i looked up in estimated expiration date ended on April 13 2013. I have no ideas why it's happen. Can somebody plea

  • Desktop Integration Suite

    Hi, I have installed desktop integration suite.I can access through the window explorer and lotus notes.But I am not getting the Oracle UCM menu in Microsoft Word.

  • Dual Core Power PC G5 and the ADC 17" Clear Display

    Anyone know of any incompatibilities between the two? I am using the Apple DVI to ADC Adaptor and when I turn it on I see nothing on the display. Ideas anyone? The display is the 17" Clear see through CRT Display.

  • Color with NO recommended video card?

    The recommended video card is no longer an option. The minimum card would be the nvidia 8800. This card doesn't support rendering in 10 12 or 16bit only 8 and 32 as far as I know. Does anyone know this to be different? Yes it does matter. render time