How to send XML using UTL_HTTP

I try to drive, how to send XML data to a webserver using UTL_HTTP, but I get no answer

I need to present the following document to server 'http://api.fastsms.co.uk/api/xmlapi.php' XML instructions are "the XML Document must be posted not coded, with a game like"xml"of UTF-8 character set parameter"

If I submit the following in their test form XML

<? XML version = "1.0"? >

< apirequest version = "1" >

< user >

< username > * USER * < / username >

password <>* password * < / password >

< / user >

< application >

< name > Application example < / name >

< version > 1.0 < / version >

< / application >

< inboundcheck lastid = "10711399" / >

< / apirequest >

I get a response XML returns with the messages in my Inbox.

This is the code I'm trying to use to accomplish the same thing about PL/SQL: I know an answer just as soon as there is simply no content - header information.  What I am doing wrong?

l_xml VARCHAR2 (5000);

Utl_http.req req;

resp utl_http.resp;

HostHeaderName VARCHAR2 (256); -Name of the response header

header_value VARCHAR2 (1024); -Value of the response header

response_text VARCHAR2 (4000); -Response body

l_url VARCHAR2 (100);

BEGIN

l_xml: = ' xml = <? XML version = "1.0"? > ';

l_xml: = '< apirequest version = "1" >';

l_xml: = '< user >. "

l_xml: = ' < username > * USER * < / username > ';

l_xml: = ' < password > * PASSWORD * < / password > ';

l_xml: = ' < / user > ';

l_xml: = '< application >. "

l_xml: = ' < name > Application example < / name > '.

l_xml: = ' < version > 1.0 < / version > ';

l_xml: = < application "/ > ';

l_xml: = ' < inboundcheck lastid = "10711399" / > ";

l_xml: = ' < / apirequest > ';

-Connection HTTP open

  l_url := ' http://api.fastsms.co.uk/api/xmlapi.php';

Req: = utl_http.begin_request (l_url, 'POST', utl_http. HTTP_VERSION_1_1);

-Set headers for type and length

Utl_http.set_header ("req, 'Content-Type', ' application/x-www-formulaires-urlencoded");

Utl_http.set_header (Req, 'Content-Length', to_char (length (l_xml)));

-Write the setting

Utl_http.write_text (Req, l_xml);

-Reading response file

resp: = utl_http.get_response (req);

-Print the response headers

BECAUSE me in 1... Utl_http.get_header_count (resp) LOOP

Utl_http.get_header (resp, i, header_name, header_value);

logging_pkg.info(header_name ||) ': ' || header_value);

END LOOP;

-Print the response body

BEGIN

LOOP

Utl_http.READ_TEXT (resp., response_text);

logging_pkg.info (response_text);

END LOOP;

EXCEPTION

WHEN utl_http.end_of_body THEN

logging_pkg.info ('end of body');

END;

-close the http connection

Utl_http.end_response (resp);

EXCEPTION

WHEN utl_http.end_of_body THEN

Utl_http.end_response (resp);

END;

See you soon,.

Brent

The fact that you do not receive a response of HTTP (headers) return, means that a basic communication worked. After reading the response:

answer: = utl_http.get_response (request);

Check the HTTP status code:

If response.status_code...

You should get a HTTP 200 for a successful call. May be that you run in a 50 x results, which implies a server error has occurred processing your HTTP call.

Best bet to see the error on the server is the access log and/or Apache error.

Oh yes - XML submits work very well through UTL_HTTP. Take a look at the sample code in https://forums.oracle.com/message/10450611#10450611

In what concerns the validation code and using the syntax highlighting - edit, click use the Advanced Editor, highlight the code and click on the > on the toolbar to access the text highlighting the menu. Unfortunately this does not use fixed fonts - again. I hope that this will be corrected as forum features are addressed.

Tags: Database

Similar Questions

  • How doi send texts using the speech function without hitting the Send button?

    using the speech function in texting, how to send the text without actually pushing the Send button? When I say 'send' or 'send message' he just keeps typing

    "Hey, Siri, send a message to Bob. Siri will then ask you what you want text Bob. Once you stop dictating, Siri will ask then if you're ready to send the message. Say, "Yes." It's really very nice.

    If you are already in the message app and using speech-to-text, you must press the Send button.

  • How to load xml using sql loader data?

    Is there any load script of XML data in a table through sql loader?

    Help me out here...

    Thank you

    You can post your code here? while I can help you... your code format should be like this...

    Example code:

    DOWNLOAD THE DATA

    INFILE *.

    IN THE TABLE po_tab

    ADD

    XMLTYPE (xmldata)

    FIELDS

    (xmldata TANK (2000))

    BEGINDATA

    "" http://www.Oracle.com/po/"xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"

    "" xsi: schemaLocation = "http://www.oracle.com/PO http://www.oracle.com/scha0/po1.xsd"

    orderDate = "1999-10-20" >

    Alice Smith

    123 maple Street

    Mill Valley

    CA

    90952

    Robert Smith

    8 oak Avenue

    Old town

    PA

    95819

    Hurry, my lawn is going wild!

    Lawn mower

    1

    148.95

    Confirm this is electric

    Baby monitor

    1

    39.98

    1999-05-21

  • I added HttpHeaders properties, how to send the using HttpConnection?


    Something like:

    Hashtable ht = h. toHashtable();
    Enumeration enum = ht.keys ();
    while (enum.hasMoreElements ()) {
        String key = (String) enum.nextElement ();
        String value =  (String) ht.get (key);
        HttpConnection.setRequestProperty(key, value);
    } 
    
  • How to send data in eloqua with using ajax?

    Hello

    someone tell me how to send data using ajax?

    Thank you

    Rahul

    Hi Rahul

    Using this code to send data to AJAX

    $.ajax({)

    URL: ' your action? elqformname = name of the form eloqua & elqSiteID = eloqua site ID',

    type: 'POST',

    data: "field name =" + document.getElementById('field_id').value + "="+ document.getElementById('field_id').value field name,

    success: {function (html)}

    }

    })

    Thank you

    edynamic expert Eloqua

  • Best way to Parse XML using Dreamweaver CC 2015.3

    I was on a wild goose chase - trying to figure out how to parse XML using DW CC

    every article I read, says something about XML & XSLT, but it is no longer available in the new CC - I read about using jQuery or php, but have not yet find a resource to learn specifically "using DW CC.

    I'm willing to learn how to parse XML with DW CC but I would get a definitive direction to go before I'm trying to learn something that adobe will put in 'end of life '.

    advice or links to resources that can parse XML DW CC 2015 would be LARGELY APPRECIATED, thank you

    x 126 has written:

    What I'm asking is...

    1. What is the best procedure to insert XML into a page using DW CC 2015 as my editor?
    a. what happened to spry? b. what happened to XSLT?

    As Nancy explained, Spry has been abandoned by Adobe, a few years ago.

    XSLT server behavior has been removed at the same time as other server behaviors Dreamweaver CC. The problem with most of the PHP server behaviors was that they were based on code that has been removed from PHP 7. The XSLT server behavior didn't rely on these features, but it was not the most friendly of server behaviors. XSLT is a complex language that is to be avoided when parsing XML unless you really know what you're doing.

    The easiest way to manipulate XML in Dreamweaver should use PHP SimpleXML. I've linked to the samples page in the PHP online documentation. Believe me, it's much easier than trying to do battle with XSLT. If you have a subscription to lynda.com, you can learn more about SimpleXML to my operational with SimpleXMLclass.

  • How to block a sender by using e-mail software?

    How to block a sender by using e-mail software?

    You actually use OS Tiger as shown in your profile? You ask about MacBook as shown in your profile or you use a MacBook Pro, which is the subject of this community?

    Here are the instructions on using mail rules in El Capitan Mail (El Capitan): use rules to manage your Inbox. If you are using a different operating system let us know.

  • HP Laser Jet MFP M127fn Pro: How to send a fax using speed dial?

    I have a new HP Laser Jet MFP M127fn Pro: how to send a fax using speed dial, I entered already numbers in the address book.

    I'm embarrassed to say that I spent several hours trying to get the speed dial to work on a M127fn.  It turns out that there really no speed dial.  That's the conclusion of at least a HP tech that actually used the machine.  Another tech was able to describe a way to fax a phonebook entry, but it is quite too complicated to be called a speed dial.

    [1] press the button settings (key).

    [2] press the right arrow to access the phone book.

    [3] press OK button.

    [4] use the right or left buttons to reach the desired phone book entry.

    [5] press the OK button to reveal the label for the entry, or "empty" if it is not set.

    [6] press the OK button if the element is set to display the fax or dialing options.

    [7] press FAX to initiate a fax to this phone book entry.

    My users find it much easier to have their phone numbers pasted on the machine where they can connect looking them to instead scroll through menus, for the right option.

    It seems that there is some sort of disconnect between hardware, firmware, and technical writers on this machine, because this ancient feature has been neglected, and the user guide is left to sputter on the issue.

  • How to send 31MB. WMV file using Outlook Express 6 on Windows XP?

    How to send 31MB. WMV file using Outlook Express 6 on Windows XP?

    If it is possible please provide step by step procedure.

    All attachments add about 33% size thanks to the encoding. This makes your 31MB file around 41 ~ 42 MB. I doubt that your ISP/mail server allows something that big, and of course, I would not be the recipient of a message that size.

    Create a YouTube account and put it there. You can make public or private and provide the link to the recipient.

  • How to send a large Windows Media file - the file is 93.5 MB size. Tried to use winzip but zipped file size bed still 93.5 MB which is too large to send via my gmail account.

    How to send a large Windows Media file - the file is 93.5 MB size.  Tried to use winzip but him zipped file size bed still 93.5 MB which is too large to send via my hotmail account.

    The max on most email providers is 10 MB. The only way that you could share this file would find a download site that allows to host this file. You can do a search for hosting sites and find one that goes on your needs. Once you download the file to the single copy of the site the link and give the person who you want to initially by email.

  • Sending pictures to option is grayed out. How to send the picture using Windows Photo Gallery?

    Original title: Gallery

    I would like to know how to send an image to a file open. When I choose "" send to "this option is"greyed out"."

    Do you use "Windows Photo Gallery" of Vista, or a third party library?  ' Send to ' is not normally associated with the images of the Windows Photo Gallery in Vista?

    Photos from the photo gallery Windows send to Flash memory
    http://social.answers.Microsoft.com/forums/en-us/vistapictures/thread/60055083-019c-44e0-b5d4-ba0640bd4522

  • How to send a message to another computer by using prompt on a network in Windows 7?

    Original title: How do I send the message

    How to send message to pc network using the prompt for windows 7

    Hello

    If you want to put some small insatlling time program on computers.

    This free utility. makes it easier for any qualified users to send messages via LAN.

    http://www.Fomine.com/net-send-GUI.html

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • How to send other linguistic data to the server using Http

    Hello

    How can I send data to the server except English other languages how to send to the server. Please someone help me it's urgent.

    Thank you

    Kind regards

    Bharath kumar

    Peter cool.

    problem fixed

    I use postdata String = new String (textField.getText (.getBytes("UTF-8")));

    Thank you

  • How to send a mail with attachment no matter what file use the invoke in os 6.0?

    Hello

    There is some issue that how to send a mail with attachment to use the invoke method in os 6.0?

    "I use the Transport at this time mail send successfully, but I use the invoke to throw this error time these error ismail service does not support these tyes of change of parts joined the send using field or remove attachments ' so how do?

    Thank you

    Hi, rishabh

    Thanks.i got the solution and super work Super-Duper hit.

    Thnaks,

    Umang.

  • How because result of xml using PL/SQL

    Hi all.

    I got a response from the web service xml, and I must parseit using PL/SQL.

    This is my XML:

    " < s: Envelope = xmlns:s ' http://www.w3.org/2003/05/soap-envelope "" xmlns: a = " " http://www.w3.org/2005/08/addressing ">

    < s:Header >

    < a: Action = '1' s:mustUnderstand > http://tempuri.org/IPagosLineaService/ProcesarComunicacionOnlineResponse < / a: Action >

    < / s:Header >

    < Body >

    " < ProcesarComunicacionOnlineResponse xmlns =" http://tempuri.org/ ">

    " < ProcesarComunicacionOnlineResult xmlns: b = ' http://schemas.DataContract.org/2004/07/SiGe.Servicios.Sanaa "xmlns:i =" " http://www.w3.org/2001/XMLSchema-instance « >

    < b:REFGLOBAL > 201510533758 < / b:REFGLOBAL >

    < b:IMPTOTAL > 357.09 < / b:IMPTOTAL >

    < b:IMPMORA > 0 < / b:IMPMORA >

    < b:TIPOIMP > 67 < / b:TIPOIMP >

    < b:MONEDA > 76 < / b:MONEDA >

    < b:FETPAG > 2015-11-30 T 00: 00:00 < / b:FETPAG >

    < b:CLIENTE > 61998 < / b:CLIENTE >

    < b:NOMBRE > MARIO ALFONSO PINEDA < / b:NOMBRE >

    < b:BANCO > 7 < / b:BANCO >

    < b:CAJERO > 1017 < / b:CAJERO >

    B1234 < b:BCID > < / b:BCID >

    < b:AVISOS >

    < b:AVISO >

    < b:REFPAGO > 201510533758 < / b:REFPAGO >

    < b:TIPOAVISO > 80 < / b:TIPOAVISO >

    < b:IMPTOTAL > 357.09 < / b:IMPTOTAL >

    < b:IMPMORA > 0.00 < / b:IMPMORA >

    < b:IMPMIN > 357.09 < / b:IMPMIN >

    < b:TIPOIMP > 67 < / b:TIPOIMP >

    < b:MONEDA > 76 < / b:MONEDA >

    < b:CODIGO_COMERCIAL > 2535510971 < / b:CODIGO_COMERCIAL >

    < b:CLIENTE > 61998 < / b:CLIENTE >

    < b:NOMBRE > MARIO ALFONSO PINEDA < / b:NOMBRE >

    < b:DIRECCION > BL E RETORNO 7Y8 N7302 COL NAKED < / b:DIRECCION >

    < b:RECIBOS >

    < b:RECIBO >

    < b:CODIGOFACT > 201510533758 < / b:CODIGOFACT >

    < b:FECHAFACT > 2015 - 11 - 11 T 00: 00:00 < / b:FECHAFACT >

    < b:FECHAVTO > 2015-11-30 T 00: 00:00 < / b:FECHAVTO >

    < b:IMPTOTAL > 357.09 < / b:IMPTOTAL >

    < b:IMPMORA > 0.00 < / b:IMPMORA >

    < b:TIPOIMP > 67 < / b:TIPOIMP >

    < b:MONEDA > 76 < / b:MONEDA >

    < b:EJERCICIO > 2015 < / b:EJERCICIO >

    < b:PERIODO > 10 < / b:PERIODO >

    < b:LECTANT > 611 < / b:LECTANT >

    < b:FECHLECTANT > 2015 - 10-01 T 00: 00:00 < / b:FECHLECTANT >

    < b:LECTACT > 728 < / b:LECTACT >

    < b:FECHLECTACT > 2015 - 11 - 02 T 00: 00:00 < / b:FECHLECTACT >

    < b:CONSUMO > 31 < / b:CONSUMO >

    < b:NUMSERIEAM > 5884 < / b:NUMSERIEAM >

    < b:CODIGO_COMERCIAL > 2535510971 < / b:CODIGO_COMERCIAL >

    < b:CATEGORIA > DOMESTICA < / b:CATEGORIA >

    < b:LINEAS_DETALLE >

    < b:DETALLE >

    Alcantarillado Sanitario < b:DESCRIPCION > < / b:DESCRIPCION >

    < b:CANTIDAD > 31 < / b:CANTIDAD >

    < b:UNIDMED > M3 < / b:UNIDMED >

    < b: MATTER > 57,12 < / b: MATTER >

    < / b:DETALLE >

    < b:DETALLE >

    Mantenimiento Medidor < b:DESCRIPCION > < / b:DESCRIPCION >

    < b:CANTIDAD > 1 < / b:CANTIDAD >

    < b:UNIDMED > M3 < / b:UNIDMED >

    < b: MATTER > 1.50 < / b: MATTER >

    < / b:DETALLE >

    < b:DETALLE >

    Costo fijo por Conexion < b:DESCRIPCION > < / b:DESCRIPCION >

    < b:CANTIDAD > 1 < / b:CANTIDAD >

    < b:UNIDMED > M3 < / b:UNIDMED >

    < b: MATTER > 70.00 < / b: MATTER >

    < / b:DETALLE >

    < b:DETALLE >

    Drinking Agua < b:DESCRIPCION > < / b:DESCRIPCION >

    < b:CANTIDAD > 31 < / b:CANTIDAD >

    < b:UNIDMED > M3 < / b:UNIDMED >

    < b: ANY > 228,47 < / b: MATTER >

    < / b:DETALLE >

    < b:DETALLE >

    Jubilado Descuento < b:DESCRIPCION > < / b:DESCRIPCION >

    < b:CANTIDAD > 1 < / b:CANTIDAD >

    < b:UNIDMED > M3 < / b:UNIDMED >

    < b: MATTER > 0.00 < / b: MATTER >

    < / b:DETALLE >

    < b:DETALLE >

    Interested por Mora < b:DESCRIPCION > < / b:DESCRIPCION >

    < b:CANTIDAD > 1 < / b:CANTIDAD >

    < b:UNIDMED > M3 < / b:UNIDMED >

    < b: MATTER > 0.00 < / b: MATTER >

    < / b:DETALLE >

    < b:DETALLE >

    Pendiente Saldo < b:DESCRIPCION > < / b:DESCRIPCION >

    < b:CANTIDAD > 1 < / b:CANTIDAD >

    < b:UNIDMED > M3 < / b:UNIDMED >

    < b: MATTER > 0.00 < / b: MATTER >

    < / b:DETALLE >

    < b:DETALLE >

    Convenios < b:DESCRIPCION > < / b:DESCRIPCION >

    < b:CANTIDAD > 1 < / b:CANTIDAD >

    < b:UNIDMED > M3 < / b:UNIDMED >

    < b: MATTER > 0.00 < / b: MATTER >

    < / b:DETALLE >

    < / b:LINEAS_DETALLE >

    < / b:RECIBO >

    < / b:RECIBOS >

    < / b:AVISO >

    < / b:AVISOS >

    < / ProcesarComunicacionOnlineResult >

    < / ProcesarComunicacionOnlineResponse >

    < / Body >

    < / s: Envelope >

    It's my PL/SQL code:

    create or replace

    procedure SANAA_CONSULTA (Operación in varchar2,

    codigocomercial in varchar2,

    Banco in varchar2,

    cajero in varchar2,

    BCID in varchar2,

    p_recordset to sys_refcursor) as

    soap_request varchar2 (32000);

    CLOB soap_respond; -VARCHAR2 (32000);

    -soap_respond varchar2 (30000);

    http_req utl_http.req;

    http_resp utl_http.resp;

    RESP XMLType.

    CLOB resp1;

    -resp1 varchar2 (30000);

    resp2 varchar2 (30000);

    soap_err exception;

    v_code varchar2 (200);

    v_msg varchar2 (1800);

    number of v_len;

    v_txt varchar2 (32767).

    I have integer;

    tablaTemp varchar2 (2000);

    tablaTemp2 varchar2 (2000);

    tablaTemp3 varchar2 (2000);

    tablaTemp4 varchar2 (2000);

    tablaTemp5 varchar2 (2000);

    tablaTemp6 varchar2 (2000);

    CLOB vCampo;

    buffer varchar2 (32767).

    Start

    " soap_request: = ' < envelope soap: xmlns:soap = ' http://www.w3.org/2003/05/soap-envelope "xmlns:tem =" " http://tempuri.org/ "xmlns:sige =" " http://schemas.DataContract.org/2004/07/SiGe.Servicios.Sanaa « >' ||

    ' < soap: Header / > '.

    "< soap: Body >" |

    "< tem:ProcesarComunicacionOnline >" |

    ' <!-in option: - > ' |

    "< tem:msg >" |

    ' <!-in option: - > ' |

    "< sige:OPERACION >" | Operación | "< / sige:OPERACION > ' |

    "< sige:CODIGO_COMERCIAL >" | codigocomercial | "< / sige:CODIGO_COMERCIAL > ' |

    "< sige:BANCO >" | Banco | "< / sige:BANCO > ' |

    ' <!-in option: - > ' |

    "< sige:CAJERO >" | cajero | "< / sige:CAJERO > ' |

    ' <!-in option: - > ' |

    "< sige:BCID >" | BCID | "< / sige:BCID > ' |

    ' < / tem:msg > ' |

    ' < / tem:ProcesarComunicacionOnline > ' |

    ' < / soap: Body > ' |

    ' < / envelope soap: > ';

    http_req: = utl_http.begin_request ("http://181.210.29.198:8099/PagosLineaGGS/sige.servicios.sanaa.Pagoslineaservice.svc', ")

    "MESSAGE."

    "(HTTP / 1,1');"

    Utl_http.set_header (http_req, 'Content-Type', ' text/xml "");

    Utl_http.set_header (http_req, "Content-Length", LENGTH (soap_request) ");

    Utl_http.set_header (http_req,

    "SOAPAction",.

                          ' http://tempuri.org/IPagosLineaService/ProcesarComunicacionOnline');

    Utl_http.write_text (http_req, soap_request);

    http_resp: = utl_http.get_response (http_req);

    DBMS_LOB. CREATETEMPORARY (vCampo, true);

    loop

    Start

    Utl_http.READ_TEXT (http_resp, buffer, 32767);

    If the buffer is not null

    and length (buffer) > 0

    then

    DBMS_LOB. WriteAppend (vCampo, length (buffer), buffer);

    end if;

    exception

    while others then

    "exit";

    end;

    end loop;

    -utl_http.read_text (http_resp, soap_respond);

    Utl_http.end_response (http_resp);

    -RESP: = XMLType.createXML (soap_respond);

    -resp1: = resp.extract('/*').getStringVal ();

    Open the p_recordset for

    with XML in the form

    (select XMLTYPE (vCampo) as double OBJECT_VALUE)

    -(select XMLTYPE (resp1) in the OBJECT_VALUE of the double)

    -Select

    -Select *.

    Select the amount Descripción, unidmed, matter

    -Select *.

    XML,.

    XMLTABLE)

    XmlNamespaces)

                ' http://schemas.DataContract.org/2004/07/SiGe.Servicios.Sanaa ' « b »

              , ' http://www.w3.org/2003/05/soap-envelope/ ' as "s"

    , by default ' http://tempuri.org/ '

    )

    -'/ / b:DETALLE'

    -, ' / ProcesarComunicacionOnlineResponse/ProcesarComunicacionOnlineResult / b:AVISOS / b:AVISO / b:RECIBOS / b:RECIBO / b:LINEAS_DETALLE / b:DETALLE'

    , ' / s: Envelope / Body/ProcesarComunicacionOnlineResponse/ProcesarComunicacionOnlineResult / b:AVISOS / b:AVISO / b:RECIBOS / b:RECIBO / b:LINEAS_DETALLE / b:DETALLE'

    by the way the OBJECT_VALUE columns

    Descripción varchar2 (80) path "DESCRIPCIÓN."

    amount varchar2 (10) PATH "AMOUNT."

    unidmed varchar2 (10) path "UNIDMED."

    VARCHAR2 (2) any PATH 'MATTER');

    end SANAA_CONSULTA;

    But I get the following error:

    ORA-31011: Fallo en el Análisis XML ORA-19202: Se ha during an aforementioned LPX-00229 el error: input source is empty of XML ORA-06512: en "SYS. XMLTYPE", linea 272 ORA-06512: linea en 1

    Can someone give me a solution?

    Thank you in advance.

    You have specified namespace "s" wrongly, and you are not referencing the namespace "b" in your columns:

    SQL > ed
    A written file afiedt.buf

    1 with t (xml) as (select xmltype (to_clob (')))
    "" 2 http://www.w3.org/2003/05/soap-envelope "xmlns: a = 'http://www.w3.org/2005/08/addressing' > '.
    3
    4 http://tempuri.org/IPagosLineaService/ProcesarComunicacionOnlineResponse
    5

    6


    "7 http://tempuri.org/" >
    "' 8 http://schemas.datacontract.org/2004/07/sige.Servicios.Sanaa" xmlns:i = "http://www.w3.org/2001/XMLSchema-instance" > ".
    9 201510533758
    10 357.09
    11              0
    12              67
    13              76
    14 2015-11 - 30 T 00: 00:00
    15 61998
    16 MARIO ALFONSO PINEDA
    17              7
    18              1017
    B1234 19
    20
    21
    22 201510533758
    23                    80
    24                    357.09
    25                    0.00
    26                    357.09
    27                    67
    28                    76
    29 2535510971
    30                    61998
    31 MARIO ALFONSO PINEDA
    32 BL E RETORNO 7Y8 N7302 COL NAKED

    33
    34
    35 201510533758
    36 2015-11 - 11T 00: 00:00
    37 2015-11 - 30 T 00: 00:00
    38                          357.09
    39                          0.00
    40                          67
    41                          76
    42                          2015
    43                          10
    44                          611
    45 2015-10 - 01 T 00: 00:00
    46                          728
    47 2015-11 - 02T 00: 00:00
    48                          31
    49                          5884
    50 2535510971
    51 DOMESTICA
    52                          ')|| TO_CLOB (')
    53
    54 Alcantarillado Sanitario
    55                                31
    56                                M3
    57                                57.12
    58

    59
    60 Mantenimiento Medidor
    61                                1
    62                                M3
    63                                1.50
    64

    65
    66 Costo fijo por Conexi¾n
    67                                1
    68                                M3
    69                                70.00
    70

    71
    72 of drinking water
    73                                31
    74                                M3
    75                                228.47
    76

    77
    78 Jubilado Descuento
    79                                1
    80                                M3

    81                                0.00
    82
    83
    84 of interested por Mora
    85                                1
    86                                M3
    87                                0.00
    88

    89
    90 Saldo Pendiente
    91                                1
    92                                M3
    93                                0.00
    94

    95
    96 Convenios
    97                                1
    98                                M3
    99                                0.00
    100

    101
    102
    103
    104
    105
    106
    107
    108
    109 ')) double)
    110. -
    111 end of sample data
    112-
    113 select x.*
    114 t
    115, XMLTABLE (xmlnamespaces ('http://schemas.datacontract.org/2004/07/sige.Servicios.Sanaa' 'b'))
    116, "http://www.w3.org/2003/05/soap-envelope" as "s".
    117, by default 'http://tempuri.org/'.
    118                               )
    119,'/ s: Envelope / Body/ProcesarComunicacionOnlineResponse/ProcesarComunicacionOnlineResult / b:AVISOS / b:AVISO / b:RECIBOS / b:RECIBO / b:LINEAS_DETALLE / b:DETALLE'
    passage of 120 xml
    path of varchar2 (80) 121 Descripción columns '. / b:DESCRIPCION',
    122 varchar2 (10) amount WAY '. / b:CANTIDAD',
    123 unidmed varchar2 (10) PATH '. / b:UNIDMED',
    124 regardless of PATH number '. / b: MATTER '
    125*               ) x
    SQL > /.

    DESCRIPCIÓN AMOUNT UNIDMED MATTER
    -------------------------------------------------------------------------------- ---------- ---------- ----------
    Alcantarillado Sanitario 31 M3 57.12
    Mantenimiento Medidor 1 1.5 M3
    Costo fijo por Conexi¾n 1 M3 70
    Agua Potable                                                                     31         M3         228.47
    1 Jubilado descuento M3 0
    Intereses por Mora                                                               1          M3         0
    Saldo Pendiente                                                                  1          M3         0
    Convenios                                                                        1          M3         0

    8 selected lines.

    SQL >

Maybe you are looking for