Calling a web service with URL to Insert into DB Web service

Does any one have an idea how I can call a web service using a URL to insert records into an Oracle DB table.
Something like this :
http://apex.oracle.com/pls/apex/SCHEMA/URI/HANDLER/PARAMETERS
I need to call it outside of Oracle Apex.
Regards,
OLU

Hi Swapna,
from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
Maybe it could help.
Regards,
Dawood.

Similar Messages

  • Call service with url /sap/opu/odata/SAP/GBAPP_POAPROVAL is intermittent

    Hello,
    I have problem: call service with url /sap/opu/odata/SAP/GBAPP_POAPROVAL is intermittent, same times it works and same times not work to any type the Approve Orders.
    We are Fiori SAP NetWeaver 7.40 and mobile client is version 1.2.4.
    I used in IOS.
    We are SAML2 using ADFS with Fiori. 'Using SAML 2.0 Authentication to Access Fiori Apps from the Public Internet' in
    SCN:http://scn.sap.com/docs/DOC-42915.
    I try to run like example and the same 1797736 - Troubleshooting Guidefor SAP NetWeaver Gateway,
    and I tested this URL in the SAP Netweaver Gateway Client (http://scn.sap.com/docs/DOC-47626), but appears "HTTP Open falied: INTERNAL_ERROR"
    How to solve this problem?
    Thanks,
    Sandra

    hi,
    if you got 2004s preview from this page
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
    then it does not contain XI
    REgards,
    michal

  • Filter Web Template with URL Cmd: doesn't work with compound infoobject ?

    Hello all,
    I've to filter the query contained on a web template with URL command, but it doesn't work.
    The web template contains only one query, and on the free chars I have 0PLANT.
    I call the web template adding to the normal url the following command:
    &FILTER_IOBJNM=0PLANT&FILTER_VALUE=33
    where 33 is the code of the plant I want to filter.
    The command is executed, I think, because the  result is "NO APPLICABLE DATA FOUND". The fact is that when I execute this query on the Bex filtering 0PLANT by value 33 the data exists.
    May be because 0PLANT on our system is in compound with 0SOURSYSTEM ? In this case, what's the value I can use as filter ?
    Thank's in advance,
    Max

    Hi,
    please see http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm
    especially:
    If the variant with ending 'EXT' is selected, the fully compounded value has to be entered in the external format, for example, 24.12.2000.
    If the ending 'EXT' is not used, the fully compounded value has to be entered in the internal format, for example, 20001224 for 24.12.2000.
    and
    In the internal display (see table below) you can easily determine the name of the characteristic and the filter value using the URL parameter &snippet_operations=%20 (see also Object Tag for the Properties of Web Templates). Call the Web application with this URL parameter. If you filter using the context menu, the parameters FILTER_IOBJNM and FILTER_VALUE are automatically added to the URL in the Web browser. You can then use the desired values with Command URLs in hyperlinks.
    Heike

  • Reading  xml data from url and insert into table

    CREATE TABLE url_tab2
    URL_NAME VARCHAR2(100),
    URL SYS.URIType
    INSERT INTO url_tab2 VALUES
    (’This is a test URL’,
    sys.UriFactory.getUri(’http://www.domain.com/test.xml’)
    it is giving error as invalid character

    Check if your single quotes are the correct single quotes.
    The principle works as advertised in the XMLDB Developers Guide...
    C:\>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Tue Nov 25 21:44:46 2008
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create user OTN identified by OTN account unlock;
    User created.
    SQL> grant dba, xdbadmin to OTN;
    Grant succeeded.
    SQL> conn OTN/OTN
    Connected.
    SQL> CREATE TABLE uri_tab (docUrl SYS.URIType, docName VARCHAR2(200));
    Table created.
    SQL> -- Method SYS.URIFACTORY.getURI() with absolute URIs
    SQL> -- Insert an HTTPUri with absolute URL into SYS.URIType using URIFACTORY.
    SQL> -- The target is Oracle home page.
    SQL> INSERT INTO uri_tab VALUES
      2  (SYS.URIFACTORY.getURI('http://www.oracle.com'), 'AbsURL');
    1 row created.
    SQL> -- Insert an HTTPUri with relative URL using constructor SYS.HTTPURIType.
    SQL> -- Note the absence of prefix http://. The target is the same.
    SQL> INSERT INTO uri_tab VALUES (SYS.HTTPURIType('www.oracle.com'), 'RelURL');
    1 row created.
    SQL> -- Insert a DBUri that targets employee data from database table hr.employees.
    SQL>
    SQL> INSERT INTO uri_tab VALUES
      2  (SYS.URIFACTORY.getURI('/oradb/HR/EMPLOYEES/ROW[EMPLOYEE_ID=200]'), 'Emp200');
    1 row created.
    SQL> SELECT e.docUrl.getCLOB(), docName FROM uri_tab e;
    E.DOCURL.GETCLOB()
    DOCNAME
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN
    ">
    <html>
    <head>
    AbsURL
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN
    ">
    <html>
    E.DOCURL.GETCLOB()
    DOCNAME
    <head>
    RelURL
    <?xml version="1.0"?>
    <ROW>
      <EMPLOYEE_ID>200</EMPLOYEE_ID>
      <FIRST_NAME>Jenn
    Emp200
    SQL> set long 1000
    SQL> select HTTPURITYPE('www.oracle.com').getCLob() from dual;
    HTTPURITYPE('WWW.ORACLE.COM').GETCLOB()
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN
    ">
    <html>
    <head>
    <title>Oracle 11g, Siebel, PeopleSoft |
    Oracle, The World's Largest Enterprise S
    oftware Company</title>
    <meta name="title" content="Enterprise Applications | D
    atabase | Fusion Middleware | Applicatio
    ns Unlimited | Business | Oracle, The Wo
    rld's Largest Enterprise Software CompanEdited by: Marco Gralike on Nov 25, 2008 10:13 PM

  • Help with CDOSYS,  and insert into DB

    I'm using Dreamweaver 8, SQL Server 2000, Windows 2003
    Server.
    This is what so far I was able to achieve. Have a form that
    inserts records into the database, a confirmation page of the
    insert, and a simple CDOSYS message to notify me that a record have
    been inserted.
    Basically on the Form action I call the insert page, wich in
    turn redirects to the confirmation page that virtually includes the
    file for the email.
    What I would like to achieve, is the email that I've setup,
    to include in the body of the message all the fields that have been
    inserted, instead of a simple message that a record have been
    inserted. Below is the simple code that I´m using for the
    email. Can someone explain what do I have to modify or add and
    where?
    Thanks.
    Manuel
    <%
    Set myMail=CreateObject("CDO.Message")
    myMail.Subject="New Contact"
    myMail.From=""
    myMail.To="[email protected]"
    myMail.Bcc="someonelse'[email protected]"
    myMail.Cc=""
    myMail.TextBody="There´s a new contact"
    myMail.Send
    set myMail=nothing
    %>

    Thanks if you read my first post, but I've figured it out.
    Thanks anyway
    Manuel

  • Problem with XML doc inserting into oracle 10g

    Hi Guys, I have some knowledge in oracle 10g.
    We are doing an application, when we were trying to insert XML document (I was trying to insert XML as un-structured way.) into oracle 10g as a datatype called XMLTYPE column.
    My XML is having namespace attributes(Target namespaces) in that. So when i was trying to insert that into database , it is giving some error ,and not letting me to push that into database.
    So Can any body please help me in this. My constraint is that I have to insert the document as un-structured way.
    You help would be appriciated.
    Vish
    Message was edited by:
    user567405
    Message was edited by:
    user567405
    Message was edited by:
    user567405
    Message was edited by:
    user567405
    Message was edited by:
    user567405

    , it is giving some error Hmmm, six attempts and you still didn't manage to tell us what the actuall error message and number was. Oracle has thousands of error messages. If you would like us to help you, make it easy for us to figure out what's going on. Don't make us guess.
    Regards, APC

  • IPhoto crashing with camera card inserted into reader......

    I replied to another thread regarding iPhoto crashing this morning, the first time that I have attempted to import photos into the newest iPhoto. After posting my replies, I noted that the question had been answered and I don't want this topic to die because it's still an issue with me to a certain extent. So here goes again... I have had 6 crashes this morning when I attempted to import photos with my camera card inserted. It crashed each time. Four of the 6 times I was able to report to Apple about the crashes- the first 2 times the report to Apple box didn't come up after clicking on Report. My work around until Apple fixes this bug is to not have iPhoto open when my camera card is inserted. I drag my photos from the camera card to my desktop, remove card, open iPhoto and import the pictures. Of course the downside is that I can't 'split' the photos into different events...... I hope Apple comes up with a fix for this bug. Judy
    PS- I am using the latest version of iPhoto although I haven't checked this mornng to see if there is an update.

    mrstee:
    You can split into events when importing from the Finder/Desktop. Go into iPhoto's Events preference section and check the Finder check box. They will then be split in accordance with the criteria set in that section, i.e. 1-day, 1-week, etc.
    To try to find the problem try deleting the iPhoto preference file, com.apple.iPhoto.plist, from your User/Library/Preferences folder.
    Next, if necessary, boot into Safe Mode and see if you can import successfully. If you can then your account is at fault. In that case one possible fix is the following:
    Trouble Shooting Preferences
    Go to HD/Users/Your_name/Library. Move the Preferences folder (in its entirety) to the Desktop and make a second copy of it so you have Copy A and B. Now try the the process again and determine if problem is fixed.
    If the problem IS fixed, then go to the new Prefs folder that the OS will have created and open it up.
    Open Copy B on the Desktop and select all of the items inside. Drag them into the open new library folder. When the Copy window comes up check the Apply to All check box and then click on the Don't Replace button as seen here. That will keep the new files created and bring back all of the others.
    If the problem is NOT fixed, trash the new Prefs folder and move the intact Copy A folder back to the Library folder .
    If that doesn't work then a reapplication of of the 10.4.10 COMBO updater followed by a repair of disk permissions might do the trick.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Urgent help with HTML/arrays/insert into database through a bean

    I am currenly building an application that dynamically lists subjects and developers from a database. This list is used as a questionaire to ask developers what subjects will they be interested in attending or teaching. I having problem passing this data into the database on the bean level.
    I need help I have been working on this for months. I can explain further. I need to prove to my boss that I can do this project but i am currently stuck.

    Split your requirements into small pieces and ask them one by one, you will certainly get help here. But please make sure that you will do your home/office work.

  • Web Clip with Parameters

    I have a page that I would like to webclip. Problem is, the page contains parameters. For the classic example Lets say I have developed a page using php that will list employees belonging to a certain department. The web page would look something like this
    http://mycompany.com/list_emps.php?deptno=30
    I want to be able to defined this parameter using a drop down parameter list. Once I hit submit, I would see the web page with desired results. I've seen the demo where something similar to this is done, but in my case I want to see the whole page rendered. In the demo that I've seen you have to pick a certain region and somehow the web clipping tool traps the parameters. I've talked to support and we've tried passing parameters, but nothing seems to work. The support analyst basically told me that I would have to customize something that will allow me to load the page with the passed parameter. Any help would be greatly appreciated.

    I'm assuming the reason you're using Web Clipping is because you want your content rendered inside of a Portal page. As a much simpler alternative, if you are OK with having your content (page) accessed directly by the browser (outside of Portal), you can use the HTML Portlet (found within the Portlet Builders section of the Portlet Repository) to manually author an HTML snippet that has a has a drop-down like you mentioned and refreshes the page to the constructed URL of http://mycompany.com/list_emps.php?deptno=<whatever is selected>
    Using Clipping, there are three issues that you want resolved here:
    1) Full page Clipping - this is easily done just by clicking on the "Select" button instead of the "Section" button when you're on a page you wish to select
    2) Clipping Parameters - In order to do what you asked, you will have to expose deptno as a Clipping parameter.
    In order for that to happen, there has to be an existing page (call it page 1) that points to http://mycompany.com/list_emps.php?deptno=30 after a form submission (the 30 is entered as a form input).
    As you enter the "Edit Defaults" (marked by the pencil icon) of the Web Clipping Portlet, and enter a starting URL to enter into the Web Clipping Studio, you will enter the URL for page 1 first and then use form submission to navigate (still within the Studio) to http://mycompany.com/list_emps.php?deptno=30.
    Upon completion of the Web Clipping Studio (see issue 1 above), you'll return to the "Edit Defaults" where you'll see at the bottom of the page a table that allows you to expose Clipping Parameters - there you'll find deptno, and you can assign it to Param1 through Param5.
    3) Create a Page Parameter that maps to this parameter (you can call it deptno as well) and wire it to the Param1 (or whatever Param you selected in the previous step). This allows for the Clipping Parameter to be passed from the page as a URL parameter.
    Upon completion of 3, you can add another HTML Portlet on the page to change the current "Portal" URL based on the deptno value selected in a drop down.
    I know it's a lot to read, but hope this helps,
    Cheers,
    Paul

  • Trouble inserting a widget into my web page

    Hello,
    I am using DW CS3. I got the html code for a widget (in this case a small banner) to insert into my web page. Here is the code:
    <div>Find <a id="flipkey_best_of_property" href="http://www.flipkey.com/pine-mountain-club-vacation-rentals/g1553621/">Pine Mountain Club Vacation Rentals</a> on FlipKey</div><script type="text/javascript" src="http://data.flipkey.com/widgets/jsapi/36780/fhb/7be5/"></script>
    I inserted a Div Tag in my web page to contain the code (Class: Body; ID: apDiv2), and then pasted the code into the Div Tag. Though I was in Design View, the html code still showed as html code, not as the small banner I had hoped for. Can someone steer me in the right direction?
    Note: I took a web design course 3 years ago and created this web page at the time. I haven't done any web design since then, and have forgotten many of the details, but I should remember as soon as someone points out my errors.
    Thanks!

    If it's been 3 years, a refresher course may be in order. 
    Start here:
    HTML & CSS Tutorials - http://w3schools.com/
    APDivs as a primary layout method seldom works well. Here is why:
    http://apptools.com/examples/pagelayout101.php
    Learn CSS positioning in 10 Steps
    http://www.barelyfitz.com/screencast/html-training/css/positioning/
    How to Develop with CSS?  (a must read!!)
    http://phrogz.net/css/HowToDevelopWithCSS.html
    New Dreamweaver CSS Templates for beginners
    http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html
    New DW Starter Pages
    http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Error With Insert Into From Select

    Hello,
    I have a problem with this query in pl sql developer with oracle 10G:
    insert into ca_nrj_rem(imsi,id_gamme_vente,domaine,date_topage,id_produit)
    (select a1.* from (select d.imsi, 1, 4, trunc(sysdate - 1), 'NRJ003'
    from ca_evenement_vsim a, ca_forfait b, ca_forfait c, ca_vsim_associe d
    where a.id_action = 'CP1'
    and bao.Lecture_Parametre_XML_V2(a.valeur_parametres, 'ancienCode') = b.code_forfait
    and b.code_gamme = 2
    and bao.Lecture_Parametre_XML_V2(a.valeur_parametres, 'nouveauCode') = c.code_forfait
    and c.code_gamme = 6
    and date_trace > sysdate - 6
    and a.vsimid = d.vsimid
    and d.date_fin is null
    group by d.imsi, trunc(sysdate - 1)) a1, ca_nrj_rem n
    where a1.imsi=n.imsi(+) and n.imsi is null);
    The select statement return X (163) values but the insert statement inserts Y (540) values
    Can you help me please ?
    Thanks You

    user511447 wrote:
    The select statement return X (163) values but the insert statement inserts Y (540) valuesNot possible if the select statements are identical.
    You'll have to provide more evidence and example output (format it on the forum by putting {noformat}{noformat} before and after it), so we can see exactly what you are doing.
    Are you sure that the table you are inserting into has no rows initially or that you are counting the rows correctly?
    Show us exactly what you are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • BPEL Services with Task are ending in Recovery console

    Hi All,
    I have a BPEL service with task activity. Once the task service is invoked, the BPEL service is ending up in recovery console. Not sure why this is happening, we are currently on SOA 10.1.3.3.1+MLR18.
    Note: In the same service I have a debug statement after the task initiation and before the receive activity of task. Once the BPEL service is invoked log I can see that my debug statement is getting executed. It means that in the back end my task is getting executed but it is not shown in BPEL console or WFTASK table.
    Please suggest if we have I am missing any thing.
    Thanks
    Ramu.

    Hi Ramu,
    Are you able to recover the process from the manual recovery section ? If yes, then its fine and now turn the cube, wf, engine loggers to DEBUG and see the corresponding errors in the log file.(to figure out the root cause)
    Regards
    A

  • General design help for a basic web app with DB

    I'm fairly new to Java EE development (lots of years of Java SE experience). In the not-so-distant future I'm going to be tasked with writing a web access feature for a database-backed catalog-like application. The application helps biologist keep track of all the dead animals they have in their research collections. It is meant to be a full-featured desktop application with the ability to setup a web portal to allow other researchers to search the contents of a collection (to see if there are specimens that they would like to see or borrow, etc). So, I have to write a bunch of servlets, JSPs, JSF pages, or something like that to provide a search page and a number of results views including tables, forms, maps, etc. Our desktop app uses Hibernate for ORM.
    From what I've seen of the framework, I would really like to use JSF to do the views and navigation. Can I use JSF with Hibernate persistence? My Hibernate mappings are in *.hbm.xml files. How can I meld these technologies together. Better yet, can this be done using the Visual Web Developer pack for Netbeans 5.5?

    web app or desktop app? pick oneOur main product is a desktop app. However, we also ship with the feature to install a webapp that allows searching the collections via a web browser.
    with the ability to
    setup a web portal to allow other researchers to
    search the contents of a collection (to see ifthere
    are specimens that they would like to see orborrow,
    etc). you don't HAVE to have a portal for that you know...I realize that I could pull this off even with a few CGIs written in perl, but I want to make something that would later be expandable into a full-featured web app, allowing for data entry as well as searching.
    It sounds to me like a very simply web app and you
    are going way overboard. You don't need much code,
    much less a bunch of extra frameworks, API's, etc.
    I'd make a few servlets/jsp's and avoid getting into
    JSF, hibernate, etc. unless you know they are worth
    your time.I'm planning on using Hibernate because all of the Hibernate data classes and bindings are already setup. I guess in the initial version that doesn't do anything but view the data, I could avoid Hibernate since I don't need any ability to detect user changes to objects and commit those back to the DB.
    I'd really like to write the web app using the Java EE 5 persistance API (JPA) and not have any Hibernate-specific code in the mix.
    One requirement I forgot to mention was the need for a login page that can allow for access above the standard, anonymous guest level. Some information that these guys collect, such as where they located a rare plant variety, is highly sensative (since pharma companies have been known to want this information). For that reason, some of the info is not made available to anonymous web access users. Users with a registered account can get at more info.

  • Flv Video inserted into page by Dreamweaver won't play or show up on page??

    The following code was inserted into a web page for a site I am trying to build in Dreamweaver CS5.5, but the video clip does not show up when I try to view the page in browser:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="202" height="231" id="FLVPlayer">
            <param name="movie" value="FLVPlayer_Progressive.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="scale" value="noscale" />
            <param name="salign" value="lt" />
            <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Halo_Skin_2&amp;streamName=Globetrottin.fl v&amp;autoPlay=false&amp;autoRewind=false" />
            <param name="swfversion" value="8,0,0,0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="202" height="231">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="scale" value="noscale" />
              <param name="salign" value="lt" />
              <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Halo_Skin_2&amp;streamName=Globetrottin.fl v&amp;autoPlay=false&amp;autoRewind=false" />
              <param name="swfversion" value="8,0,0,0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
    I don't understand this. I am not a code expert by any means, but I was told that by purchasing the Deamweaver software I would not need to be a web developer to make a site?? The remainder of the site looks great, but I need to insert some video clips on this one page and it won't do it. Please help me!!

    Go to Sites > Manage Sites > Edit your site definition settings.  If you haven't defined a site yet, Hit NEW and set-up your Local Info first. 
    Then, select Remote Info (it's in the Advanced panel). 
    Fill in the fields with the log-in details your host sent you.   This is how DW will connect you to the remote server. 
    NOTE: my screenshot looks different but you get the general idea.
    Hit OK.
    Select your test page in the Files Panel and hit the UP arrow to upload your page & dependant files to the remote server.   As Hans said earlier, you need all four files to support Flash Video.
    Come back and post the URL to your page.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Calling Reporting Services Web Service with jQuery possible?

    Hi,
    is it possible to call the Reporting Services Web Service with jQuery? If yes, can someone post me a small example?
    Background:
    My plan is to create a html with a form which is also uploaded then into the reportserver. I open this html later by clicking a link in a report (with gotoURL open.window). The report opens the html inclusive the overtaken of some additional parameters
    (reportname, reportdescription). These parameters I will use in the html-form as defaultvalues for the corresponding input-text-fields. Now the user can make some changes (i.e. the decription). With a click on a button I will send the new description to
    the Reporting Services Web Service by using the SetProperties method, closing the html-window and reload the report. Important is that I want to upload the html also into the reportserver itself.
    I have already found how to consume a web service via jQuery but with the Reporting Services Web Service I did not get it running in my tests.
    I have referenced to the following jQuery.js: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
    Here you can see my tests I made with the results:
    $.ajax({
    type: 'POST',
    url: 'http://<..>/ReportServer/ReportService2010.asmx/ListChildren',
    data: {'ItemPath':'/','Recursive':false},
    complete: function(xData, status) {
    $('p').html($(xData.responseXML).text()); // result
    $("#divStatus").text( status ); // status }
    I got a NULL response with Status success. But where are the items?
    Another test which should response only one value was that:
    $.ajax({
    type: "POST",
    contentType: "text/xml; charset=utf-8",
    url: "http://<..>/ReportServer/ReportService2010.asmx/GetItemType",
    data: {"Item":"/Development"}, // Development is a Folder in my Reportserver-Root
    dataType: "xml",
    success: function (msg) {
    $("#divResult").html(msg.responseXML);
    error: function (data, status, error) {
    $("#divResult").html("WebSerivce unreachable<br> <br>" + data.responseXML + "<br> <br>(" + error + ")");
    Here I got an [object Error]
    And here my last test:
    var soapMessage = '<?xml version="1.0" encoding="utf-8"?>\
    <soap:Envelope \
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" \
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">\
    <soap:Body>\
    <GetItemType xmlns="http://www.microsoft.com/sql/ReportingServer">\
    <ItemPath>/Development</ItemPath>\
    </GetItemType>\
    </soap:Body>\
    </soap:Envelope>';
    $.ajax({
    type: "POST",
    contentType: "text/xml; charset=utf-8",
    url: http://<..>/ReportServer/ReportService2010.asmx?wsdl,
    data: soapMessage,
    dataType: "xml",
    success: processSuccess,
    error: processError
    function processSuccess(data, status, req) {
    if (status == "success")
    $("#response").text($(req.responseXML).find("Type").text());
    function processError(data, status, req) {
    alert(req.responseText + " " + status);
    Here I got an "Undefined error"
    Can anyone help me?
    Thanks
    René Illner

    Hi Rene,
    I have one vbscript class to call web services. May be if you need you can use it.
         dim ws
         set ws = new webservice
         ws.url = "http://servername/ReportServer/ReportService2010.asmx"
         ws.method = "MethodName"
         ws.parameters.Add "Parameter1", "Param1 Desc.."
         ws.parameters.Add "Parameter2","[email protected]"
         ws.execute
         set ws = nothing
    '------web service calling class
    class WebService
      public Url
      public Method
      public Response
      public Parameters
      public function execute()
        dim xmlhttp
        Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
        xmlhttp.open "POST", Url & "/" & Method, false
        xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
        xmlhttp.send Parameters.toString
        response = xmlhttp.responseText
        set xmlhttp = nothing
      end function
      Private Sub Class_Initialize()
        Set Parameters = new wsParameters
      End Sub
      Private Sub Class_Terminate()
        Set Parameters = Nothing
      End Sub
    End class
    class wsParameters
      public mCol
      public function toString()
        dim nItem
        dim buffer
        buffer = ""
        for nItem = 1 to Count
          buffer = buffer & Item(nItem).toString & "&"
        next
        if right(buffer,1)="&" then
          buffer = left(buffer,len(buffer)-1)
        end if
        toString = buffer
      end function
      public sub Clear
        set mcol = nothing
        Set mCol = CreateObject("Scripting.Dictionary")
      end sub
      public sub Add(pKey,pValue)
        dim newParameter
        set newParameter = new wsParameter
        newParameter.Key = pKey
        newParameter.Value = pValue
        mCol.Add mCol.count+1, newParameter
        set newParameter = nothing
      end sub
      public function Item(nKey)
        set Item=mCol.Item(nKey)
      end function
      public function ExistsXKey(pKey)
        dim nItem
        for nItem = 1 to mcol.count
          if mCol.Item(nItem).key = pKey then
            ExistsXKeyword = true
            exit for
          end if
        next
      end function
      public sub Remove(nKey)
        mCol.Remove(nKey)
      end sub
      public function Count()
        Count=mCol.count
      end function
      Private Sub Class_Initialize()
        Set mCol = CreateObject("Scripting.Dictionary")
      End Sub
      Private Sub Class_Terminate()
        Set mCol = Nothing
      End Sub
    end class
    class wsParameter
       public Key
       public Value
       public function toString()
         toString = Key & "=" & Value
       end function
    end class
    Regards, RSingh

Maybe you are looking for

  • Images open in wrong version of Photoshop

    I have both Photoshop CC and Photoshop CC 2014 installed because some actions I have purchased only work in Photoshop CC due to them using the Oil Painting filter. But if I double click an image to open it, it opens in Photoshop CC. So I right click

  • [Solved]Unable to boot /sbin/init does not exist.

    When I boot, I get this message: ERROR: Root device mounted successfully, but /shin/init does not exist. This is an installation that was working fine for me before. I went into Windows to free up disk space, and when I booted Arch later, this is wha

  • Mapping and loading  single ASCII file into multiple tables in ODI

    We get an ASCII file that contains several different transactions (records) and I need to validate and map each record to different table in the target database using Oracle Data Integrator tool. Is it possible ? If so, how and how difficult it is ?

  • Compatibility PLSSS READ!!!

    heloo, i have the mobo msi 880gm-e41 and the processor AMD phenom II x4 965 which have 125w and  the mobo supports only 95w . is there any update for bios or could i put the proc on the mobo even though the TDP is with 30w higher. will the mobo see m

  • I have an Exvel spreadsheet I need to sent to email....it won't let me

    I have an exvel spreadsheet I want to send to an email address.. I says I can not send because I don't have outlook...Is there a way to send this to an email thru firefox instead of microsoft. This is not a one time thing, I need it to be ongoing....