Can someone please offer guidance regarding xml web service?

Post Author: LeeCUK
CA Forum: Xcelsius and Live Office
Hello, I am attempting to write a dashboard that will retrieve data from a database using the GetXML, I have tried many other methods but this seems the only one I can get working.
The issue I have is that in my code it returns only one selecatble parameter and stores the whole entires within it.
Below is an example of the code.
I send from the dashboard the Xcelsius_Value and it returns the xml schema as expected with fieldnames but within one selectable parameter and does not allow splitting into different cells.
I hope someone can help.Option Strict OffImports System.Data.OleDbImports System.DataImports System.Web.ServicesImports Oracle.DataAccessImports Oracle.DataAccess.ClientImports System.XmlImports System.Text
<WebService(Namespace:="http://microsoft.com/webservices/")> Public Class Service1    Inherits System.Web.Services.WebService
#Region " Web Services Designer Generated Code "    'Generated code not shown.#End Region
#Region "Public Funcation"
    Public strSQL As String    Private configurationAppSettings As System.Configuration.AppSettingsReader = New System.Configuration.AppSettingsReader    Private oracomGeneric As New Oracle.DataAccess.Client.OracleCommand    Private oraconOds As New Oracle.DataAccess.Client.OracleConnection    Private adptGeneric As New Oracle.DataAccess.Client.OracleDataAdapter    Public dtsGeneric As New System.Data.DataSet    Public TableName As String
#End Region
    <WebMethod()> Public Function DatabaseXML(ByVal Xcelsius_Value As String) As String
        Try
            oracomGeneric.Connection = oraconOds            oracomGeneric.FetchSize = CType(65536, Long)
            oraconOds.ConnectionString = CType(configurationAppSettings.GetValue("oracledatabase.ConnectionString", GetType(System.String)), String)
            adptGeneric.DeleteCommand = oracomGeneric            adptGeneric.InsertCommand = oracomGeneric            adptGeneric.SelectCommand = oracomGeneric
            dtsGeneric.Clear()
            oracomGeneric.Connection() = oraconOds
            TableName = "table1"
            strSQL = " SELECT   field1, field2, " & _         "ROUND (SUM (sumfield3)) AS value1, " & _         "ROUND (SUM (sumfield4)) AS value2, " & _         "ROUND (SUM (sumfield5)) AS value3, " & _         "ROUND (SUM (sumfield6)) AS value4 " & _            "FROM " & TableName
            oraconOds.Open()            oracomGeneric.CommandText = strSQL
            adptGeneric.Fill(dtsGeneric)            oraconOds.Close()
            DatabaseXML = dtsGeneric.GetXml()
        Catch Ex As Exception            Throw Ex        End Try    End Function
End Class

with as2 there is no good way:
trace(this.firstChild.childNodes[1].childNodes[4].attributes['ID']);
trace(this.firstChild.childNodes[1].childNodes[4].attributes['CssClass']);
etc

Similar Messages

  • Can someone please share configFile.xml for crawling Content Server Source

    Hi All
    I am trying to create a Content Server Source in SES. I am unable to generate the configFile.xml as mentioned in doc, from UCM.
    Can someone please share the config file.
    Thanks & Regards,
    Amit

    Hi ,
    Thanks lot for replying.
    I am using the same versions. There is one xml file getting generated but its name is not configFile.xml
    In my test it generated one with df2009-04-21-20-16-22-833434567.xml name.
    Please tell me is this the correct file?.
    some contents of it are...
    Line: -----
    <?xml version="1.0" encoding="UTF-8"?>
    <rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="2.0"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xsi:schemaLocation="http://xmlns.oracle.com/orarss C:\project_drive\SES Application Search\SES Format Schma\orarss.xsd">
    <channel>
    <title>Content</title>
    <link>df2009-04-21-20-16-22-833434567.xml</link>
    <description>The channel contains a feed for content</description>
    <lastBuildDate>2009-04-21T14:46:22.000Z</lastBuildDate>
    <channelDesc xmlns="http://xmlns.oracle.com/orarss" >
    <feedType>full</feedType>
    <sourceName>content_feed</sourceName>
    </channelDesc>
    <item>
    Line: -----
    Thanks a lot... :)

  • Can Someone please tell me how to save movie for email & web?

    Can Someone please tell me how to save movie for email & web? I have created a few small videos, (last one was only 3 minutes), and I have tried to save them many different ways, but when I try to send them via email, it takes forever to send and for others to open.
    People send me video links all the time, and they never take that long. What am I doing wrong?
    Thanks for your help.
    Sharona

    People send me video links all the time, and they never take that long...
    Karl is (aside many other things) expert on how-tos and codecs, but one more thing...:
    video link:
    you have two options for sharing video with the world: you can send the whole file to someone - as an xx MB attachement to a mail...; or, you load up the video to some website (.mac, youtube, whatever...) and send just the link x kB to that site...
    asymmetric:
    normal "internet accounts" are asymmetrically (A-DSL)... means: you have FAST downloads, but SLOW uploads.... (my socalled 2k-DSL connections offers downloads 20x faster then my uploads, just to give you an impression...)
    so, uploading my videos to my website needs easy >30min for a letssay highly compressed 2min project.... the link to it is just >1kB; the download/watching of the movie is almost instant on/realtime....
    now, back to Karl, concerning choosing the right codec/compressor... Karl?
    i DO love these phrases in news-shows...

  • Hi there, I cannot seem to convert my iTunes MP4 songs to MP3 - can someone please assist in this regard?

    Hi there, I cannot seem to convert my iTunes MP4 songs to MP3 - can someone please assist in this regard?

    Hello @MK,
    This functionality has been moved under the File menu in iTunes 11, where you will find a submenu labelled "Create New Version." From here you can choose the format you would like it converted to. Do keep in mind that most music purchased from the iTunes Store (unless they're iTunes Plus purchases) cannot be converted.
    iTunes 11 for Mac: Save a copy of a song in a new file format
    http://support.apple.com/kb/PH12167
    Cheers,
    Allen

  • I keep getting error 1202, and I have tried all the fixes offered (registry cleaners, time/date, reinstalling). can someone please help me!!

    I keep getting error 1202, and I have tried everything I've ever found (registry, time/date, reinstall, etc), and it still doesnt work!!!! can someone please help.
    btw, I have version 10.5.1 and run windows 7

    So you're not trying to downgrade iOS?
    Make sure itunes is up to date then try restoring via recovery mode. Follow the link below to do this:
    http://support.apple.com/kb/ht1808
    Hope this helps

  • Can Someone PLEASE Tell Me Why My Muse Site Will Not Work Upon HTML Export?

    Sorry for the long title!
    I've had a few threads going regarding troubles with my Muse site. These issues have been on-going, and once I was no longer able to upload to Fetch—and had to export to html via FileZilla—it just seems the problems continue to snowball.
    I have a web site. I will disclose the URL here now: www.jamescdarling.com
    When this site was html-based (its original form), using my yahoo small business web host and Fetch, it worked like a charm. All Flash files functioned at 100%, embedded videos/players all played great, etc. Then, I switched over to Muse 1.) because I was excited by the potential, and 2.) I wanted to re-design my site, anyway.
    So, I created my site in Muse, and uploaded it all into Fetch. I soon found that some of my Flash files and videos were not working. This was the case for a long time. I finally gave up after trying everything and asking lots of questions here.
    Just recently, I set out to fix these issues as I was afraid this half-assed site would appear to make me look unprofessional and like I had no idea how to use Flash. I had some problems with the new Muse Update (had to ditch Fetch and use "export with html" using FileZlilla). Changes made to my Muse file were not taking... and each time I viewed my updated site, the updates were not there—it still looked like the previous incarnation of the site. However, with some help from some of the good folks here, I was able to make my site not only update, but work nearly perfectly—or so I thought!
    I just clicked on my personal web site URL link in my LinkedIn page, and I see the old-looking site! The bookmark I have of my site is near-perfect—only the videos still will not load. However, it would seem that my site only functions as well as it does on MY computer only—that is, URL's I have been sending out probably are of the old non-functioning site? The changes I make are not being recognized.
    If you will, click on my above URL (in bold)..... If you click on "Resume", you should see light blue rules separating each section. But I bet you will see heavier gray bars with headers inside them. Also, if you view my Flash work, go to the "Epiphone Casino Mini Site".... the "Finshes" and "Features" pages' interactive elements will not function as they should (never mind the video page!)—but they work perfectly when accessing my site from my bookmark on my computer.
    Can someone please tell me how to make my site update web-wide, and how to get my Flash files to function?
    Thanks!!!
    Message was edited by: darling67

    It seams a lot of folks are haveing issues with FTP upload. Try these areas to look at. Maybe the right answer. I dont use Flash on my sites for a long time now. Anyhow, check these out.
    http://tv.adobe.com/watch/muse-feature-tour/adobe-muse-publishing-and-managing-your-site/
    http://www.adobekb.com/using_3rdparty_ftp.html#usingftp-understandinghowftpworks

  • Please help me! I imported my pics to iphoto but I can't open them now. I can't see them on full Screen/edit them like before. All I get is a exclamation mark when I double click on them. I don't have copies, can someone please help me?

    I imported all my pics to Iphoto and I can't open/edit them now. When I double click on them, I only get an exclamation mark. Please help me I don't have copies. I tried burning them to a cd but it didn't work. Can someone please help me?

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    What version of iPhoto? Assuming 09 or later...
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • My MacBook Pro iTunes movie purchase is not showing in iTunes store movie purchases nor does it show on my iPad or Apple TV.  Can someone please help me with a solution?  Thanks.

      First of all, I live in Ho Chi Minh City, Vietnam. Sometimes, I use a VPN to search on the web here. I purchased Toy Story 3 on my MacBook Pro 2011 OS/X - Lion through iTunes.  I initially had trouble downloading it which may be due to being on and off the VPN but after a while it finally downloaded and shows up in my iTunes library on my MacBook. 
      Under my Apple ID account (which is the only Apple ID account I have), I look under purchase history and it shows that I paid for Toy Story which is where I got my Order # from.  But if you go to the iTunes Store then to the Quick Links then click on Purchased, under all my Movies, it does NOT show Toy Story 3 as one of my movies.
      Now when I go to my iPad (3rd gen.), Toy Story 3 does not show up under purchased movies (all or not on my iPad).  It does not show up on my Apple TV as well.  If I want to have Toy Story 3 on my iPad or Apple TV, then it says I have to purchase it again.
      I have searched for help via Apple support communities but so far none of their solutions have worked for me.  I have tried logging off iTunes & App Store on iPad and also shutting down the iPad.  I also made sure that under iTunes Preferences>Store that iTunes in the Clouds purchases is checked. Can someone please help me with this?  Your consideration is greatly appreciated.  Thanks.

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

  • I keep getting an error can someone please help

    i am trying to develop a web application using tomcat. i have a servlet that will not compile because of two things. firstly, it says that package beans does not exist and secondle it gives an error becuase im using a user bean here to set some attributes but it keeps saying it cannot resolve symbol User. can someone please help me sort this out. thanks

    You need to package the bean classes in the proper package (in your case beans), and then place them in WEB-INF/classes/<package dirs>.
    Then you need to import the classes in the JSP.
    Cheers!
    ***Annie***

  • Can someone please assist me. I was given an iPod 3G as a gift and I tried to download various apps and it told me that my iPod needs to be iOS 7 or more but I checked and my iPod is at its latest upgrade which is 6.1.6, how can I get those app?

    Can someone please assist me. I was given an iPod 3G as a gift and I tried to download various apps and it told me that my iPod needs to be iOS 7 or more but I checked and my iPod is at its latest upgrade which is 6.1.6, how can I get those app?

    See a a version compable with your iPod is available:
    Starting when iOS 7 was released, Apple now allows downloading the last compatible version of some apps (iOS 4.2.1 and later only)
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.
    Also, if you have iOS 6.1.6 yo have a 4G (has cameras). A 3G does not have cameras and can only go to 5.1.1

  • Can someone please help me figure out how to "clear" recent email addresses used in Mail?

    Can someone please help me figure out how to “clear” recent email addresses used in Mail?  For example, as I begin typing a name/email address in the “To:” field, Mail begins suggesting addresses that I’ve previously used.  I don’t want any suggestions unless they are in my contacts. 
    Another example:  When using MS Outlook, it will also remember and suggest email accounts previously used, but I can arrow down and delete an account from the list so it won’t automatically popup or suggest in the future. 
    I appreciate any guidance in this matter. 

    The iOS email app stores all email recipients in a list of previous recipients which cannot be turned off. The email address autofill feature when addressing an email pulls from contacts and from the list of previous recipients which can't be prevented. There is no option to clear the list of previous recipients - not at the present time anyway.
    If you don't want any suggestions, select from contacts instead when addressing an email.

  • Does anyone know why my music won't play on my 7th generation iPod nano? I tried resetting it already and that didn't work. Can someone please help?

    Does anyone know why my music wont play on my 7th generation iPod nano? I've tried resetting it already but that didnt work. Can someone please help.

    I would to a Restore.  Select the iPod in iTunes.  Go to the Summary tab for the iPod.  There is a button there to do a Restore.  This will erase the iPod, re-install its software, and set it to default settings.  After Restore complete, try playing songs on the iPod again.
    If THAT does not fix the problem, and it's not bad headphones (since you also tried the "speaker"), there is probably a hardware problem on the iPod.  All 7th gen nanos are still under warranty.  If you have an Apple Store nearby, you should take it to the store's Genius Bar.  To minimize waiting, you can make a reservation on store's web page.
    http://www.apple.com/retail/

  • Hi there. Can someone please help me with copying photos from my old iPad to my new one? Thanks.

    Hi there. Can someone please help me with copying photos from my old iPad to my new ipad2? Thanks.

    If you have a pc, when you plug your iPad in you should see the windows pop up window offering to backup the photos. Do that and it will save all your photos and videos to your computer where you can then sync them back to your new one.
    If the pop up doesn't come up, double click on my computer and navigate your way to the iPad. Double cick on it an d navigate to the DCIM folder. Drag your photos and videos to your pc, then sync them back onto your iPad.

  • In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.

    In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.

    I think the warning is very clear.
    What warning? Where do you say that this plan you suggest will lose at least some, and possibly a whole lot of metadata, plus  the original files of edited photos. This is significant dataloss. And you should warn people that this is the case.
    While your metadata and originals may not be important to you, that is not necessarily the case for other users.
    Fourthly, and last, cleaning the iPhoto library should be done at least once per year
    This is nonsense. The iPhoto Library has no need of "cleaning" and certainly not in any way that trashes a whole lot of data.
    I'm very impressed that you assess the application based on the sound of the name. It's not a common way to review applications, but I'm sure it has some merit.
    FWIW it has been recommended on this - and other - sites for many years and has proven safe and effective.
    Regards
    TD

  • I have just synced my iphone to my computer and all of my contacts went onto the computer and off my phone !! i have a mac .when i sync contacts i click on all contacts and only seven are going onto the phone !! can someone please give me an awnser

    i have just synced my iphone to my computer and all of my contacts went onto the computer and off my phone !! i have a mac .when i sync contacts i click on all contacts and only seven are going onto the phone !! can someone please give me an awnser

    When you connect the iPhone to sync with the new computer,  a number of things will happen. If the new computer/iTunes does not contain any music, then yes, you will receive a prompt saying this iPhone is synced to another library, and if you continue, you will lose your music. However, you risk losing a number of other things, such as apps, contacts and calendar data. When you ask about photos, any photos that you have on the iPhone that were synced from the previous computer would also be lost. You need to save the photo folder from the old laptop and transfer that to the new desktop. You also need to sync the contacts and calendar to the same supported application that you were using in the past, such as Outlook, unless you are using an outside web-based sync, such as Google. Also, when you first connect the iPhone, it will make a backup, or at least make sure that it does before you attempt to sync, or you will not have a backup of some of the other things, such as mail settings, SMS, and the contents of the Camera Roll. I would import the photos from the camera roll to the new computer before trying to do anything else in iTunes.

Maybe you are looking for

  • Safari 4: Problems with animated GIF

    Hi, since I've updated to Mac OS X 10.6 my Safari 4.0.3 has Problems with some animated GIF. Some of these smileys look strange. OS: Mac OS X 10.6.1 Mac: iMac (24-inch Early 2008)

  • How do I determine the size of an image ( bytes not dimensions )?

    I am working on an application which downloads images from the web and caches them for speed reasons. I want to allow the users to browse the cache and dump selected images to free up memory. Ideally I would display the image size in bytes for each c

  • Analog signal smoothing

    I have a LVDT analog signal that I need to plot to a waveform chart for a test that is running at 5hz. The signal is very choppy and unreadable. If I slow it down to say 1hz or less the plot looks like a nice sine wave, which is what I am looking for

  • SAP DMS Package

    Hello, I would like to know if there is an rfc available to check a CAD document into the SAP DMS and store the document into an Archivelink enabled archive?

  • Appworld download link not working "No Software Found"

    Blackberry appworld download link "http://mobileapps.blackberry.com/devicesoftware/entry.do?code=appworld" is not working. I have to download appworld urgently as it has been deleted. Please suggest some alternative. Solved! Go to Solution.