Web Service Connection in Xcelsius 2008

I have recently upgraded from 4.5 to Xcelsius 2008 and am having trouble getting the Web Service Connections set up correctly for my QaaWS.
I have 7 LiveOffice connections in a model that seem to all refresh on load fine and i have already set up a Web Service Connection that picks up the drill through path of what the user has clicked on and used them as input parameters to a QaaWS query.
I now need to add another Web Service Connection for another QaaWS and i get the following error message;
"Unable to Load URL"
I have checked the available QaaWS services using dswsbobje/qaawsservices and the 2 queries appear as i would expect.
I have checked the dsws.properties file and the user name and password are correct (which i would expect as teh 1st connections works in the Xcelsius model.
I have restarted the Tomcat server and CMS and this does not cure the problem.
I have even tried re-installing QaaWS.
I have installed SP1 fix 1 for 2008. I am currently using XIR2 SP2.
Can anyone help as sometimes this functionality works and sometimes it does not. The 2 queries i want to use point aty teh ssame database and BO Universe.
Edited by: Anthony Jones on Jan 8, 2009 12:18 PM

Hi Anthony,
You might check that type of the licence type of the user QaaWSPrincipal. I had a problem where the QaaWSPrincipal user was Concurrent Access License while my server was Named User only. Switching to Named User resolved the problem.
However, I am not sure that this is your issue as the you have one QaaWAS url working. YOu might want to check your URL is available
try
http://<name of server>:<Tomcat port number>/dswsbobje/qaawsservices
This contains a list of all URLs. Finally, you might look at importing the wsdl into other applications to see if the issue is Xcelsius or QaaWS related. You can copy to MS Office InfoPath with steps described below.
http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_query_as_a_web_service_en.pdf
Hope this helps
Alan

Similar Messages

  • Using Encrypted Web Service connections within Xcelsius 2008 SP1 - FP3

    Hi all,
    I'm running the latest version of Xcelsius Server 2008 and have setup a simplistic dashboard that uses 4 web service connections to dynamically call queries within a SQL Server 2008 database. The dashboard has been exported to html and I can serve this to the WWW.
    I have since created a new https website (using a self signed certificate) and can now serve my Xcelsius dashboard via https. My problem is that I have had to run my old website in parallel (as it serves the said non-encrypted web service) which is linked within the swf source (that is running on the new https enabled website).
    Upon trying to alter my existing xlf file so that it references the encrypted web service URL (which works fine via the browser) it prompts me to accept the self signed certificate. Once I click yes, and then add the certificate to the certificate store the whole thing locks up and I am forced to close Xcelsius.
    Am I right in thinking that Xcelsius will not accept self signed certificates or encrypted web services at all? For me this is big security concern because if I want to share my dashboard via the WWW I have to accept the fact that I need to run an unsecure web service.
    Is this something that is only supported in Xcelsius Enterprise?
    TIA

    Hello Paul,
    Sorry not to have replied to this sooner.
    We have had experience of hosting Xcelsius Dashboards using Https: for one of our clients here at Flynet.
    We noticed a number of issues , we did have problems relating to the Firewall on our Gateway server for example. We also had issues with the number of active connections processed when the dashboard is running. I think the default for Https: is 2 , so the connections can be queued up. Have you retried with one connection open. The Dashboard we did however did have up to 12 connections, so Xcelsius can handle multiple connections.
    When developing the Dashboards using Xcelsius I did have to import using the Web Service URL of the remote server which was Https: However due to issues sometimes with our Gateway Firewall and the way our Local Network had to access the https: URL , what I tended to do was develop using a localhost Web service and then switch the URL to use the https: Web Service once the dashboard was exported to the server it was to be hosted on.
    What we did notice for example is that we could have a dashboard running locally quite happily using the https: web services which are actually on [http://www.flynetviewer.com]   then we would start getting #2 type flash errors. To solve this we had to restart our Windows Firewall on our gateway server. We could run the dashboard fine if run from our web site.
    I am not sure if the issues you have are related to this. I have had problems when I had to import the https: web service URL on my local machine  , I am prompted for the Username password for the Https: location , but when trying to import Xcelsius has a problem and exits. Due to these problems I tended to use a local Web service when developing. I know this isn't always practical.
    I was running on Vista 64 bit , but I also have XP and Server 2003 running on Virtual machines.  
    I will be happy to share information my experiences with you.
    Best Regards,
    Ian Learmonth
    Flynet
    Updated to add: I have just successfully imported an https: Web service. Mapped it to the dashboard , run it and invoked sucessfully. This was on Windows XP professional SP2. 
    I did the same thing on Windows Vista 64 bit and had an issue. So not sure what operating system you are using or whether it's a Certificate thing. I can try and find out a bit more on our Certificate if you need to find out what the issue is.
    The Vista issue seems to have been resolved by running Xcelsius as Administrator.
    When successfully importing I was prompted for the Username and Password for the URL but not the Certificate.
    Edited by: Ian Learmonth on Apr 23, 2009 12:18 PM
    Edited by: Ian Learmonth on Apr 23, 2009 12:30 PM

  • Maximum no of Web service connections in xcelsius?

    Hi,
    How many maximum webservice connections can we have for a single xcelsius dashboard for different BW queries? I am using xcelsius enterprise 2008. Build number is 12,3,0,670.
    Thanks in advance,
    Shreesh.

    Hello Shreesh,
    I do not think there is any actual limitation on Xcelsius on the number of web service connections you can define.
    You should rather consider performance & scalability, as under HTTP 1.1 there is at most two concurrent HTTP requests to be handled at the same time. Besides, this total number of web service connections should be scaled to the total number of concurrent users you expect playing with the dashboard vs. the performance of the application server(s) from which those web services will be deployed...
    Hope that helps,
    David.

  • Mapping input values for a web service connection to a range of cells

    I've created a web service connection in Xcelsius data manager. My web service requires an array of integer as input parameter. How do I map input values for a web service connection to read from a range of cells in the spreadsheet, e.g. $A$2:$A$20, in similar way of mapping output values to write to a range of cells in the spreadsheet?
    For output values of the web service, I can specify to map the output values to write to a range of cells. However, it doesn't seem to work for reading the input values.
    I can map input values for each node to a single cell, e.g. $A$2, in the spreadsheet. However, when I set the "Read From" field to a range of cells, e.g. $A$2:$A$20, it only reads in the first value in the range.
    Is there any way that we can do this mapping for input values as we do for output values?
    Your assistance is very much appreciated.
    Regards,
    Van

    Van,
    There is a workaround for that...
    Example:
    My Webservice accepts input data range in a specific format with " :" symbol, i.e. 072008:082008
    Now what i do is
    A1 = 072008
    A2 = 082008
    A3 = CONCATENATE(A1,":",A2)
    so A3 = 072008:082008
    Now i map the input value in web service to cell A3
    P.S have 2 input box components and map it to cells A1 and A2, i.e you are giving users an  option to enter the range of values...then web service will capture the range and refreshes data with the range of values user entered.
    hope this helps..
    -Anil

  • Calculations in Xcelsius using data generated by a Web Service Connection

    Hi,
    I have set up a web service connection to pull in 4 columns of data: 1. CATEGORY  2. SUBCATEGORY 3. PRODUCT TYPE   4.#OFCALLS.  There will be anywhere from 1 to 500 rows of data depending on day of week and time of day.  The web service sorts the list by #OFCALLS descending. The OUTPUT VALUES of the web service connection are mapped to cells A19:D518.
    Formulas in the spreadsheet take the Top 10 from the list and populate it to cells  A4:D13.  A formula in cell D15 sums the #OFCALLS for the entire web service connection output (A19:D518).
    The data in A4:D15 is mapped to a spreadsheet table on my canvas.   When the report generates, the data from the TOP 10 of the web service connection populates properly, but the cell that should reflect the TOTAL#OFCALLS (D15) shows zero.
    Is it not possible to do additional calculations in the spreadsheet based on data generated by the web service connection?  A major difference between using an XML Map and a Web Service Connection is the XML Map actually populates the spreadsheet with the new data when it is refreshed.  The Web Service connection data never actually appears in the spreadsheet itself, even though it updates to the appropriate vessel on the canvas.   This makes me think that no additional calculations can be done in the spreadsheet based on the web service connection data.
    Can anyone tell me if that is correct?  If so, then the web service connection would also have to pull in the TOTAL#OFCALLS along with the other data.   This would also seem to greatly limit what you could do with data generated by a web service connection, so I am hoping I am wrong and just don't understand how to do this.
    Can anyone clarify this for me?  If I failed to give any pertinent info let me know what it is, and I will update my post.
    Thanks!

    I have seen similar behavior as well.  I have live data coming into Xcelsius from a data connection. 
    A supported Excel formula
    =IF(ISBLANK(J2),I2,VALUE(TODAY()-J2))
    is then applied to one of the columns to create an additional derived column.
    Taking a snapshot of the data shows that the derived column is being populated, however the controls I've tried hooking up to the derived column (charts and labels) are always empty.
    Information on whether this is supported would be appreciated.
    Thank you,
    David

  • Slow response when using Xcelsius web service connection witn input values

    We've been very successful in using the Xcelsius Web Service Connection. We've recently moved forward toward using input values when calling a web service and having issues with response time. Without input values, it takes 3 - 6 seconds to retrieve and display the results in Xcelsius, but, when using the input values to the web service, it takes about 27 seconds for Xcelsius to retrieve and display the results.  Does anyone have experience with fixing slow response associated with using input values for a web service connection?

    Hi Sharone,
    What's the version of your Xcelsius and BOBJ server?
    I'm asking because using the last version of BOBJ server (BOXI 3.1 SP 3) you have new services on CMC just to help Xcelsius to work better with WebServices.
    Regards,
    Rodrigo.

  • "Unable to load URL" - SQL Server 2005 DB Web Service Connection

    Hi ,
    I am using XCelsius version 5.0.0.99 to create dashboards connecting to SQL Server 2005.
    Find below the details of the steps -
    1. Created a web service within SQL Server 2005 database.
    2. Copied the WSDL URL.
    3. In XCelsius 2008 -> Data Manager -> Web Service Connection, pasted the URL in the WSDL URL input box and clicked "Import" to import the methods. At this point I am getting "Unable to load URL" .
    Am I missing any step ?
    Any suggestion would be highly appreciated.
    Note : I have tested the web service by using it in a ASP.Net project and works fine.
    Thanks
    Chitra

    Hi,
    Error :unable to Load URL occurs" because Crystal xcelsius only support single schema web service created from Query as a web service and Flynet tool available in xcelsius 2008.
    The reason:
    All the web service create from Sql 2005 ,PHP script produced multiple scehma web service and crystal xcelsius only support single schema web service which can be created from Query as a web service or Flynet.
    Please revert in case of any queries.
    Regards
    Kekti Fadnavis

  • Difference beetween QAASW and Web Service Connections

    Hi everybody,
    I'm trying to install a connection between Xcelsius and a QaaWS I created, but it doesn't work. In the list of the different connections available in the Xcelsius Connections Manager, the "QaaWS" connections doesn't appear. Instead of that I can choose the "Web Service Connections" type.
    Do you think this little difference can't be the source of my big problem?
    If not, do any of you would like to risk an explanation about this odd pheanomenom (which seems to belongs to the category of the surnatural things thats happens when I even try to undertake a slight complex task in my Business Objects environnment)
    In advance , thanks a lot ( why "in advance"? Because I feel, I'll get an answer, as an old bohemian woman who's suddenly poped in my office today told me one you would light the darkness of my interrogations)
    Bye bye !!

    Hi Meryll,
    As you have already noticed, invoking a QaaWS URL into the standard Web Service Connection will NOT fire, regardless if everything is configured correctly.
    I would assume that this is by design due to the fact that QaaWS Web Services are fetching data out of a BOE server.  As such, anything that has to do with BOE connectivity (LiveOffice, QaaWS, Open/Save/Import/Export to Enterprise) is only available in the Xcelsius 2008 Engage Enterprise edition.
    Thanks.

  • Web Service Connection Date Input Values Converted to Number

    I am using a Web Service Connection that has an input value called 'ModifiedOn' that is a date type.  The problem that I have is that instead of sending a date string like '2008-08-04' it sends a number '39665' as the input to the web service method instead.  Is there a way to force a date string to be returned instead of the number?
    Here is the XML that is being sent to the web service method from Xcelsius:
    <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n0="http://tempuri.org/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soap:Header />
       <soap:Body>
          <n0:SaveScenerio>
             <n0:dash>
                <n0:Scenerio CreatedBy="1" MedianIncome="54000" ModifiedBy="-1" Deleted="false" Population="56001" Title="Scenerio 5" ModelId="14" Year="2008" Description="" ScenerioId="5" SystemName="Scenerio 5" CreatedOn="39665" ModifiedOn="39665">
                   <n0:Model ModuleId="" Description="" ModifiedBy="-1" Deleted="false" CreatedBy="1" CreatedOn="39665" Title="My First Model EDITED 2" ModifiedOn="39665" ModelId="14">
                   </n0:Model>
                   <n0:RateRevenueResidential RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="34000" NumNewCustomers="12000" RateRevenueId="" Deleted="false" MonthlyAvgUsage="10000" HookupCharge="74" VolumeCharge="0" VolumeRate="0.36" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="20" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueResidential>
                   <n0:RateRevenueCommercial RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="150" NumNewCustomers="12002" RateRevenueId="" Deleted="false" MonthlyAvgUsage="20000" HookupCharge="75" VolumeCharge="0" VolumeRate="0.37" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="30" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueCommercial>
                   <n0:RateRevenueIndustrial RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="34" NumNewCustomers="12003" RateRevenueId="" Deleted="false" MonthlyAvgUsage="30000" HookupCharge="76" VolumeCharge="0" VolumeRate="0.38" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="40" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueIndustrial>
                   <n0:RateRevenueGovernmental RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="6" NumNewCustomers="12004" RateRevenueId="" Deleted="false" MonthlyAvgUsage="40000" HookupCharge="77" VolumeCharge="0" VolumeRate="0.39" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="50" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueGovernmental>
                   <n0:RateRevenueOther RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="10" NumNewCustomers="12005" RateRevenueId="" Deleted="false" MonthlyAvgUsage="50000" HookupCharge="78" VolumeCharge="0" VolumeRate="0.4" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="60" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueOther>
                </n0:Scenerio>
                <n0:ErrorMessage>
                </n0:ErrorMessage>
                <n0:Forecast EstSystemCapacityYear4="" Industrial="0" Other="0" RateRevenue="0" EstSystemCapacityYear5="" HookupRevenue="0" CreatedBy="1" OtherRevenue="0" ModifiedBy="-1" CapitalFunds="0" ModifiedOn="39665" OperationsNMaintenanceExpenses="0" GeneralNAdminExpenses="0" OtherExpenses="0" Governmental="0" Deleted="false" ResidentialRates="0" CapitalImprvFundsYear2="0" CapitalImprvFundsYear3="0" CapitalImprvFundsYear4="0" CapitalImprvFundsYear5="0" CapitalExpYear2="0" CapitalExpYear3="0" CapitalExpYear4="0" CustResidential="0" CapitalExpYear5="0" Year="2008" EstSystemCapacityYear1="" Commercial="0" EstSystemCapacityYear2="" CreatedOn="39665" ScenerioId="" EstSystemCapacityYear3="" Mhi="0">
                </n0:Forecast>
                <n0:Revenue CapitalDWSRF="5600" AnnualHookup="4561076" CapitalGovLoan="5600.01" CapitalBusinessLoan="5600.02" CreatedBy="1" CapitalGrant="5601.03" AnnualOperationg="14292490.399999999" ModifiedBy="-1" Deleted="false" OtherInterestIncome="5600" OtherRevenue="5600" CapitalWithdraw="5602.04" ScenerioId="" CapitalOther="5603.05" OtherFeesNServiceCharges="5600" AnnualRate="9731414.399999999" CreatedOn="39665" AnnualOther="16800" ModifiedOn="39665">
                </n0:Revenue>
                <n0:Expense OpsMartriesNSupplies="1000000" CapitalNonFacility="1000000" AdminEngineering="1000000" ModifiedBy="-1" OpsMonitoring="1000000" Deleted="false" CreatedBy="1" OpsTransportation="1000000" AdminConservation="1000000" ModifiedOn="39665" CapitalDebtService="1000000" OpsMisc="1000000" AdminMisc="1000000" OpsUnaccountedWater="1000000" OtherDepreciation="1000000" OpsSalariesNBenefits="1000000" AdminSalareisNBenefits="1000000" OtherDeductionsFeesExp="1000000" OpsPowerNUtility="1000000" AdminOfficeSupplies="1000000" CapitalNewFacilities="1000000" AdminInsurance="1000000" ScenerioId="" OpsChemicalNTreatment="1000000" CapitalOther="1000000" AdminLegalNAccounting="1000000" CreatedOn="39665" CapitalReplacement="1000000" CapitalLeakageRepair="1000000">
                </n0:Expense>
             </n0:dash>
          </n0:SaveScenerio>
       </soap:Body>
    </soap:Envelope>
    Edited by: Aaron Jackson on Aug 7, 2008 10:44 PM

    Hi Aaron,
    You may want to try formatting the cell of "ModifiedOn" to a TEXT format instead of date to get yyyy/mm/dd formatting to appear. 
    It seems that Xcelsius automatically converts any type of date-specific formatting (as specified from Excel) to a date serial, which is what you are seeing here.
    Hope that works.

  • Possible issue with Web service connections in SP3

    Hello,
    I installed Xcelsius 2008 SP3 over SP2 and some of my input values for my web service connection were not being built into the XML request. I then rolled back to 2008 SP2 and all was fine. Not a thing i tried could fix it, and it was not all the input values just some of them and the same ones each time. Perhaps i installed different Xcesius suites: the SP2 one i have is trial version and has a black BO splash, the SP3 one has a yellow SAP splash. SP3 has some funky enhancements so i would certainly like to go that way. Any ideas? Or ideas as to how i could get this into BO support for troubleshooting?
    Regards,
    Gilbert

    By mistake I posted to this thread. Removing my message.
    Edited by: Anil Kumar on Dec 24, 2009 4:55 AM

  • Consuming a Web service from Crystal reports 2008 - Error

    Hi,
    I want to consume a web service from Crystal Reports 2008. I created a New Connection using "XML and Web Services" and given WSDL url as the Web Service location. Crystal Report is able to connect to the WSDL and is displaying the tags correctly. When dragging the output to "Selected Tables' section, I am getting the following error:
    "Invalid Argument Provided"
    Details: Cannot support ArrayType input parameters.
    Kindly help. Apparently this was a limitation in CR XI but does it still exist in CR 2008? Is there any patch available to resolve this issue?
    Thanks,
    Jaya
    Edited by: jayakvr on Feb 17, 2011 10:47 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM

    This issue is resolved now. I have installed the Service packs 1, 2 and 3 of CR2008 to overcome this error.
    Thanks,
    Jaya

  • Dynamic columns on output values for a Web Service connection

    Hello,
    I'm trying to create a web service connection that is similar in response to the XML data connection in that i don't want to fix the number of columns per row down in the WSDL. i.e. i want to create an array of columns:
      <xsd:complexType name="XLRowDef">
        <xsd:sequence>
          <xsd:element name="column" curashared:shortname="c" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:complexType>
    and for the user of the WSDL (the guy who will design the dashboard) to be able to fix and link the number of columns when he designs the dashboard. I was hoping the button would reveal itself in the "output values" box much like it does in the "input values" but no matter how i twist the xsd - no joy. I also tried just linking the column element to multiple excel columns but still fixes to the first column in the range. Can this result be achieved in Xcelsius short of using an XML data connection?
    Regards,
    Gilbert

    Van,
    There is a workaround for that...
    Example:
    My Webservice accepts input data range in a specific format with " :" symbol, i.e. 072008:082008
    Now what i do is
    A1 = 072008
    A2 = 082008
    A3 = CONCATENATE(A1,":",A2)
    so A3 = 072008:082008
    Now i map the input value in web service to cell A3
    P.S have 2 input box components and map it to cells A1 and A2, i.e you are giving users an  option to enter the range of values...then web service will capture the range and refreshes data with the range of values user entered.
    hope this helps..
    -Anil

  • Web Service Connection on fresh SUM formula is zero

    I am using Xcelsius SP1.  I have a field in the spreadsheet that has the formula "=SUM(H12:H16)".  I am using a Web Service Connection to refresh the data.  Following a refresh from the web service connection the field with the SUM formula is 0.  I have discovered that ff the values in SUM range (in my case H12:H16) are identical to the refrehsed data then the formulas results willl be 0.  If one of the sum values is different from the original values then the sum formula works.  Is this a bug? Is there a work around?

    I had a problem with the data format after getting number-values from my web-service, because every number-value I got was not a number - it was a string.
    so I had to convert all the data in Excel from string to number values. after that everything works fine for me.
    you could try that out....

  • Can't have multiple Web Service connections in SP1

    Hello,
    I'm currently interested in adding more than 1 Web Service connection to a particular xcelsius file, but after adding the first connection, the option is disabled in the Data Manager screen. Is there a workaround for this, since before service pack 1 you could have any amount of connections and as off upgrading this was changed.
    Regards

    Yeah I totally agree, It's like someone giving you a bunch of new appliances for your home but then telling you that your not going to have any electricity.  This product is pretty much usless to me now.
    Just the thought of having to partially develop in one version of xcelsius and then port over to a version that has SP1 installed makes me ill.  From what I can tell Xcelsius Engage Server still has multiple web service connection functionality enabled (http://www.businessobjects.com/product/catalog/xcelsius_engage/comparison.asp), I'm interested to see what the cost will be to upgrade to Server.

  • "Unable to log URL" error when importing WSDL into Web Service connection

    Hello Experts
    I'm using Xcelsius Engage and I'd like to use Web Service connection.
    I've developed my own Web service (that is using 2 other web service inside it).
    and now I'm trying to import it into the Xcelsius (connection --> Web service connection).
    And I get the follwoing error:
    "Unable to log URL"
    When I browse to my wsdl file in IE the file is loaded with no problem.
    When trying to import other URLs it also works fine (for example: http://www.xignite.com/xFinancials.asmx?wsdl)
    Any idea?
    Thanks,
    Miki

    Hi Matt
    Thanks a lot!!!
    Indeed the solution was in the follwoing thread:
    VB.net code to create XML
    Parsing the query result fixed the problem.
    For others who might have the same problem:
    Here's a working web service (C# code, for vb code follow the link to the thread above):
    public Service () {
        public struct QueryResult
          public string SlpName;
          public string Commission;
        [WebMethod]
      public QueryResult[] RunQuery()
          // Open Connection - Query Data from DB table - Close connection
          SqlConnection connection = new SqlConnection("Data Source=(local);Integrated Security=SSPI;Initial Catalog=SBODemoUS");
          SqlDataAdapter adapter = new SqlDataAdapter(
            "SELECT SlpName, Commission FROM OSLP", connection);
          DataTable DT_QryResult = new DataTable();
          adapter.Fill(DT_QryResult);
          connection.Close();
          // Parse data to be forward to Xcelsius
          QueryResult[] QryRes = null;
          QryRes = new QueryResult[DT_QryResult.Rows.Count];
          int i=0;
          foreach (DataRow row in DT_QryResult.Rows)
            QryRes<i>.SlpName = row["SlpName"].ToString();
            QryRes<i>.Commission = row["commission"].ToString();
            i++;
          return QryRes;
    Best regards,
    Miki

Maybe you are looking for

  • AP Distribution line, PO, and Inv Info Needed

    Is this the place to ask for accounts payble help? Having a hard time getting po line and inv data to appear in my code since one of the tables needs to be outer joined twice so that if an inv isn't tied to a PO then it still appears, and that table

  • Netbeans Bean Form

    Hi, I created a class (MyPanel) using the JPanel Form. I added some Component (JButton, TextField..) I added it under Bean the Palette Manager so I can reuse it. I created a class (MyCustomPanel) using the Bean Form and deriving from MyPanel. I got t

  • My Kingston usb is showing on desktop but not running in macbook pro with retina display...

    showing message : kingston is not spourting os x

  • Context-root ignored? (and documentation 404?)

    Hello, Q: How can I rename the webapp to 'testapp' if the webapp is in exploded format in a directory called 'test' ? (WLS always calls the webapp 'html' which I can't use because all of my webapps are in 'html' directories in CVS) I would like to us

  • Lightroom CC

    I have installed Lightroom CC (2015) from the creative cloud app on my windows pc.  I've tried launching Lightroom but it won't open. Can anyone help, please?  Have tried restarting PC but it hasn't helped. Thanks