Include-xml calling as a POST

I have a HTML form calling a .xsql page.
That xsql page includes dynamically generated
XML.
I am trying to use the include-xml directive to call a URL (perl procedure) that will output XML data (dynamically created).
The perl (cgi-bin..) module expects to be called via a POST to parse the arguments automatically.
Is there a way from a xsql page to call a perl module including the arguments that were used to call the xsql page as a POST ?
Thanks for your help.
null

Are you asking whether <xsql:include-xml> supports an option to use HTTP POST instead of HTTP GET to retrieve the XML resource?
As far as passing parameters, you'd need to build up the appropriate URL in the href attribute, referencing the parameter values in the attribute value.

Similar Messages

  • xsql:include-xml

    if the href for the <xsql:include-xml> call doesn't return any results or returns null you get an xsql error. Is there a workaround?
    for example:
    <xsql:include-xml id="0">
    select xmltype.getclobval(doc) from tbl_test where id = {@id}
    </xsql:include-xml>
    if doc is null or the resultset is empty then you get <xsql-error action="xsql:include-xml" />.

    Include a <xsql:no-rows-query> element.
    <xsql:include-xml href="">
    Select xmltype.getClobVal
    <xsql:no-rows-query>
    Select Statement to use if include-xml returns null.
    </xsql:no-rows-query>
    </xsql:include-xml>

  • How to send te XML data using HTTPS post call & receiving response in ML

    ur present design does the HTTP post for XML data using PL/SQL stored procedure call to a Java program embedded in Oracle database as Oracle Java Stored procedure. The limitation with this is that we are able to do HTTP post; but with HTTPS post; we are not able to achieve because of certificates are not installed on Oracle database.
    we fiond that the certificates need to be installed on Oracle apps server; not on database server. As we have to go ultimately with HTTPS post in Production environment; we are planning to shift this part of program(sending XML through HTTPS post call & receiving response in middle layer-Apps server in this case).
    how i can do this plz give some solution

    If you can make the source app to an HTTP Post to the Oracle XML DB repository, and POST contains a schema based XML document you can use a trigger on the default table to validate the XML that is posted. The return message would need to be managed using a database trigger. You could raise an HTTP error which the source App would trap....

  • How to receive XML from Flex HTTP POST

    Hi,
    We curreontly have a setup where we have a FLEX frontend send an XML through a HTTP POST and awaiting a response also in XML. On the backend this is handled relatively simply by a PHP script that basically does the following:
    read data (in XML)from FlEX HTTP POST into a new temp XML file.
    execute a c++ program with the XML file as one of the parameter.
    return the result to FLEX
    We have decided to move to BlazeDS for various reasons.
    Looking at the examples bundled with BlazeDS they have a jsp example that returns an XML result to FLEX so that part is fine. I am trying to find an example of JSP (or Servlet) that is able to read the XML data from FLEX and write it into a temp XML file. I would then try to use runtime.exec to invoke a local C++ program to process the XML file the result of which will be sent back to FLEX.
    Any help will be very much appreciated!

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>I&#8217;d avoid calling an executable just to process XML &#8211;your<br />application server would provide enough support for reading and writing XML, no?<br />Also, if you&#8217;re only planning on working with XML then even BlazeDS might<br />be overkill because its focus is on sending strongly typed ActionScript data efficiently<br />to and from a client (it&#8217;s true that it does have a proxy service, but<br />that is not involved with processing the actual XML data).<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>How complex is your XML? Do you need to resolve ids and<br />references or can you parse it top down in a single pass? There are several<br />well known libraries in Java for dealing with XML &#8211; the choice depends on<br />how you need to interact with the XML. Most of them take an InputStream as a<br />source for reading XML and you can get the InputStream from the servlet<br />request. Googling should turn up numerous examples.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Pete<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><br /><br /><div><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> khwong<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Sunday, September 28, 2008 12:09 PM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> How to receive XML from Flex HTTP POST<o:p></o:p></span></p><br /><br /></div><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new discussion was started by<br />khwong in <br><br /><br><br /><b>General Discussion</b> --<br><br />  How to receive XML from Flex HTTP POST<br><br /><br><br />Hi, <br><br /><br><br />We curreontly have a setup where we have a FLEX frontend send an XML through a<br />HTTP POST and awaiting a response also in XML. On the backend this is handled<br />relatively simply by a PHP script that basically does the following: <br><br /><br><br />read data (in XML)from FlEX HTTP POST into a new temp XML file. <br><br />execute a c++ program with the XML file as one of the parameter. <br><br />return the result to FLEX <br><br /><br><br />We have decided to move to BlazeDS for various reasons. <br><br /><br><br />Looking at the examples bundled with BlazeDS they have a jsp example that<br />returns an XML result to FLEX so that part is fine. I am trying to find an<br />example of JSP (or Servlet) that is able to read the XML data from FLEX and<br />write it into a temp XML file. I would then try to use runtime.exec to invoke a<br />local C++ program to process the XML file the result of which will be sent back<br />to FLEX. <br><br /><br><br />Any help will be very much appreciated! <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b69b23">How to receive XML from<br />Flex HTTP POST</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b69b23!folder=.3c061a83">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div><br /><br /></div>

  • Reg: XML Gateway Error while posting invoice (PROCESS_INVOICE_002 )

    I'm trying to post the PROCESS_INVOICE_002 to Oracle 11i XML gateway which is supposed to route to the mentioned trading partner.
    When I observed the status through Workflow Admin web App - > Transaction Monitor the message has reached the INBOUND Queue but it is not able to route it/ process it ... and goes to error state with
    The Standard:OAG, Transaction Type:INVOICE , Transaction SubType:PROCESS and Location Code Bigmart is not enabled in the XML Gateway Server. Pls check your Setup.
    Then I had corrected the setup with the proper TP configuration.
    Now I'm getting a different error.
    Kindly give me some inputs regarding this.
    Now it is giving the below mentioned error. Here is the Process Summary:
    Document ID blrgislin15:26ae9b47:11a9c4ae5b9:46b1
    Internal Control Number 1656
    External Transaction Type INVOICE
    External Transaction Subtype PROCESS
    Party ID
    Party Type
    Trading Partner Name N/A
    Site Name N/A
    Processing Date 19-Jun-2008 16:41:15
    Processing Status Error
    Processing Message ORA-06502: PL/SQL: numeric or value error: character string buffer too small - ECX_INBOUND_TRIG.WRAP_VALIDATE_MESSAGE
    Processing Logfile
    The XML Invoice I'm posting is :
    <PROCESS_INVOICE_002>
         <CNTROLAREA>
              <BSR>
                   <VERB value="PROCESS">PROCESS</VERB>
                   <NOUN value="INVOICE">INVOICE</NOUN>
                   <REVISION value="002">002</REVISION>
              </BSR>
              <SENDER>
                   <LOGICALID>BigMart</LOGICALID>
                   <COMPONENT>INVOICE</COMPONENT>
                   <TASK>PROCESS</TASK>
                   <REFERENCEID></REFERENCEID>
                   <CONFIRMATION>0</CONFIRMATION>
                   <LANGUAGE>ENG</LANGUAGE>
                   <CODEPAGE>UTF8</CODEPAGE>
                   <AUTHID>APPS</AUTHID>
              </SENDER>
              <DATETIME qualifier="CREATION">
                   <YEAR>2003</YEAR>
                   <MONTH>09</MONTH>
                   <DAY>22</DAY>
                   <HOUR>07</HOUR>
                   <MINUTE>30</MINUTE>
                   <SECOND>18</SECOND>
                   <SUBSECOND>0000</SUBSECOND>
                   <TIMEZONE>-0500</TIMEZONE>
              </DATETIME>
         </CNTROLAREA>
         <DATAAREA>
              <PROCESS_INVOICE>
                   <INVHEADER>
                        <AMOUNT qualifier="DOCUMENT" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <DATETIME qualifier="DOCUMENT">
                             <YEAR>2003</YEAR>
                             <MONTH>09</MONTH>
                             <DAY>23</DAY>
                             <HOUR>01</HOUR>
                             <MINUTE>00</MINUTE>
                             <SECOND>00</SECOND>
                             <SUBSECOND>0000</SUBSECOND>
                             <TIMEZONE>-0500</TIMEZONE>
                        </DATETIME>
                        <DOCUMENTID>10000</DOCUMENTID>
                        <DESCRIPTN>INVOICES FROM STAPLES</DESCRIPTN>
                        <REASONCODE>INVOICE</REASONCODE>
                        <PARTNER>
                             <NAME index="1">STAPLES-LA</NAME>
                             <PARTNRID>STAPLES-LA</PARTNRID>
                             <PARTNRTYPE>SUPPLIER</PARTNRTYPE>
                             <ADDRESS>
                                  <ADDRLINE index="1">22355 WEST ELEVEN MILE ROAD</ADDRLINE>
                                  <CITY>LOS ANGELES</CITY>
                                  <COUNTRY>US</COUNTRY>
                                  <POSTALCODE>48034</POSTALCODE>
                                  <STATEPROVN>CA</STATEPROVN>
                             </ADDRESS>
                             <CONTACT>
                                  <NAME index="1">JOHN STAPLES</NAME>
                                  <CONTCTTYPE>ACCOUNTING</CONTCTTYPE>
                                  <EMAIL>[email protected]</EMAIL>
                             </CONTACT>
                        </PARTNER>
                   </INVHEADER>
                   <INVLINE>
                        <AMOUNT qualifier="EXTENDED" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <AMOUNT qualifier="TOTAL" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <OPERAMT qualifier="UNIT" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <UOMVALUE>1</UOMVALUE>
                             <UOMNUMDEC>0</UOMNUMDEC>
                             <UOM>EA</UOM>
                        </OPERAMT>
                        <QUANTITY qualifier="ITEM">
                             <VALUE>100</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <UOM>EA</UOM>
                        </QUANTITY>
                        <LINENUM>1</LINENUM>
                        <DESCRIPTN>1st Invoie Line</DESCRIPTN>
                   </INVLINE>
              </PROCESS_INVOICE>
         </DATAAREA>
    </PROCESS_INVOICE_002>

    Hi, Due to some other problem with my setup, I had to reinstall E-Biz, and again did all the configuration freshly and tried posting the same xml but for the current customer configuration. It went successfully. Here is the xml I'have posted. You can try configuring your transactions and Trading Partner as given in the XML gateway User Guide, which is available as part of the documentation.
    <?xml version="1.0"?>
    <!DOCTYPE PROCESS_INVOICE_002 SYSTEM "171_process_invoice_002.dtd">
    <PROCESS_INVOICE_002>
         <CNTROLAREA>
              <BSR>
                   <VERB value="PROCESS">PROCESS</VERB>
                   <NOUN value="INVOICE">INVOICE</NOUN>
                   <REVISION value="002">002</REVISION>
              </BSR>
              <SENDER>
                   <LOGICALID>Bigmart</LOGICALID>
                   <COMPONENT>INVOICE</COMPONENT>
                   <TASK>PROCESS</TASK>
                   <REFERENCEID></REFERENCEID>
                   <CONFIRMATION>0</CONFIRMATION>
                   <LANGUAGE>ENG</LANGUAGE>
                   <CODEPAGE>UTF8</CODEPAGE>
                   <AUTHID>APPS</AUTHID>
              </SENDER>
              <DATETIME qualifier="CREATION">
                   <YEAR>2008</YEAR>
                   <MONTH>07</MONTH>
                   <DAY>08</DAY>
                   <HOUR>07</HOUR>
                   <MINUTE>30</MINUTE>
                   <SECOND>18</SECOND>
                   <SUBSECOND>0000</SUBSECOND>
                   <TIMEZONE>-0500</TIMEZONE>
              </DATETIME>
         </CNTROLAREA>
         <DATAAREA>
              <PROCESS_INVOICE>
                   <INVHEADER>
                        <AMOUNT qualifier="DOCUMENT" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <DATETIME qualifier="DOCUMENT">
                             <YEAR>2008</YEAR>
                             <MONTH>07</MONTH>
                             <DAY>08</DAY>
                             <HOUR>01</HOUR>
                             <MINUTE>00</MINUTE>
                             <SECOND>00</SECOND>
                             <SUBSECOND>0000</SUBSECOND>
                             <TIMEZONE>-0500</TIMEZONE>
                        </DATETIME>
                        <DOCUMENTID>10001</DOCUMENTID>
                        <DESCRIPTN>INVOICES FROM STAPLES</DESCRIPTN>
                        <REASONCODE>INVOICE</REASONCODE>
                        <PARTNER>
                             <NAME index="1">BigMart</NAME>
                             <PARTNRID>BigMart</PARTNRID>
                             <PARTNRTYPE>Customer</PARTNRTYPE>
                             <ADDRESS>
                                  <ADDRLINE index="1">100 Main Street Bentonville</ADDRLINE>
                                  <CITY>Arizona</CITY>
                                  <COUNTRY>US</COUNTRY>
                                  <POSTALCODE>38019</POSTALCODE>
                                  <STATEPROVN>AR</STATEPROVN>
                             </ADDRESS>
                             <CONTACT>
                                  <NAME index="1">JOHN STAPLES</NAME>
                                  <CONTCTTYPE>ACCOUNTING</CONTCTTYPE>
                                  <EMAIL>[email protected]</EMAIL>
                             </CONTACT>
                        </PARTNER>
                   </INVHEADER>
                   <INVLINE>
                        <AMOUNT qualifier="EXTENDED" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <AMOUNT qualifier="TOTAL" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <OPERAMT qualifier="UNIT" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <UOMVALUE>1</UOMVALUE>
                             <UOMNUMDEC>0</UOMNUMDEC>
                             <UOM>EA</UOM>
                        </OPERAMT>
                        <QUANTITY qualifier="ITEM">
                             <VALUE>100</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <UOM>EA</UOM>
                        </QUANTITY>
                        <LINENUM>1</LINENUM>
                        <DESCRIPTN>1st Invoie Line</DESCRIPTN>
                   </INVLINE>
              </PROCESS_INVOICE>
         </DATAAREA>
    </PROCESS_INVOICE_002>

  • Change over from a simple Xml call to a rpc-Http call ....

    Hi there,
    I need to change over from a simple Xml call:
    <mx:XML id="urlsGeneral" source="http://www.mySite.com//.../AFS.xml"/>
    to a rpc-Http call which is updating the readout if Xml is changed at any time.
    I forgot to mention the most important item yet a very simple one: I need this only to be displayed in a title etc, and NOT a datagrid or else example below.
    title="{urlsGeneral.urlGeneral.(@name==0).age}
    I tried a lot today, but just can't get it right as the id="urlsGeneral" is always the problem.
    Any help would be appriciated !!! Thanks in advance. regards aktell2007
    <urlsGeneral>
    <urlGeneral>
    <name>Jim</name>
    <age>32</age>
    </urlGeneral>
    <urlGeneral>
    <name>Jim</name>
    <age>32</age>
    </urlGeneral>
    </urlsGeneral>
    Another call:
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    public var myData:ArrayCollection;
    protected function myHttpService_resultHandler(event:ResultEvent):void {
    myData = event.result.urlsGeneral.urlGeneral;
    ]]>
    </mx:Script>
    <mx:HTTPService
    id="myHttpService"
    url="http://www.mySite.com//..../AFS.xml"
    result="myHttpService_resultHandler(event)"/>
    Preferable I wanted something like this to work:
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.FaultEvent;
    import mx.managers.CursorManager;
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.xml.SimpleXMLDecoder;
    // Don't use here as it is already used in .swc !
    /* import mx.rpc.http.HTTPService; */
    private var myHTTP:HTTPService;
    private function initConfigCall():void {
    myHTTP = new HTTPService();
    myHTTP.url = "com/assets/data/changesAppAIRPIOne001.xml";
    myHTTP.send();
    myHTTP.resultFormat = "xml";
    myHTTP.addEventListener(ResultEvent.RESULT, resultHandler);
    myHTTP.addEventListener(FaultEvent.FAULT, faultHandler);
    CursorManager.setBusyCursor();
    private function resultHandler(evt:ResultEvent):void {
    var xmlStr:String = evt.result.toString();
    var xmlDoc:XMLDocument = new XMLDocument(xmlStr);
    var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true);
    var resultObj:Object = decoder.decodeXML(xmlDoc);
    // Removed [0] on single node !
    appUpdateAvl.text = resultObj.application.configApp.appNewUpDate;
    appLastChanged.text = resultObj.application.configApp.appLastChanged;
    appChangedSections.text = resultObj.application.configApp.appChangedSections;
    CursorManager.removeBusyCursor();
    myHTTP.disconnect();
    private function faultHandler(event:mx.rpc.events.FaultEvent):void {
    var faultInfo:String="fault details: "+event.fault.faultDetail+"\n\n";
    faultInfo+="fault faultString: "+event.fault.faultString+"\n\n";
    mx.controls.Alert.show(faultInfo,"Fault Information");
    var eventInfo:String="event target: "+event.target+"\n\n";
    eventInfo+="event type: "+event.type+"\n\n";
    mx.controls.Alert.show(eventInfo,"Event Information");
    CursorManager.removeBusyCursor();
    myHTTP.disconnect();
    ]]>
    </mx:Script>

    Hi again,
    These days there are more quetions than answeres on any forum, and very seldom anybody shares the answer if they lucky enough to work it out so here is my answer for the above question
    Change over from a simple Xml call to a rpc-Http call ....
    I had it all along as a commend noted: // Removed [0] on single node !
    So instead of title="{urlsGeneral.urlGeneral.(@name==0).age} it would be now title="{resultObj.urlsGeneral.urlGeneral.[0].age} and now it works perfectly well. I hope that one or the other of you can use the answer and the code !!! regards aktell2007

  • Include xml from string

    If this xml would have been in file I could have used following code:
    <?xml version="1.0" encoding='WINDOWS-1252'?>
    <?xml-stylesheet type="text/xsl" href="t.xsl" ?>
    <page xmlns:xsql="urn:oracle-xsql">
    <xsql:include-xsql href="order_id_seq.xsql" reparse="no" />
    <xsql:include-xml href="order.xml"/>
    </page>
    But i will be getting xml as string .so could you please tell me how can i include a xml which i will be receiving as a string in xsql .
    Thanks

    I would like to correct the version informaiton. We are using SUN JAVA WEBSERVICES DEVELOPERS PACK (JWSDP1.1).
    Nathan

  • Can i call a HTTP Post method in ABAP or XI?

    Hi All,
    Can you please let me know how to call a HTTP Post method in ABAP or XI?
    my HTTP Post is looks like (HTML form)
    <form action="http://111.111.111.1:8080/sample_url" method="POST">
    <table>
    <tr><th>applicationId</th><td><input type="text" name="applicationId" value="test"></td></tr>
    <tr><th>authCode</th><td><input type="text" name="authCode" value="test"></td></tr>
    <tr><th>message</th><td><input type="text" name="message" value="Hello"></td></tr>
    <!--<tr><th>version</th><td><input type="text" name="version" value="3.1"></td></tr> -->
    <tr><th>contractId</th><td><input type="text" name="contractId" value="test"></td></tr>
    <tr><th>receiverMobileNumber</th><td><input type="text" name="receiver" value="11111111111"></td></tr>
    <tr><td colspan="2"><input type="submit" name="send" value="send"></td></tr>
    </table>
    </form>
    I have a requirement to send a message to the above mention URL using the POST method.
    Please let me know the possibility of sending it from ABAP or XI adaptor.
    Thanks & Regards,
    Chaminda

    Hi Prateek,
    shoul we send the below code as the payload?
    <tr><th>applicationId</th><td><input type="text" name="applicationId" value="test"></td></tr>
    <tr><th>authCode</th><td><input type="text" name="authCode" value="test"></td></tr>
    <tr><th>message</th><td><input type="text" name="message" value="Hello"></td></tr>
    <!--<tr><th>version</th><td><input type="text" name="version" value="3.1"></td></tr> -->
    <tr><th>contractId</th><td><input type="text" name="contractId" value="test"></td></tr>
    <tr><th>receiverMobileNumber</th><td><input type="text" name="receiver" value="11111111111"></td></tr>
    Thanks.
    Chaminda

  • Xsql: merging data with include-xml

    Is there any way for the data returned from <xsql:include-xml> to include a primary key so that the stylesheet can merge the data in.
    In my situation, I have a primary result set from xsql:query but it has two fields in varchar2's that include xml content. (This is oracle 8i.) So I need to query for this separately -- using xsql:include-xml.
    I'm trying to merge this data back in to the primary result set via an xsl transform. But I need some way of identifying corresponding records. Can I have a second field in my xsql:include-xml query that will be used as a primary key? And maybe inserted as an attribute?
    Has anyone been through this or have any thoughts on my conundrum?

    Can show an example for what you plan to do? Normally, you need to use reparse="yes".

  • Invalid UTF8 encoding when including XML page in XSQL

    Hello
    I'm creating an XSQL page that includes an XML page generated using PSP
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <page xmlns:xsql="urn:oracle-xsql" connection="sgvrt">
    <xsql:include-xml href="http://epdesccs.pdvsa.com:7777/pls/sgvrt/xml_indicadores_epm"/>
    </page>
    I'm not using <xsql:include-owa> because I get another error "Node not in document". When I run the XSQL I get:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <page>
    <xsql-error action="xsql:include-xml">
    <message>Invalid UTF8 encoding.</message>
    </xsql-error>
    </page>
    The page that is being generated by the PSP is:
    <?xml version="1.0" standalone="no" encoding="ISO-8859-1"?>
    <indicadores_gestion_epm xmlns:ind="urn:intesa-ind">
    <fecha>Junio 2001</fecha>
    <ind:indicador><ind:descripcion>Costo de Generacisn de Potencial por Perforacisn (Conv.)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>48,21</ind:real_valor><ind:unidad_medida>M$/Bl</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Generacisn de Potencial por Perforacisn (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>M$/Bl</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Exploracion Aqo Actual (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>22,48</ind:real_valor><ind:unidad_medida>$/BPE</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Exploracion Promedio (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>19,98</ind:real_valor><ind:unidad_medida>$/BD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Incorporacion de Reservas Probadas y Probables de Crudo (GD)</ind:descripcion><ind:plan_valor>647</ind:plan_valor><ind:real_valor>2</ind:real_valor><ind:unidad_medida>MMBLs</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Incorporacion de Reservas Probadas y Probables Gas (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>4</ind:real_valor><ind:unidad_medida>MMMPC</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Contribuciones a las Reservas Probadas de Gas (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>5</ind:real_valor><ind:unidad_medida>MMMPC</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Produccion Disponible Promedio de Crudo (GD)</ind:descripcion><ind:plan_valor>362,8</ind:plan_valor><ind:real_valor>1401,66</ind:real_valor><ind:unidad_medida>MBD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Capacidad de Produccisn de Crudo</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>MBD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Contribuciones a las Reservas Probadas de Crudo (GD)</ind:descripcion><ind:plan_valor>1750</ind:plan_valor><ind:real_valor>1750</ind:real_valor><ind:unidad_medida>MMBLs</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo Unitario de Operacisn (Conv.)</ind:descripcion><ind:plan_valor>0</ind:plan_valor><ind:real_valor>,01</ind:real_valor><ind:unidad_medida>$/BL</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo Unitario de Operacisn (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>102,53</ind:real_valor><ind:unidad_medida>$/BL</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Disponibilidad de Gas (Acumulado)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>MMPCD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Produccion de Crudo Entregada a RSC Promedio</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>MBD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Generacion de Potenc. RA/RC (Conv.)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>3,15</ind:real_valor><ind:unidad_medida>M$/BD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Generacion de Potenc. RA/RC (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>M$/BD</ind:unidad_medida></ind:indicador>
    </indicadores_gestion_epm>
    So the two pages have encoding="ISO-8859-1" so why is the XML Parser sending an <message>Invalid UTF8 encoding.</message>.

    Hello
    I'm creating an XSQL page that includes an XML page generated using PSP
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <page xmlns:xsql="urn:oracle-xsql" connection="sgvrt">
    <xsql:include-xml href="http://epdesccs.pdvsa.com:7777/pls/sgvrt/xml_indicadores_epm"/>
    </page>
    I'm not using <xsql:include-owa> because I get another error "Node not in document". When I run the XSQL I get:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <page>
    <xsql-error action="xsql:include-xml">
    <message>Invalid UTF8 encoding.</message>
    </xsql-error>
    </page>
    The page that is being generated by the PSP is:
    <?xml version="1.0" standalone="no" encoding="ISO-8859-1"?>
    <indicadores_gestion_epm xmlns:ind="urn:intesa-ind">
    <fecha>Junio 2001</fecha>
    <ind:indicador><ind:descripcion>Costo de Generacisn de Potencial por Perforacisn (Conv.)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>48,21</ind:real_valor><ind:unidad_medida>M$/Bl</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Generacisn de Potencial por Perforacisn (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>M$/Bl</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Exploracion Aqo Actual (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>22,48</ind:real_valor><ind:unidad_medida>$/BPE</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Exploracion Promedio (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>19,98</ind:real_valor><ind:unidad_medida>$/BD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Incorporacion de Reservas Probadas y Probables de Crudo (GD)</ind:descripcion><ind:plan_valor>647</ind:plan_valor><ind:real_valor>2</ind:real_valor><ind:unidad_medida>MMBLs</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Incorporacion de Reservas Probadas y Probables Gas (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>4</ind:real_valor><ind:unidad_medida>MMMPC</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Contribuciones a las Reservas Probadas de Gas (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>5</ind:real_valor><ind:unidad_medida>MMMPC</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Produccion Disponible Promedio de Crudo (GD)</ind:descripcion><ind:plan_valor>362,8</ind:plan_valor><ind:real_valor>1401,66</ind:real_valor><ind:unidad_medida>MBD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Capacidad de Produccisn de Crudo</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>MBD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Contribuciones a las Reservas Probadas de Crudo (GD)</ind:descripcion><ind:plan_valor>1750</ind:plan_valor><ind:real_valor>1750</ind:real_valor><ind:unidad_medida>MMBLs</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo Unitario de Operacisn (Conv.)</ind:descripcion><ind:plan_valor>0</ind:plan_valor><ind:real_valor>,01</ind:real_valor><ind:unidad_medida>$/BL</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo Unitario de Operacisn (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>102,53</ind:real_valor><ind:unidad_medida>$/BL</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Disponibilidad de Gas (Acumulado)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>MMPCD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Produccion de Crudo Entregada a RSC Promedio</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>MBD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Generacion de Potenc. RA/RC (Conv.)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>3,15</ind:real_valor><ind:unidad_medida>M$/BD</ind:unidad_medida></ind:indicador>
    <ind:indicador><ind:descripcion>Costo de Generacion de Potenc. RA/RC (GD)</ind:descripcion><ind:plan_valor>N/D</ind:plan_valor><ind:real_valor>0</ind:real_valor><ind:unidad_medida>M$/BD</ind:unidad_medida></ind:indicador>
    </indicadores_gestion_epm>
    So the two pages have encoding="ISO-8859-1" so why is the XML Parser sending an <message>Invalid UTF8 encoding.</message>.

  • Using include-xml and different character encodings

    I have static XML documents which contain different character encodings in the xml prolog....
    ISO-8859, UTF-8, and SHIFT_JIS.
    Each of these documents has entities declared in an internal doctype declaration.
    I have an XSQL page with several <xsql:include-xml href="???.xml"/> statements.
    I want to make either --
    1) UTF-8 as the ultimate encoding of the resulting XML data
    2) Force the encodings on the individual documents to be changed to UTF-8
    I want to get a final XML data steam which can be successfully parsed and transformed. The xsql page has a stylesheet reference.
    Any assistance would be greatly appreciated.
    null

    karol wrote:XML and XSLT are separate, but they're not suitable for printing / pdf generation - LaTeX is. XML is really fluid and has no notions of typesetting built in. It's perfect for on-line reports you view with a web browser.
    Can I ask why XML and XSLT aren't suitable for printing / pdf generation?  Using XSL-FO I can define a page size, margin widths, etc., right?  Just because it isn't normally done doesn't immediately make it a bad idea.  I was under the impression that XML was intended to be abstract enough that it could be used for more than just web pages or data transfer.

  • Hey Verizon / HTC / Google  Please fix the caller ID problem, post 2.2 Froyo UPDATE.

    Hey Verizon / HTC / Google  Please fix the caller ID problem, post 2.2 Froyo UPDATE.  This is a major Problem. 

    I have provided some steps below that may help with the Caller Id issue you are experiencing.
    Try completing a soft reset on the device. A soft reset would be powering the device off and pulling out the battery. Once the battery is removed, place it back in and power the device back on.
    Dial *228 and send. Once dialed, listen for the recording to prompt you for option 1 and select option 1. The phone should complete its programming within a minute.
    Ensure you are using the area-code and 7 digit number format (ex. 9999951212)
    Try removing the contact and re-adding it.

  • Air 2.6 Include XML file

    Hi guys,
    I successfully created a highscore list for AIR 2.6 using File.applicationStorageDirectory.
    file = File.applicationStorageDirectory.resolvePath("highscore.xml");
    fileStream = new FileStream();
    fileStream.open(file, FileMode.READ);
    highscoreXML = new XML(fileStream.readUTFBytes(fileStream.bytesAvailable));
    This works on my desktop debug, but it does not seem to work on my Ipad though.
    This is how I package the file.. putting the included xml file at the end (is this right?)
    ./adt  -package -target ipa-test -storetype pkcs12 -keystore  Certificates.p12 -storepass PASS  -provisioning-profile MotoMemoryProfile.mobileprovision motoMemory.ipa  motoMemory-app.xml motoMemory.swf highscore.xml
    It works until it has to open the highscore.xml. Not sure how to debug this or if I am missing anyhthing...
    I would really appreciate any input.
    cheers
    /andreas

    I had this problem too.  Was getting IO errors.  What ended up fixing it was changing the path from "file.xml" to "/file.xml".
    For some reason, I only had that problem with XML files needing the / in front.
    Also, you might wasnt to consider using the SharedObject instead of an XML file.  Much easier.
    var myData:SharedObject = SharedObject.getLocal("scores");
    myData.data.scores = <your scores object>;
    Mike

  • How to include XML Prolog in BPEL SOAP message.

    Hi,
    I'm using SOA Suite 11g on WebLogic and have a BPEL Process in a composite application that is calling a third party SOAP Web Service.
    Whilst it is standard for a SOAP service to not care whether or not the SOAP message includes an XML Prolog (<?xml version="1.0" encoding="utf-8"?>) this third party service rejects the message if the prolog is not included.
    Unfortunately the partner link in my BPEL process is not adding the prolog when invoking the service and I cannot get the third party service changed to accept messages without it.
    Does anyone know how I can make BPEL include the prolog in SOAP messages?
    Currently the SOAP message looks like this:-
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header/>
    <soap:Body>
    </soap:Body>
    </soap:Envelope>
    What I would like it to look like is this :-
    *<?xml version="1.0" encoding="utf-8"?>*
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header/>
    <soap:Body>
    </soap:Body>
    </soap:Envelope>
    Thanks in advance...

    Hi swigg,
    It's not the partnerlink input variable that I want to manipulate, it's the SOAP Envelope that the Partner Link generates when it is invoked.
    I know that you can manipulate the SOAP Header by adding properties to the Partnerlink but it's the Envelope that surrounds both the Header and the Body that I want to set the prolog on.
    It can be done in java and .NET (WCF) by setting a property on the SOAP Envelope class, but I can't see a way to do it for a partner link in BPEL which is a shame.
    To be honest it looks like Oracle have let me down here so I'll have to use some other technology to call this service which unfortunately plays into the hands of those that didn't think I should use Oracle's BPEL offering in the first place.
    Thanks.

  • How do I modify invoice request xml file by adding posting date?

    Hi,
    We import customer invoice requests via xml files from an external data source. Currently the standard SAP xml file does not include the posting date, and invoices enter SAP with a blank posting date. When the invoice is released, the posting date is taken from the invoice date.
    Due to our month end processes, we have hundreds of invoice requests every month where we do not want posting date to equal the invoice date, and for each of those invoices the posting date is manually entered one invoice at a time during the release process. This is very time consuming.
    We would like to build functionality in our external system to create the posting date at the xml file generation stage. Could anyone let us know the following:
    - what is the name of the posting date field on invoice requests (invoice documents)?
    - where would we place the additional script in the xml file?
    I'm attaching one of our current xml files (which already contains one section that has been customized)
    Your suggestions would be appreciated.
    Thanks,
    Kerstin

    Kerstin,
    The closest i could find in the WSDL of the Manage Invoice Request Web Service that handles this integration is "<ProposedInvoiceDate>" or possibly even "<ProposedDeviatingPostingdate>", both of which sit directly under the <CustomerInvoiceRequest> element.
    For more information, go to the Service Explorer, find the ManageInvoiceRequestsIn Web Service, download the WSDL, and open it in SOAP-UI or something similar. This way you can see all the fields that you can write to, which is where i found these two elements.

Maybe you are looking for

  • How to send a Varying Array param to a PL/SQL Stored Procedure from Java

    * I am VERY new to jdbc, and even somewhat new to Java * I'm using Java 1.5, Oracle 10g. * I need to call the following PL/SQL Stored Procedure from Java: procedure setEventStatus i_deQueueStatus in deQueueStatus_type *deQueueStatus_type is the follo

  • Implement abstract method from base class problem

    Here is the example: public abstract class AbstractClass{ protected double aVariable; protected abstract double abstractMethod(); public class RealClass extends AbstractClass{ public double abstractMethod(){ return aVariable; Error message: RealClass

  • Depreciation posting Error in unplanned run

    Hi I am exectuting AFAB deprecation run for unplanned depreciation Test run in background process. if iam exectuing test run directly it is not showing any errors just it saying as "Test run completed successfully.  But if am executing the Test Run t

  • How do I close just the top toolbar, the one with the create button and the Quick Tools?

    Just upgraded from 9 to X. The manual says, "When your work does not involve using the tools in a toolbar, you can close the toolbar to tidy up the work area." But then after that it only provides instructions on how to hide all toolbars. I want to h

  • EoMPLS Xconnect between 2811XM and 7606 with RSP720

    We have an urgent need to quickly deploy an MPLS capable router to carry l2 traffic. We use mpls xconnects throughout our network. I am having difficulty establishing an xconnect between a 2811XM ISR and a 7606. OSPF and BGP are up, MPLS establishes,