loading the XML data in password protected URLs

Using Flash Professional 8...

I have an application that loads the XML data in remote servers.

It works fine, except that the company provide me with the data decided to protect their files. It seems they use IIS or .htaccess protection of password for the style.

I have a valid user name and password, but I do not know how to integrate those when calling the URL to authenticate.

I think I need to use loadVars objects, but I've not been able to find examples where people use this method for this style of security. I see most of the examples deal with submit a name of user and password on a URL and then receive a response.
The security of this type does not follow this pattern. The URL is blocked unless a name of user and password is entered in a box even before see pages.

LoadVars to use for this?

If Yes, are there an example or something that I can see?

If this is not the case, how Flash authenticates this style of security?

This seems like a fairly standard issue, and I am puzzled that I can't yet find other examples. Am I stupid?

Thank you
Joe

Maybe it helps.
http://www.martijndevisser.com/blog/article/using-HTTP-authorization-headers

Tags: Adobe Animate

Similar Questions

  • Load the XML data to the UNIX server directly to Tables of database relational

    Is there a way I can load some data from an XML file in the Oracle Tables, without going through the input file XML in a directory of the Oracle server. My XML file resides on the UNIX application server. And I need to load the data directly into database tables. Without load them into the database directory.


    Also, I'm looking for a solution that would not load my database much and affect other processes running. Can be done using SQL Loader?


    Oracle database version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Thanks for the companions of answers!

    There I helped to learn a lot of options.

    But the easiest using UNIX server that worked for me was to use an XSLT transformation to convert the XML file to a delimited file. (Load the unix server, save the Oracle resources).

    UNIX 'xsltproc' feature was not a bad option.

    Then use SQL Loader to load into tables.

    Bravo!

    Rahul

  • load the xml file into a database to help table of travel point

    Hello

    Someone help me please with a possible approach. I have an interface for APEX users where users can download a file xml in apex table wwv_flow_files using the element to browse with a button "submit". Now, after loading the xml file in the wwv_flow_files table. I need to read and load the xml data into a table sample_tbl. I'm using the version of Oracle APEX 4.0 and Oracle 10 g R2 database. Here is an example of XML file to load. Please help me possible suggestions.

    <? XML version = "1.0" encoding = "UTF-8"? >

    < dataroot generated =... >

    < MySample >

    < KeyId > 1234 < / KeyId >

    eddskc < KeyName > < / KeyName >

    < scheduleDate > 2013-06-16T 00: 00:00 < / ScheduleDate >

    < StartTime > 2013-06-16T 08: 00:00 < / StartTime >

    < EndTime > 2013-06-16T 08:30:00 < / EndTime >

    < / MySample >

    < MySample >

    < KeyId > 5678 < / KeyId >

    jppdf < KeyName > < / KeyName >

    < scheduleDate > 2013-05-19T 00: 00:00 < / ScheduleDate >

    < StartTime > 2013-05-19T 08: 00:00 < / StartTime >

    < EndTime > 2013-05-19T 08:30:00 < / EndTime >

    < / MySample >

    < / dataroot >

    Thanks in advance.

    Thank you

    Orton

    orton607 wrote:

    My sample_tbl has a start_time field and its data type DATE.

    Good.  Be sure to always store dates as the DATE.

    The application (in this case, APEX) needs to format the date date type in the appropriate human-readable format.

    The problem with the incoming data is the 't'.  You will need to convert a space using REPLACE() in the framework so that your SELECT statement

    From there on, conversion to the DATE data type is simply

    to_date( replace( start_time_str, 'T', ' '), 'YYYY-MM-DD HH24:MI:SS') as start_time
    

    And, just in case where, the conversion of DATE for the desired format:

    to_char( start_time, 'MM/DD/YYYY HH12:MI:SS AM')
    

    Although, I'm 'hours' as being left-padded with zeros... Am I looking for how / if you can get rid of the zero prefix (0).

  • Error occurred when the XML data is inserted in the table.

    Hello

    I'm trying to load the xml data into the table of following code.but get below error

    Error on line 1
    ORA-31011: XML parsing failed
    ORA-19202: an error has occurred in the processing of XML
    LPX-00222: error received from the SAX callback function
    ORA-06512: at "SYS." DBMS_XMLSTORE', line 78
    ORA-06512: at line 21

    DECLARE
     
      xmldoc   clob;
      insCtx   DBMS_XMLStore.ctxType;
      dname    varchar2(20) := 'MDIR';
      rows  number;
     
     BEGIN
     
        xmldoc := dbms_xslprocessor.read2clob(dname, 'try_xm3.xml');
        insCtx := DBMS_XMLStore.newContext('try1');
     dbms_output.put_line('1');
        DBMS_XMLStore.setRowTag(insCtx, 'cajas');
     rows := DBMS_XMLStore.insertXML(insCtx, xmlDoc);
     
     commit;
      dbms_output.put_line('INSERT DONE '||TO_CHAR(rows));
     
      DBMS_XMLStore.closeContext(insCtx);
     
     END;
    <?xml version="1.0" encoding="utf-8"?>
    <cajas xmlns="PBcion.Caja" fec="2011-03-02T14:20:14" codDeleg="093">
      <caj codPrev="80001223" fechaInicio="2011-03-02" fec="2011-09-02" couta="01" idPerio="1" caj="32"></caj>
     </cajas>
    can you please look at this?
    I m using oracle 10g
    insert
      into try1
      with t as (
                 select xmltype('') x from dual
                )
      select  codPrev,
              fechaInicio,
              fec,
              couta,
              idPerio,
              caj
        from  t,
              xmltable(
                       '/'
                       passing x
                       columns
                         codPrev number path '@codPrev',
                         fechaInicio varchar2(25) path '@fechaInicio',
                         fec varchar2(25) path '@fec',
                         couta number path '@couta',
                         idPerio number path '@idPerio',
                         caj number path '@caj'
                      )
    /
    
    1 row created.
    
    SQL>  select  *
      2    from  try1
      3  /
    
       CODPREV FECHAINICIO               FEC                            COUTA    IDPERIO        CAJ
    ---------- ------------------------- ------------------------- ---------- ---------- ----------
      80001223 2011-03-02                2011-09-02                         1          1         32
    
    SQL> 
    

    SY.

  • Load the xml into the mc symbols

    I am new to the integration of xml in my flash. I have used the components that make the link between for me, but have never tried to do the code myself. My project is a simple slideshow, which has transitions on the timeline that are very important to the project. I created an image holder movie clip symbol that is the same size as my images. I created the slideshow using multiple instances (each with its own instance name slide01, slide02, etc.) of this medium. All I want to do is to load from a xml file .jpg files to fill the files with the licensee prior to execution. I got the code works for the first image, but none of the others will fill. I am trying to load the xml data into a table, and then draw the table to fill the mc symbols. I modified the code I found in a tutorial. Help, please!

    You must slide01 movieclips,... slide10 to exist when this code runs.

    to see your images load those jpgs must be in the same directory as your html incorporation (or swf so you test in the flash test environment) and your movieclips slides must be visible (and does not cover the other).

  • file index.xml missing existing password protected worksheet the worksheet

    file index.xml missing existing password protected worksheet the worksheet

    What spreadsheet, Excel,...? What model computer/year? What if any error message? Did you create the spreadsheet? Have you checked with the developer of the worksheet for help, Microsoft for example?

    Writing an effective question of communities of Apple Support

  • Can't view the data after loading the XML into RTF model

    Hi friends

    I am unable to view data in PDF after loading the XML into RTF model
    After I load the XMl file to my model
    The complement of the tab, I'm trying to get a glimpse of the output as pdf/xml etc, but he throws and error
    Window does not
    'C:\DOCUME~1\SYSNAME~\LOCALS~\APPLIC~1\Oracle\BIPUBL~1\TEMPLA~\tmp\3513518782149421out.pdf214921out.pdf '. Make sure you typed the name correctly and then try again. To search for a file, click the Start button and click Search

    I gave the name correctly only, but don't know y it displays error I have to reinstall the Office of Oracle BI Publisher once more please advice me what needs to be done to solve my problem of my PC

    Thank you
    Thiliban

    It seems that the problem is with the working directory of the BIP Office.

    If you have administrator access to the computer, please do the following:
    1 Windows-> Run-> regedit
    2. find the value of the next entry
    Publisher\Template HKEY_CURRENT_USER\Software\Oracle\XML for Word\TB_WORK_DIR generator
    3. change your path C:\DOCUME~1\SYSNAME~\LOCALS~\APPLIC~1\ORACLE\BIPUBL~1\TEMPLA~\tmp

    See you soon,.
    ND
    Use the buttons "useful" or "correct" to award points to the answers / mark the thread as answered, if your question is answered.

  • load the XML file field Companion without cross-domain policy file

    Hello.

    Assuming that there are two areas companions on the same server: /public_html/domain1.com and /public_html/domain2.com

    I'm trying to load the XML from domain2.com in domain1.com without using a cross-domain policy file (since it does not work with xml files in my case).

    So the idea is to use a php file to load XML and read it back to Flash.

    I found an interesting scripts that seems to do the job, but unfortunately I can't make it work. In my opinion, there is somewhere with AS3 part problem. Please take a look.

    Here's the AS3/PHP scripts:

    AS3 (.swf in www.domain1.com):

    location of the xml file you want to load, full http address

    var xmlLoc:String = " " http://www.Domain2.com/MyFile.XML ";

    location of the php xml grabber, regarding the .swf

    var phpLoc:String = "loadXML.php";

    var xml;

    var loader: URLLoader = new URLLoader();

    var request: URLRequest = new URLRequest (phpLoc + "? location =" + escape (xmlLoc));

    loader.addEventListener (Event.COMPLETE, onXMLLoaded);

    loader.addEventListener (IOErrorEvent.IO_ERROR, onIOErrorHandler);

    Loader.Load (request);

    function onIOErrorHandler(e:IOErrorEvent):void {}

    trace ("there was an error with the xml file" + e);

    }

    function onXMLLoaded(e:Event):void {}

    trace ("RSS feed has been loaded");

    XML = new XML (loader.data);

    / / string value, because it is passed from php as object

    XML = XML (xml.toString ());

    xml_txt.text = xml;

    }

    PHP (loadXML.php to www.domain1.com):

    <? PHP

    Header ("Content-type: text/xml");

    $location = "";

    {if (isset($_GET["location"]))}

    $location = $_GET ['location'];

    $location = urldecode ($location);

    }

    $xml_string = getData ($location);

    return the url encoded Flash vars

    echo $xml_string;

    Loops of a URL and returns

    function getData ($query) {}

    / / create resource curl

    $ch = function curl_init();

    / / cURL url

    curl_setopt ($ch, CURLOPT_URL, $query);

    Set some required params for the use of CURL

    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);

    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

    Execute the loop works and decode the returned JSON data

    $result = curl_exec;

    return $result;

    / / Close the curl resource to free up system resources

    curl_close ($ch);

    }

    ? >

    I think you might be right about / permissions on the server for php settings. Unfortunately I'm not allowed to adjust.

    So I wrote my own script - this time I used the path instead of the http address of the XML file.  It works fine in my case.

    Here it is:

    XML file on domain2.com:

    SWF on domain1.com:

    var imagesXML:XML;

    var variables: URLVariables = new URLVariables();

    var varURL:URLRequest = new URLRequest ("MyPHPfile.php");

    varURL.method = URLRequestMethod.POST;

    variable = varURL.data;

    var MyLoader:URLLoader = new URLLoader;

    MyLoader.dataFormat = pouvez;

    MyLoader.addEventListener (Event.COMPLETE, XMLDone);

    MyLoader.load (varURL);

    function XMLDone(event:Event):void {}

    var imported_XML:Object = event.target.data.imported_XML;

    imagesXML = new XML (imported_XML);

    MyTextfield_1.text = imagesXML;

    MyTextfield_2.text = imagesXML.image [0] .attribute ("thumbPath");  reference sample to assign "thumbPath' of the first item

    }

    php on domain1.comfile:

    <>

    $xml_file = simplexml_load_file('.. /.. / /galleries/gallery_1/MyXMLfile.xmldomain2.com');  Directory of XML file on the same server

    $imported_XML = $xml_file-> asXML();

    Print "imported_XML =". $imported_XML;

    ?>

    Concerning

    PS: for those who have read the foregoing: the first and the second script works but you need to test which one is best for your situation. The first script will work also between two domains located on different servers. No. cross necessary domain policy file.

  • Set point problem selected in the drop-down list box that is the XML data provider

    HI - new to Flex, experienced Java dev., hoping someone can help me see the light of what should be easy but...

    I have a Flex 3 MXML application form that contains a ComboBox as follows:
    < mx:ComboBox id = "physRegion" editable = dataProvider = "{regionRequest.lastResult.region 'false'}" / > "

    The combo box is filled by the provider of data like:
    MX:HTTPService id = "regionRequest" url = "flexDAOServlet" resultFormat = "e4x" method = "POST" >
    < / mx:HTTPService >

    and the underlying XML code looks like this:
    <>region
    Northland < label > < / label >
    < value > 1 < / value >
    < / region >
    <>region
    Auckland < label > < / label >
    < value > 2 < / value >
    < / region >
    ...

    Drop-down list box loads the XML code very well. the user can select an item and the appropriate value is submitted to the server without problem. My problem is when I want to "recharge" the form with previous values.
    I can reload the text without problem fields.

    But I can't work in my ActionScript function, how to set the combo box so that it displays "Auckland" for example, the element with the value = 2. I'll be back this server id, even if I could get the XML code or label if that would help me solve this problem.

    I tried physRegion.selectedItem = "Auckland" - nope. "
    I tried physRegion.selectedItem = 2 - nope.
    I tried
    var XML = myXML:XML ("< region > < label > Auckland < /label > < value_2 > < value > < / region >");
    physRegion.selectedItem = myXML;
    and - nope.

    I know that I'm a new style user here error (and thank you for reading this far! your patience is appreciated) but I can't for the life of me see what it is. Can anyone help?

    Many thanks in advance for clues. Apart from that, I'm loving Flex.
    Kind regards
    Adrian

    Two things to note. The only problem with the function that has provided ChiefRocka00 is that it is based on the identifier of the data, which means your always limited to have that be the identifier of your value. Personally, I'll be back queries a lot of times where the labelFIeld and dataField aren't labels / data pairs a suggestion would be to add a third parameter and have it checked for this identifier instead of the data. The other thing to note is that it is more common to use selectedIndex instead of selectedItem. If you do not want to do something more like physRegion.selectedIndex = selectCboIndexByData ("physRegion, ' Auckland", label) by using the update function of

    public void selectCboIndexByData(theCbo,_theDataValue,_identifier:String):Number {}
    for (var i: Number = 0; i< thecbo.dataprovider.length;="">
    If (theCbo.DataProvider.getItemAt (i) [ID] == theDataValue) {}
    Return i;
    }
    }
    return 0;
    }

  • Select the XML data

    Dear all,

    Please find a list of the steps done to read the date of conversion of currency by the last final query, that I can be able to obtain the release of the name of the Bank as the Central Bank, but impossible to extract the time, rates, currency of the XML data.

    Please tell us how to solve the problem.

    CREATE TABLE url_tab

    (

    URL_NAME VARCHAR2 (100),

    SYS URL. URIType

    );

    INSERT INTO url_tab VALUES

    ("This is a test URL',

    sys . UriFactory.getUri ("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml" "")

    );

    INSERT into xml_data_tab select sys.xmltype.createXML (u.url.getClob ()) in u url_tab;

    Select Bank_name, xt1.* from

    XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref', ))

                                   ' ( http://www.GESMES.org/XML/2002-08-01 ' as "gesmes"),

    ' / / gesmes:Envelope'

    FROM (select * from xml_data_tab)

    columns

    Path of varchar2 (100) Bank_name ' / gesmes:Envelope / gesmes:Sender / gesmes:name',

    outer join left perv_t XMLTYPE PATH "Cube/Cube")

    XMLTable (XMLNamespaces ('http://www.gesmes.org/xml/2002-08-01' as "gesmes"), )

    "/ / Cube/Cube."

    FROM (select * from xml_data_tab)

    COLUMNS

    path of varchar2 (100) of rate_date "@time"

    path varchar2 (100) coin "@currency."

    path of rate varchar2 (100) '@rate') xt1 on 1 = 1

    its work for me

    SQL > with xml_data_tab like)

    2. Select XMLType)

    3'http://www.gesmes.org/xml/2002-08-01' xmlns ="http://www.ecb.int/vocabulary/2002-08-01/eurofxref" >. "

    4 reference rate

    5

    6 the European Central Bank

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    31

    32

    33

    34

    35

    36

    37

    38

    39

    40

    41

    42

    43 ') as the double DATA

    44)

    45 select Bank_name, xt1. RATE_DATE, xt2.*

    XMLTable 46 (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref',

    47'http://www.gesmes.org/xml/2002-08-01"as"gesmes"),"

    48 ' / / gesmes:Envelope'

    49 FROM (select * from xml_data_tab)

    50 columns

    51 way of varchar2 (100) of Bank_name ' / gesmes:Envelope / gesmes:Sender / gesmes:name',

    52 perv_t XMLTYPE PATH 'Cube'):

    53 left outer join XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref'),

    54                         '*'

    55 in PASSING (h.perv_t)

    56 COLUMNS

    path of varchar2 (100) 57 rate_date "Cube/@time."

    58 rate_data XMLType path ' / / Cube/Cube ') xt1 on 1 = 1

    59 left outer join XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref'),

    60 ' / / cube/Cube/Cube. "

    61 FROM (select * from xml_data_tab)

    62 COLUMNS

    path of VARCHAR2 (3) currency 63 "@currency."

    number 64 path "@rate" rate) xt2 on 1 = 1;

    BANK_NAME RATE_DATE HEART RATE

    ---------------------------------------- ------------------------- --- ----------

    2015 Central Bank European-12-30 US $ 1.0926

    30-12-2015 of the European Central Bank JPY 131.66

    2015 Central Bank European-12-30 BGN 1.9558

    2015 Central Bank European-12-30 CZK 27.029

    30-12-2015 of the European Central Bank DKK 7.4625

    2015 Central Bank European-12-30 GBP.73799

    30-12-2015 of the European Central Bank HUF 313,15

    2015 Central Bank European-12-30 PLN 4.24

    30-12-2015 of the European Central Bank, RON 4.5296

    2015 Central Bank European-12-30 SEK 9.1878

    2015 Central Bank European-12-30 CHF 1.0814

    BANK_NAME RATE_DATE HEART RATE

    ---------------------------------------- ------------------------- --- ----------

    2015 Central Bank European-12-30 NOK 9.616

    30-12-2015 of the European Central Bank 7.637 HRK

    30-12-2015 of the European Central Bank RUB 79.754

    30-12-2015 of the European Central Bank TRY 3.1837

    2015 Central Bank European-12-30 AUD 1.499

    30-12-2015 of the European Central Bank BRL 4.259

    2015 Central Bank European-12-30 CAD 1.5171

    2015 Central Bank European-12-30 CNY 7.091

    2015 Central Bank European-12-30 HKD 8.4685

    30-12-2015 of the European Central Bank IDR 15081.33

    30-12-2015 of the European Central Bank, ILS 4.2606

    BANK_NAME RATE_DATE HEART RATE

    ---------------------------------------- ------------------------- --- ----------

    30-12-2015 of the European Central Bank INR 72.535

    30-12-2015 of the European Central Bank 1284.79 KRW

    2015 Central Bank European-12-30. 18.8867 MXN

    30-12-2015 of the European Central Bank MYR 4.6887

    2015 Central Bank European-12-30 NZD 1.5959

    30-12-2015 of the European Central Bank PHP 51.281

    30-12-2015 of the European Central Bank SGD 1.5449

    2015 Central Bank European-12-30 THB 39.334

    30-12-2015 of the European Central Bank ZAR 16.8847

    31 selected lines.

  • Load the XML file into Oracle external Table


    I load the data from the XML file into an intermediate table Oracle using external Tables.

    Let's say below, it is my XML file

    < header >
    < A_CNT > 10 < / A_CNT >
    < E_CNT > 10 < / E_CNT >
    < AF_CNT > 10 < / AF_CNT >
    < / header >
    < student >
    <>students-details
    < Student_info >
    < Single_Info >
    < ID > 18 / < ID >
    New York < City > < / City >
    < country > United States < / country >
    < Name_lst >
    < Student_name >
    Samuel < name > < / name >
    Paul < Last_name > < / Last_name >
    < DOB > 19871208 < / DOB >
    Aware of < RecordStatus > < / RecordStatus >
    < / Student_name >
    < Student_name >
    Samuel < name > < / name >
    Paul < Last_name > < / Last_name >
    < DOB > 19871208 < / DOB >

    < TerminationDt > 20050812 < / TerminationDt >
    History of < RecordStatus > < / RecordStatus >
    < / Student_name >
    < / Name_lst >
    < Personal_Info >
    <>men < / Type >
    < 27 > < / Age >
    < / Personal_Info >
    < / Single_Info >
    < / Student_info >

    < student - register >
    class < A >
    < info >
    < detail >
    < ID student > 18 < / student >
    EE < major > < / Major >
    < course-Grades >
    < course > VLSI < / course >
    < degree > 3.0 < / Grade >
    < / course-Grades >
    < course-Grades >
    < course > nanotechnology < / course >
    < degree > 4.0 < / Grade >
    < / course-Grades >
    < / details >
    < detail >
    < ID student > 18 < / student >
    THIS < major > < / Major >
    < / details >
    < / info >
    class < A >
    < Student_Enrol >
    <>students-details
    < student >

    I load this XML data file into a single table using an external Table. Could someone help me please with coding.

    Thank you

    Reva

    Could you please help me how to insert my XML content into that.

    Same as before, try a plain old INSERT:

    insert into xml_pecos

    values)

    XmlType (bfilename ('XML_DIR', "test.xml"), nls_charset_id ('AL32UTF8'))

    );

    But you'll probably hit the same limitation as with the binary XMLType table.

    In this case, you can use FTP to load the file as a resource in the XML DB repository.

    If the XML schema has been registered with the hierarchy enabled then the file will be automatically inserted into the table.

    Could you post the exact statement that you used to save the scheme?

    In the meantime, you can also read this article, I did a few years ago, it covers the XML DB features that may be useful here, including details on how to load the file via FTP:

    https://odieweblog.WordPress.com/2011/11/23/Oracle-XML-DB-a-practical-example/

    And documentation of the course: http://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb06stt.htm#ADXDB4672

  • Users of readers to save the xml data file

    Hello
    We can e-mail through the form xml data file without its extension drive. It is very good. Instead of emailing, I want just to save the xml data file in my local system.
    What is the syntax to get it? To send email, I usually create a "submit" button and the area of the submittoURL write us mailto:[email protected].
    What to write to save it on the local computer instead of emailing? I tried saveto: C:\NewFolder or fileto:C:\NewFolder. Nothing works. I think I'm missing the good syntax here.
    I know its possible by RE the pdf, you can get using savedataXML(). I want to achieve this goal without the form.
    Thanks in advance,

    Chaitanya

    The best you can do is set up a submitForm action and uses a type mailto URL. This will prompt the user to attach to an e-mail message using their email client or save it to a file.

  • Load the XML file into oracle DB using OWB

    Hi friends,

    I'm new XML data.
    I had a requirememnt to load the xml file into an oracle table.
    Can someone procedure to load the data.

    Thanks in advance

    see this

    http://blogs.Oracle.com/warehousebuilder/2007/09/leveraging_xdb.html

  • Loading the XML in Oracle XML Table/OWB

    Hi gurus,

    Need help to load the XML file into oracle XML table /OWB.

    Here is an example of XML file

    < GEBIZ_PURCHASE_ORDER xmlns = "http://ordabc.xmlbeans.order.importexport.de" >
    < HEADER >
    external < ORDER_CODE > < / ORDER_CODE >
    < EXTERNAL_SYSTEM_CODE > E < / EXTERNAL_SYSTEM_CODE >
    < AMENDMENT_NUMBER > 1 < / AMENDMENT_NUMBER >
    < VARIATION_NUMBER > 1 < / VARIATION_NUMBER >
    document in < DESCRIPTION > < / DESCRIPTION >
    < FINANCIAL_SYSTEM >
    PR < SUB_BUSINESS_UNIT > < / SUB_BUSINESS_UNIT >
    < NFS >
    < COST_CENTER_GROUP > 21 < / COST_CENTER_GROUP >
    < BUYER_CODE > 121 < / BUYER_CODE >
    < FINANCIAL_SYSTEM_ORDER_CODE > 23 < / FINANCIAL_SYSTEM_ORDER_CODE >
    < USER_NRIC > 8 < / USER_NRIC >
    < / NFS >
    < SAP >
    < PURCHASING_GROUP > 3 < / PURCHASING_GROUP >
    < / SAP >
    < / FINANCIAL_SYSTEM >
    < STATUS > ELEMENT < / STATUS >
    < / Header >
    ELEMENTS <>
    < ITEM >
    < LINE_NUMBER > 1 < / LINE_NUMBER >
    the COSTS OF HANDLING < DESCRIPTION > < / DESCRIPTION >
    < UNIT_OF_MEASURE > M < / UNIT_OF_MEASURE >
    < QUANTITY > 12 < / QUANTITY >
    SERVICES < LINE_TYPE > < / LINE_TYPE >
    < UNIT_PRICE > 12 < / UNIT_PRICE >
    < PRICE_UNIT > 12 < / PRICE_UNIT >
    < > 12 TOTAL_AMOUNT < / TOTAL_AMOUNT >
    < STATUS > < / STATUS >
    < / POINT >
    < ITEM >
    < LINE_NUMBER > 2 < / LINE_NUMBER >
    COSTS OF HANDLING CARGO < DESCRIPTION > < / DESCRIPTION >
    < UNIT_OF_MEASURE > M < / UNIT_OF_MEASURE >
    < QUANTITY > 13 < / QUANTITY >
    SERVICES < LINE_TYPE > < / LINE_TYPE >
    < UNIT_PRICE > 14 < / UNIT_PRICE >
    < PRICE_UNIT > 14 < / PRICE_UNIT >
    < > 1200 TOTAL_AMOUNT < / TOTAL_AMOUNT >
    < STATUS > STATUSDELIVERED < / STATUS >
    < / POINT >
    < / OBJECT >
    < / GEBIZ_PURCHASE_ORDER >

    I created the table and the procedure below

    create the table xxpo_estimate_details
    (ORDER_CODE, varchar2 (100),)
    EXTERNAL_SYSTEM_CODE varchar2 (100),
    AMENDMENT_NUMBER varchar2 (100),
    VARIATION_NUMBER varchar2 (100),
    DESCRIPTION varchar2 (100),
    SUB_BUSINESS_UNIT varchar2 (100),
    COST_CENTER_GROUP varchar2 (100),
    BUYER_CODE varchar2 (100),
    FINANCIAL_SYSTEM_ORDER_CODE varchar2 (100),
    USER_NRIC varchar2 (100),
    PURCHASING_GROUP varchar2 (100),
    FS_STATUS varchar2 (100),
    PR_LINE_NUMBER varchar2 (100),
    PR_DESCRIPTION varchar2 (100),
    UNIT_OF_MEASURE varchar2 (100),
    PR_QUANTITY varchar2 (100),
    LINE_TYPE varchar2 (100),
    Unit_price varchar2 (100),
    PRICE_UNIT varchar2 (100),
    TOTAL_AMOUNT varchar2 (100),
    PR_STATUS varchar2 (100));


    declare
    acct_doc xmltype: = xmltype (bfilename('FLAT_FILES','PO_DETAILS_COPY.xml'), nls_charset_id ('AL32UTF8'));
    BEGIN
    insert into xxpo_estimate_details
    (ORDER_CODE,
    EXTERNAL_SYSTEM_CODE,
    AMENDMENT_NUMBER,
    VARIATION_NUMBER,
    DESCRIPTION,
    SUB_BUSINESS_UNIT,
    COST_CENTER_GROUP,
    BUYER_CODE,
    FINANCIAL_SYSTEM_ORDER_CODE,
    USER_NRIC,
    PURCHASING_GROUP,
    FS_STATUS,
    PR_LINE_NUMBER,
    PR_DESCRIPTION,
    UNIT_OF_MEASURE,
    PR_QUANTITY,
    LINE_TYPE,
    UNIT_PRICE,
    PRICE_UNIT,
    TOTAL_AMOUNT,
    PR_STATUS
    )
    SELECT X 1. ORDER_CODE,
    X 1. EXTERNAL_SYSTEM_CODE,
    X 1. AMENDMENT_NUMBER,
    X 1. VARIATION_NUMBER,
    X 1. DESCRIPTION,
    X 1. SUB_BUSINESS_UNIT,
    X 1. COST_CENTER_GROUP,
    X 1. BUYER_CODE,
    X 1. FINANCIAL_SYSTEM_ORDER_CODE,
    X 1. USER_NRIC,
    X 1. PURCHASING_GROUP,
    X 1. STATUS,
    X 2. LINE_NUMBER,
    X 2. DESCRIPTION,
    X 2. UNIT_OF_MEASURE,
    X 2. QUANTITY,
    X 2. LINE_TYPE,
    X 2. UNIT_PRICE,
    X 2. PRICE_UNIT,
    X 2. TOTAL_AMOUNT,
    X 2. STATUS
    FROM XMLTABLE)
    ' / GEBIZ_PURCHASE_ORDER/HEADER.
    passage acct_doc
    header_no of columns for the ordinalite,
    Path of varchar2 (100) ORDER_CODE "ORDER_CODE"
    Path of varchar2 (100) EXTERNAL_SYSTEM_CODE "EXTERNAL_SYSTEM_CODE"
    Path of AMENDMENT_NUMBER VARCHAR2 (100) "AMENDMENT_NUMBER."
    PATH OF VARCHAR2 (10) VARIATION_NUMBER "VARIATION_NUMBER"
    DESCRIPTION VARCHAR2 (100) PATH "DESCRIPTION."
    PATH OF VARCHAR2 (100) SUB_BUSINESS_UNIT "FINANCIAL_SYSTEM/SUB_BUSINESS_UNIT,"
    PATH OF VARCHAR2 (10) COST_CENTER_GROUP "FINANCIAL_SYSTEM/NFS/COST_CENTER_GROUP,"
    PATH OF VARCHAR2 (50) BUYER_CODE "FINANCIAL_SYSTEM/NFS/BUYER_CODE,"
    PATH OF VARCHAR2 (50) FINANCIAL_SYSTEM_ORDER_CODE "FINANCIAL_SYSTEM/NFS/FINANCIAL_SYSTEM_ORDER_CODE,"
    PATH OF VARCHAR2 (50) USER_NRIC "FINANCIAL_SYSTEM/NFS/USER_NRIC,"
    PATH OF VARCHAR2 (50) PURCHASING_GROUP "FINANCIAL_SYSTEM/SAP/PURCHASING_GROUP,"
    PATH VARCHAR2 (50) STATUS 'STATUS '.
    ) X 1,
    XMLTable)
    ' / GEBIZ_PURCHASE_ORDER/ITEMS/ITEM ".
    passage acct_doc
    columns for the ordinalite header_no
    path of columns LINE_NUMBER varchar2 (10) "LINE_NUMBER.
    Path varchar2 (100) DESCRIPTION "DESCRIPTION."
    PATH OF VARCHAR2 (100) UNIT_OF_MEASURE "UNIT_OF_MEASURE"
    PATH VARCHAR2 (10) OF "QUANTITY."
    PATH OF VARCHAR2 (100) LINE_TYPE "LINE_TYPE"
    PATH OF VARCHAR2 (10) UNIT_PRICE "UNIT_PRICE."
    PATH OF VARCHAR2 (10) PRICE_UNIT "PRICE_UNIT"
    PATH OF VARCHAR2 (10) TOTAL_AMOUNT 'TOTAL_AMOUNT ';
    PATH VARCHAR2 (120) STATUS 'STATUS '.
    ) X 2;
    -EXCEPTION
    -WHILE OTHERS THEN
    -DBMS_OUTPUT. PUT_LINE (' ERROR ' |) SQLERRM);
    END;

    When I run the above procedure, it runs successfully but the records charge not in the table.

    When I remove the attribute xmlns = "http://ordabc.xmlbeans.order.importexport.de" and start the process, and then load the records.

    can you please is it possible in the xml file without change? (deletion of the attribute)

    If choose table for loading XML /OWB XML files then what are challeges and challenges we face.

    Add two expressions XMLTable XMLNAMESPACES clause:

    ...
    
    FROM XMLTABLE(
      XMLNamespaces(default 'http://ordabc.xmlbeans.order.importexport.de')
    , '/GEBIZ_PURCHASE_ORDER/HEADER'
    
    ...
    
  • Update the XML data store

    Hello experts,

    I've created an interface when an xml file is reversed in the form of a source data store. Xml data are pumped into a target of oracle db. All this goes well.

    I'm creating a scenario where I get an xml file from a ftp server on a daily basis (with agent). This new xml file has the same structure as that already used in the interface. The question is: How can I update the data in the xml data store?

    I tried to replace the original xml file, but it does not work and cdc does not seem to apply here, I searched for quite a while now.

    Thank you very much!

    Yves

    Hello

    See if that helps
    XML for the interface Oracle even insert County regardless of input XML file

    Thank you
    Fati

Maybe you are looking for

  • Find in results page

    Hello! When to use search page in browsers other than Safari (i.e. mozilla), it shows the number of hits and the number of currently selected match. Is there a way to display the same in Safari? As currently selected: 12 of 27 matches. And similarly

  • I can't make a decision

    Hi, I missed to get an iPhone for a while especially because I had some experience with Android phones, I wanted to mix things up trying on Apple's iOS for a change. Now that I've explained why I chose to get an iPhone for my next phone, then comes m

  • Add/remove application problem of

    I'm unable to remove an installed application.  The add/remove application opens but when I select the application target the window freezes and I can't close the window without having to reboot the machine.

  • The user profile service has not logon. User profile cannot be loaded error message

    original title: user profiles I have recently all of a sudden can't open my user profile. When I put my password in it reads that the user profile service has no logon. User profile cannot be loaded.  I am the Administrator without getting on my user

  • How to enter my product code for Windows 7 I've used 7 weeks?

    I downloaded windows 7 for 7 weeks and have a copy authentic and code key but when I installed it asked me for a key code now it says that the copy is not genuine all I have to do to prove it is to enter the key code but where do I go to enter this c