Use of dbms_xmlgen.convert to capture the URL

I use a web service that returns the XML response (see results below). I need to capture the URL in the tag "GetIEPUrlWithAuditResult". I tried this code, but get an ORA-30625: shipping method on NULL SELF argument is not allowed. Is my path of dbms_xmlgen.convert to the correct tag?

l_xml: = xmltype.createxml (l_clob);
l_val: = dbms_xmlgen.convert(l_xml.extract('//GetIEPUrlWithAuditResult/text()').getclobval(),1);


RESULT
-------------
<? XML version = "1.0" encoding = "utf-8"? > < xmlns:soap: envelope soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" container = "http://www.w3.org/2001/XMLSchema" > < soap: Body > < GetIEPUrlWithAuditResponse xmlns = "http://www.iepdirect.com/CentrisWebServices/IEPViwer" > < GetIEPUrlWithAuditResult > https://www.iepdirect.com/lettersandreports/maintenance/iepviewer.aspx?auditinfo=TEST & amp; viewertoken = cn097c5e6c69a94fbc9dffcd70bd88f2b9 | d0Gpyh6ZEelbL6lMz + ZDWBTyMqsfjkDFPlat6T + 8vMQ = < / GetIEPUrlWithAuditResult > < / GetIEPUrlWithAuditResponse > < / soap: Body > < / envelope soap: >

Is my path of dbms_xmlgen.convert to the correct tag?

Half correct.

Missing namespace mapping, and you will need to add the text() node to the XPath expression to retrieve the value instead of the entire element.

 l_val := dbms_xmlgen.convert(
            l_xml.extract(
              '//GetIEPUrlWithAuditResult/text()'
            , 'xmlns="http://www.iepdirect.com/CentrisWebServices/IEPViwer"'
            ).getstringval()
          , 1
          );

But, in this case, it is preferable to use extractValue (as she performs the necessary conversions for us):

 select extractvalue(
          l_xml
        , '//GetIEPUrlWithAuditResult'
        , 'xmlns="http://www.iepdirect.com/CentrisWebServices/IEPViwer"'
        )
 into l_val
 from dual;

Tags: Oracle Development

Similar Questions

  • Is is possible to capture the url in a variable... I'll tell you

    I need to get the user name that will be the location of the url in my situation and put it in the var. apex_public_user
    Is this possible, thank you.
    Doug

    The short answer is Yes. I have real capture specific sections of a URL and they are then used in my case for connection purposes.

    See this link that shows you how its done.

    http://KR.forums.Oracle.com/forums/thread.jspa?threadID=474928

  • I used to be able to type the url under the Privacy tab specific tracking cookies, but this possibility seems to have disappeared, why?

    Under Tools > Options > tab personal life, until recently, there was a cookies button allowing you to type in a list the URLS of specific tracking cookies that you want to block. If all antivirus scans are all these cookies, I could add to the list. This is a great option. It seems that list and this option no longer exists. Why

    For all the history and Cookie options, select: Tools > Options > privacy > History: Firefox will be: "use the custom settings for history".

  • Can we create a rule to capture the URL string in the Hits in the APM cartridge.

    Hi team,

    We have an obligation to create a rule/alarm alert when there is string "File not found" are there in the 'LINK' when we capture the Hits. Please let me know is possible to create this kind of rule in Foglight.

    Thank you

    Shashank Soni.

    To follow on what David said, you can find this useful guide:

    Configuration of the analyzers of success

    Hope this helps,

    Shay

  • Reminders of WebView - capture the URL when you click hyperlinks

    Hi all

    I need help. I use webview/webengine to view a Web page that uses frames, such as http://commons.apache.org/math/api-2.2/

    When I click on a hyperlink in the page, the url (and therefore also the WebEngine.locationProperty) do not change and I can't find a way to 'catch up' the url of the new content displayed in one of the frames.

    How can I catch the event with a click on a hyperlink in an html page displayed in WebView?

    See you soon,.
    Osmoz

    aidreamer wrote:
    I can't test this, but the execution of Javascript something like this might work:

    alert(frame.src);
    

    I can't test it either, but I looked at all the documentation suggests that the src property will remain unchanged when a different page is loaded or it will always give the initial page loaded in the frame. Apparently the current page is available at documentLes.

    For some reason, HTMLFrameElement (indeed, the package integer org.w3c.dom.html) is not included in the Java SE 6 API, but here's the [url http://download.oracle.com/javase/1, 5.0/docs/guide/plugin/dom/org/w3c/dom/html/HTMLFrameElement.html]Java 5 documentation. As you can see, there is a getContentDocument() method that returns a Document whose getDocumentElement ().getAttribute("src") could return the URL of the page currently displayed.

    But unfortunately, the WebEngineof representation of an HTML image does not implement this interface - this is an implementation of the HTMLElementsuperinterface.

    I think that it is possible here showing a RFE on Kenai, the example uses with case and a link to this topic.

    DB

  • Some sites no longer works: Firefox 35 send url using a different strategy to encode the url of ff 34

    Hi *.
    I updated firefox to 34 to 35 and a site of mine (http://www.dolomiti.it) don't work propely anymore.
    If you are looking for a place we'll tell Merano for a given date, missing the date da.
    Debugging showed that the url

    http://www.Dolomiti.it/index.php?ID=4004 & user_ajaxsearch_pi1 [idZona] = & user_ajaxsearch_pi1 [idLocalita] = 207 & user_ajaxsearch_pi1 [type] = 2 & user_ajaxsearch_pi1 = 0 [idTema] user_ajaxsearch_pi1 [tipoStr] = - 1 & user_ajaxsearch_pi1 [star] = 0 & L = 0 & posit_booking [of] = 20/01/2015 & posit_booking [to] 21/01/2015 = & posit_booking [detail] = [{% 22Indice % 22:221% 22% 22Tipo % 22:221% 22% 22Persone % 22 [{: % 2218,18% 22, % 22Camere % 22: 221% 22}] & [nodate] posit_booking = 0

    will be sent to the web server coded as:

    http://www.dolomiti.it/index.php?id=4004 & user_ajaxsearch_pi1% 5BidZona % 5 d = & user_ajaxsearch_pi1% 5BidLocalita % 5 d = 207 & user_ajaxsearch_pi1% 5Btipo % 5 d = 2 & user_ajaxsearch_pi1% 5BidTema % 5 d = 0 & user_ajaxsearch_pi1% 5BtipoStr % 5 d =-1 & user_ajaxsearch_pi1% 5Bstelle % 5 d = 0 & L = 0 & posit_booking % 5Bfrom % 5 d = 20 - 01 - 2015 & posit_booking % 5Bto % 5 d = 21 - 01 - 2015 & posit_booking % 5Bdetail % 5 d = %5 B {% 22Indice % 22:221% 22% 22Tipo % 22:221% 22, % 22Persone % 22: % 2218,18% 22, % 22Camere % 22: 221% 22} 5% D & posit_booking % 5Bnodate %5 D = 0

    I looked in the Web server log, and I found that the url sent to the Web server in ff34 has been:

    http://www.Dolomiti.it/index.php?ID=4004 & user_ajaxsearch_pi1 [idZona] = & user_ajaxsearch_pi1 [idLocalita] = 207 & user_ajaxsearch_pi1 [type] = 2 & user_ajaxsearch_pi1 = 0 [idTema] user_ajaxsearch_pi1 [tipoStr] = - 1 & user_ajaxsearch_pi1 [star] = 0 & L = 0 & posit_booking [of] = 20/01/2015 & posit_booking [to] 21/01/2015 = & posit_booking [detail] = [{% 22Indice % 22:221% 22% 22Tipo % 22:221% 22% 22Persone % 22 [{: % 2218,18% 22, % 22Camere % 22: 221% 22}] & [nodate] posit_booking = 0

    Here's the query in the apache log:

    188.XX.XX.xx - [15/gen / 2015:09:37:55 + 0100] "GET index.php? id = 4004 & user_ajaxsearch_pi1 [idZona] = & user_ajaxsearch_pi1 [idLocalita] = 207 & user_ajaxsearch_pi1 [type] = 2 & user_ajaxsearch_pi1 [idTema] = 0 & user_ajaxsearch_pi1 [tipoStr] = - 1 & user_ajaxsearch_pi1 [star] = 0 & L = 0 & posit_booking [of] = 16/01/2015 posit_booking [to] posit_booking [detail] = [{% 22Indice % 22 & = 17/01/2015. «[{: 221% 22% 22Tipo % 22:221% 22% 22% 22Persone: % 2218,18% 22, % 22Camere % 22:221% 22}] & posit_booking [nodate] = 0 HTTP/1.1 "301 600"http://www.dolomiti.it/"" Mozilla/5.0 (Windows NT 6.3;" WOW64; (RV:34.0) gecko/20100101 Firefox/34.0.

    188.XX.XX.xx--[15/Gen/2015:09:42:06 + 0100] "GET index.php? id = 4004 & user_ajaxsearch_pi1% 5BidZona %5D = & user_ajaxsearch_pi1% 5BidLocalita %5 D = 207 & user_ajaxsearch_pi1% 5Btipo %5 D = 2 & user_ajaxsearch_pi1% 5BidTema %5 D = 0 & user_ajaxsearch_pi1% 5BtipoStr %5 D =-1 & user_ajaxsearch_pi1% 5Bstelle %5 D = 0 & L = 0 & posit_booking % 5Bfrom %5 D = 16-01 - 2015 & posit_booking % 5Bto %5 D = 17-01 - 2015 & posit_booking % 5Bdetail %5D = b 5% {%. «{22Indice % 22: 221% 22% 22Tipo % 22:221% 22% 22% 22Persone: % 2218,18% 22, % 22Camere % 22:221% 22} 5% D & posit_booking % 5Bnodate %5 D = 0 HTTP/1.1 "301 465"http://www.dolomiti.it/"" Mozilla/5.0 (Windows NT 6.3;" WOW64; (RV:35.0) gecko/20100101 Firefox/35.0 "

    Is this a bug?

    Thanks in advance,

    D.

    rifaccio said

    Fixed to 36.0

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=1121826

  • Is it possible to use a web application id in the url?

    I use elements of web application as part of an ajax call, so I would use the item id web app as part of a url to retrieve the detail page. Is this possible?

    This is possible. You can use the following URL: CustomContentRetrieve.aspx? ID = [web app item ID]

  • Time of response and visits the URL table

    Hello

    We want to capture the URL request hits and their average response time Foglight.  I also want to know how an alert if the successes are above the threshold.

    Is it possible to do using Foglight? If Yes please let me know the steps to do it?

    Thank you

    Sure.

    The entire process is described in the documentation.

    Basically, you will need to download the support link cartridge

    Download the Foglight Management Server web console > administration > cartridges > inventory

    Deploy on the fglam from which you want to run the agent (and requests).

    Create an agent.

    Configure the basic properties (it's optional, I saw people wearing at least the location alias they wanted a good logical name) and activation of the agent.

    You can repeat this step and create several different fglams agents that run in different places (make sure that you give them good logical names in the aliases).

    Then go to the webmonitor > directors home and click on manage them transactions

    Click the Add button to add transactions, you can specify the names of transaction, the webmonitor to only get the page header or clarify some should define the content. Notice the bottom of the pop up where you choose where transactions are played and notice the options button advanced option

    The advanced settings allows you to change the default thresholds for response time so that specify proxy (note that if you use a proxy, you will need set the credentials).

    The result will be visible in the performance Explorer.

    Note You can also press the button "Explore" to see the forest-downs

    I hope this helps.

    Golan

  • How to prevent the drop-down menu when you click in the URL field?

    Hello

    For some time there is Safari displays a short title in the URL field when you view a web page (for example, at the moment it says "Apple Inc").  Quite often I want to drage the actual URL in a note or on the desktop for later use.  Whenever I click in the URL field to do this, Safari down a bunch of icons corresponding to the bookmarks in the bookmarks bar, which is useless as my favorite bar is always visible.

    What I would do is to disable this action so that when I click on all I get is the URL so I can drag it somewhere.  Quite often when I drag the URL and domain of Favorites icons is visible, Safari think I want to lodge in this area and therefore mixes the existing icons around according to what path taking when you drag.  It's really very annoying behavior and there must be a way to disable.

    Thank you!

    -Tod

    Safari > Preferences > search

    Uncheck the "Show Favorites".

  • How to add a video option to capture the image

    Use a CCD camera to capture the image. I need to add the ability to capture the video image (live) so that I can focus and adjust the image and then capture it for treatment. Y at - it an option. I searched the SDK as well as the camera but did not.

    I guess you want to adjust the focus see streaming in labview (correct me if otherwise). You can easily do this by using a 'acquire' inside a while loop. Use a capture button to exit the while loop and process/save the captured image.

  • The URL automatically opens to the page /cgi-sys/suspendedpage.cgi

    When you type in the domain name, he leads automatically to this page /cgi-sys/suspendedpage.cgi that indicates the account was suspended.

    Why? This is not correct.

    Hi there, BC doesn't use cgi or has structures of the URL like this. You must contact where you have your domain and/or hosting sites to answer your questions.

  • Cannot locate the URL of the Adobe Connect Server Info

    I recently bought Adobe Captivate 8.0 and I saw how responsive design. Now, I am trying to publish and display the content to display on a mobile device using Adobe Acrobat Connect Pro.

    My mobile phone displays Web sites regularly, but it does not display one of my delicate design projects.

    Captivate

    1. Click on publish
    2. Select publish in Adobe Connect
    3. In the name of the dialog box publish to Adobe Captivate, I get a valid name for the project
    4. (The URL box is empty). Click on folder Orange icon
    5. In the Acrobat Connect Pro Server dialog box, I click on add
    6. In the add new Server dialog box.
      • Can I enter a name in the name box, but...
      • I don't know what to put for the URL box

    In the URL box, it's that I'm stuck. I don't know what to type or where to get/find information.

    Please notify.

    Thank you.

    Hi K Taube,

    You can try using https://arcps.adobeconnect.com in the URL field.

    If you have Adobe Edge inspect, you can preview the output of the sensitive project in Mobile.

    For more information about support, see help of Adobe Captivate | Acrobat Connect Pro

    Unfortunately, for now, Mobile display is not supported in Adobe Connect for reactive nature projects - please check this link known Top questions | Adobe Captivate 8

    -Jacob.

  • Is there a a way to view again the description field by clicking on the gold star near the url (useful for typing memos on this site)?

    In previous versions of Firefox, when you click on the star next to the url, you can add this site to your Favorites. Another click and you can edit some fields on this bookmark, URL, file, etc...

    But with FF17, the Description field is gone. You can only find when you manage your bookmarks, which is really easy to use.

    Is it possible to add again the description field by clicking on the gold star? It is very useful to add notes about this Web site, and it's also resynchronize it with addins like Xmarks

    Add code to the file userChrome.css below default @namespace.

    Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #editBMPanel_descriptionRow { visibility: visible !important; }
    
  • How can I get Mozilla to use the name of the page for the name of the real instead of the URL bookmark when I bookmark a page

    I just noticed that (in comparison to Internet Explorer): in IE, when you preferred a Web page, it uses the actual name of the Web page (for example, for this page, it would be "Ask a Question Firefox Help" as the name of the bookmark), but in Mozilla, it uses the URL as the name of the bookmark. I was wondering if it was possible to change my Mozilla settings so that it uses the name of the Web page as the bookmark name instead of the URL? I hope that everyone understands what I am getting? If anyone can help me, I would really appreciate it. Thank you.

    Firefox uses the tag title for the name of the newly saved bookmark.

    When I bookmark on this forum page I get this for the 'name' of the bookmark.

    How can I get Mozilla to use the name of the page for the name of the real instead of the URL bookmark when I bookmark a page | Firefox Support Forum | Firefox help

  • I wish I could make a website I use ofter and drop it on the screen of firefox under url. Then, I'll have rapid access. How can I do this?

    Question
    I wish I could make a website I use ofter and drop it on the screen of firefox under url. Then, I'll have rapid access. How can I do this? I currently use it on my laptop, but recently bought a new computer and downloaded firefox and lost a lot of features that I enjoyed.

    It was exactly what I was looking for - thanks a lot!

Maybe you are looking for