Web Services SDK secLDAP

We are converting from the Enterprise SDK to the Web Services SDK and I am having problem with the following snippet of code.  We use something similar to force an LDAP update in the enterprise SDK
                GetOptions opts = new GetOptions();
                opts.IncludeSecurity = false;
                //build and run the query to get the LDAP refresh time
                string query = "query://{SELECT TOP 1 * FROM CI_SYSTEMOBJECTS WHERE SI_NAME = 'secLDAP'}";
                ResponseHolder boResponseHolder = boBIPlatform.Get(query, opts);
                if (boResponseHolder != null && boResponseHolder.InfoObjects != null && boResponseHolder.InfoObjects.InfoObject != null)
                    BusinessObjects.DSWS.BIPlatform.Auth.secLDAP test = boResponseHolder.InfoObjects.InfoObject[0] as BusinessObjects.DSWS.BIPlatform.Auth.secLDAP;
                    //set LDAP refresh time to now
                    boResponseHolder.InfoObjects.InfoObject[0].UpdateTime = DateTime.Now;
                    boBIPlatform.Update(boResponseHolder.InfoObjects);
I have 2 problems with it:
1)   BusinessObjects.DSWS.BIPlatform.Auth.secLDAP test = boResponseHolder.InfoObjects.InfoObject[0] as BusinessObjects.DSWS.BIPlatform.Auth.secLDAP;
results in "test" being null even though InfoObject[0] is there.  It shows as Desktop.GenericInfoObject when debugging.  what is wrong with how I am getting the object and casting?
2)  boBIPlatform.Update throws an exception:
An XSD Exception occurred. Import file parsing exception occurred : 'The prefix "io" for element "io:InfoObjects" is not bound.' (FWM 04009) (WBP 42029)

Hello, Bob;
I tested this this morning on my Business Objects Enterprise XI R3.1 system and had no errors. LDAP updated.
Here is my code in case you can see any differences:
Imports BusinessObjects.DSWS
Imports BusinessObjects.DSWS.BIPlatform
Imports BusinessObjects.DSWS.BIPlatform.Constants
Imports BusinessObjects.DSWS.BIPlatform.Desktop
Imports BusinessObjects.DSWS.BIPlatform.GetOptions
Imports BusinessObjects.DSWS.ReportEngine
Imports BusinessObjects.DSWS.Session
Imports System
Imports System.Data
Imports System.Configuration
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports System.Web.UI.HtmlControls
Partial Class _Default
    Inherits System.Web.UI.Page
    ' Modify the variables here to reflect the environment
    ' CMS-specific parameters
    Private CMS_USER As String = "Admin1"
    Private CMS_USER_PASSWORD As String = "uid" 'String.Empty
    Private CMS_CLUSTER_NAME As String = "sap-v5hyxcb8pbf" 'String.Empty
    Private CMS_AUTHENTICATION As String = String.Empty
    ' Web Services URLs
    Private WS_BASE_URL As String = "http://localhost:8080/dswsbobje/services/"
    'NOTE:  The following variables are case sensitive
    '       Lower case for Axis 1.1 (BOE XI R2)
    Private WS_URL_SESSION As String = WS_BASE_URL + "session"
    Private WS_URL_REPORTENGINE As String = WS_BASE_URL + "reportengine"
    Private WS_URL_BIPLATFORM As String = WS_BASE_URL + "biplatform"
    ' Name of the report to be viewed
    Private REPORT_NAME As String = "Test2_StoredProc.rpt"
    'Database Logon properties
    Private USER_NAME As String = "user"
    Private USER_PASSWORD As String = "password"
    Private bipService As BIPlatform
    Private boRepEng As ReportEngine
    Private wSession As Session
    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
        ConfigureCrystalReports()
    End Sub
    Private Sub ConfigureCrystalReports()
        ' The following sample code demonstrates how to view a report using the Web Services BIPlatform and \
        ' Report Engine services.
        ' Just running the following code will enable you to view a simple report with no additional options.
        ' Include the commented blocks of code to view reports with different viewing options:
        ' - View a report in PDF format
        ' - View a report with database logon information
        ' - View a report with discrete parameters
        ' Note: You may have to change some parts of the code to make the special viewing options work.
        Logon()
        ViewReport()
    End Sub
    Private Sub Logon()
        Dim wSession As BusinessObjects.DSWS.Session.Session
        Try
            Dim boConnection As BusinessObjects.DSWS.Connection = New BusinessObjects.DSWS.Connection(WS_URL_SESSION)
            ' login to BusinessObjects Enterprise using web services
            Console.WriteLine("Logging into web service..." + WS_URL_SESSION)
            Dim credential As New EnterpriseCredential
            credential.Login = CMS_USER
            credential.Password = CMS_USER_PASSWORD
            credential.Domain = CMS_CLUSTER_NAME
            credential.AuthType = CMS_AUTHENTICATION
            wSession = New BusinessObjects.DSWS.Session.Session(boConnection)
            wSession.Login(credential)
            Console.WriteLine("Logged into web service.")
            boConnection.URL = WS_URL_BIPLATFORM
            bipService = New BIPlatform(boConnection, wSession.ConnectionState)
            boConnection.URL = WS_URL_REPORTENGINE
            boRepEng = New ReportEngine(boConnection, wSession.ConnectionState)
            Session("Platform") = bipService
            Session("ReportEngine") = boRepEng
        Catch ex As DSWSException
            Console.Error.WriteLine(ex)
            Console.Error.WriteLine(ex.CauseDetail)
            Throw
        End Try
    End Sub
    Private Sub ViewReport()
        Try
            'Get PageInfo
            Dim boGetOptions As New GetOptions
            boGetOptions = New GetOptions
            boGetOptions.IncludeSecurity = True
            'Dim query As String = "path://InfoObjects/Root Folder/**/" + REPORT_NAME
            Dim query As String = "query://{Select TOP 1 * FROM CI_SYSTEMOBJECTS WHERE SI_NAME = 'secLDAP'}"
            Dim reportRH As ResponseHolder = bipService.Get(query, boGetOptions)
            Dim boReports As InfoObjects = reportRH.InfoObjects
            If (Nothing Is boReports) Then
                Return
            End If
            Dim repID As String = boReports.InfoObject(0).CUID
            Response.Write("RepID " + repID.ToString)
            Dim testLDAP As BusinessObjects.DSWS.BIPlatform.Auth.secLDAP
            testLDAP = boReports.InfoObject(0)
            Response.Write("   CUID: " + testLDAP.CUID.ToString)
            testLDAP.UpdateTime = DateTime.Now
            bipService.Update(reportRH.InfoObjects)
            Response.Write("<BR> LDAP updated <BR>")
        Catch ex As DSWSException
            Console.Error.WriteLine(ex)
            Console.Error.WriteLine(ex.CauseDetail)
            Throw
        Finally
            If Not wSession Is Nothing Then
                wSession.Logout()
            End If
            Console.Write("Press the [ENTER] key to terminate program.")
        End Try
    End Sub
End Class
Where do you have your BusinessObjects.DSWS .dlls?
If you right click on "BusinessObjects.DSWS.dll" and go to Properties and the version tab, what is the full File version?
I am having someone test this with version 3.0 today as I do not have that version setup.
Elaine
Edited by: Ludek Uher on Mar 20, 2009 12:29 PM

Similar Messages

  • Parameters and database login with Web Services SDK

    I need to know how to do the two most common report tasks through the Web Services interface to Crystal Reports Server 2008:
    How do I get a list of a report's parameters and set the parameter's values?
    How do I set the database login information?
    I have considerable experience with writing custom web interfaces for Business Objects Enterprise with .NET, but now we're supposed to use web services instead of Enterprise services, especially when writing Windows forms apps. The official line is that writing thick client apps using Enterprise services is "possible but not supported." I can't seem to find the equivalent to the .Parameters property in Web Services.
    The tutorials for Web Services aren't much help. The BIPlatform examples show how to schedule a report without parameters and without setting the database login, but this isn't much help in the real world. The ReportEngine tutorial was apparently written by someone else, and is little or no help.
    This seems like such a simple question, but I have wasted an entire day and am no closer to the answer.

    I think the following resources will help:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/GettingStartedwiththeWebServicesSDK
    http://help.sap.com/businessobject/product_guides/xir2PP/en/qaaws.pdf
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_server/default.htm
    Also, see this forum thread:
    Web Services SDK secLDAP
    Ludek

  • Trusted Authentication with Web Services SDK

    Hi,
    I have just configured my BO server to use Trusted Authentication (REMOTE_USER) and It works with Infoview so I don't need the logon page to enter user and password.
    I also have an .NET application that uses Web Services SDK and I would like to use Trusted Authentication on it.
    Is there any code to access to BO using Web Services SDK?
    Before the configuration, I was using this code:
    string m_strURL="http://server:8080/dswsbobje/services/Session";
    BusinessObjects.DSWS.Connection oConnection = new BusinessObjects.DSWS.Connection(m_strURL);
    BusinessObjects.DSWS.Session m_wiSession = new Session(oConnection);
    BusinessObjects.DSWS.Session.EnterpriseCredential oEC = new EnterpriseCredential();
    oEC.Login = strLogin;
    oEC.Password = strPassword;
    oEC.AuthType = "secLDAP";
    SessionInfo oSI = m_wiSession.Login(oEC);
    Now, I want to use Trusted Authentication in my .NET application so I wouldn't have to enter user and password.
    I have looking for some code, but I haven't found it yet. I hope you could help me.
    Thanks,
    Sandra

    Hi, Ted,
    I'm trying to use Trusted Authentication to access QaaWS (via WSDL/Axis, NOT Xcelsius).  I enabled it from CMC, put the shared secret in a correct location (win32_x86 directory) and made the change to dsws.properties file, then I restarted tomcat.  However, the system failed to login.  Below is the trace log.  Is Trusted Authentication supported for QaaWS?  Thanks!
    <br/>
    =======
    <br/>
    2010-02-18 14:09:20,781 [http-8080-Processor25] ERROR com.businessobjects.qaaws.internal.transport.QaaWSServlet () 297906 - invoke()
    java.lang.Exception: com.crystaldecisions.sdk.exception.SDKServerException: Enterprise authentication could not log you on. Please make sure your logon information is correct. (FWB 00008)
    cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
    detail:Enterprise authentication could not log you on. Please make sure your logon information is correct. (FWB 00008)
    The server supplied the following details: OCA_Abuse exception 10498 at [.\secpluginent.cpp : 832]  42040 {}
         ...Invalid password
         at com.businessobjects.qaaws.internal.webi.WISessionMgr.makeSession(Unknown Source)
         at com.businessobjects.qaaws.internal.transport.QaaWSServlet.invoke(Unknown Source)
         at com.businessobjects.qaaws.internal.transport.QaaWSServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: com.crystaldecisions.sdk.exception.SDKServerException: Enterprise authentication could not log you on. Please make sure your logon information is correct. (FWB 00008)
    cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
    detail:Enterprise authentication could not log you on. Please make sure your logon information is correct. (FWB 00008)
    The server supplied the following details: OCA_Abuse exception 10498 at [.\secpluginent.cpp : 832]  42040 {}
         ...Invalid password
         at com.crystaldecisions.sdk.exception.SDKServerException.map(SDKServerException.java:107)
         at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:196)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:710)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:295)
         at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:162)
         at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:425)
         ... 19 more
    Caused by: com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
         at com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuseHelper.read(oca_abuseHelper.java:106)
         at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAs._LogonEx4Stub.UserLogonEx4(_LogonEx4Stub.java:80)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.crystaldecisions.enterprise.ocaframework.ManagedService.invoke(ManagedService.java:424)
         at com.crystaldecisions.sdk.occa.security.internal._LogonEx4Proxy.UserLogonEx4(_LogonEx4Proxy.java:222)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.doLogon(LogonService.java:347)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:684)
         ... 22 more
    org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement table
         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
         at service.wsdl.heartFailure.HFReliabilityScoreStub.fromOM(HFReliabilityScoreStub.java:4131)
         at service.wsdl.heartFailure.HFReliabilityScoreStub.runQueryAsAService(HFReliabilityScoreStub.java:201)
         at org.apache.jsp.AuthTest_jsp._jspService(AuthTest_jsp.java:78)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Thread.java:595)

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • Is it possible to add a user using the RESTful Web Services SDK

    Others have asked before about user management features in the RESTful Web Services SDK.  However I can find no answers or links which provide an answer to the question 'Is it possible to add a user using the BI 4.1 SP2 RESTful Web Services SDK'?
    Any help would be appreciated.
    Regards,
    Steve

    Hi Steve
    Unfortunately, not possible. The BI RESTful can only get "stuff" that is already there. I suppose this would fall under some sort of "Object Creation" API and that is not there. Yet. Rumors abound, but nothing firm. Just as a BTW.; the Business Intelligence platform RESTful Web Service Developer Guide 4.1 is here:
    http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_bip_rest_ws_en.pdf
    SAP Web Intelligence RESTful web service SDK User Guide, SAP BusinessObjects Business Intelligence platform 4.1
    SAP Crystal Reports RESTful web services - SAP Crystal Reports RESTful web services
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Location of the JARs for BO Web services SDK

    Hi,
    I want to use the web services SDK to access the crystal reports on a crystal reports 2011 server. I added all the JARs in the  C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib folder but none of them contain classes from the com.businessobjects.dsws package which is root package for the web services SDK.
    My questions:
    Where are the JARs located  ?
    Is there sample code that excerices the usage of the BO BI 4.0 web services SDK ?
    Thanks

    Hi Asif,
    Please have a look over below link
    Web Services Sample Code: -
    [https://wiki.sdn.sap.com/wiki/display/BOBJ/JavaWebServicesSDKSamples|https://wiki.sdn.sap.com/wiki/display/BOBJ/JavaWebServicesSDKSamples]
    Web Services Developer Guide:
    [http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_wssdk_dg_en.zip|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_wssdk_dg_en.zip]
    Getting Started with Web Service sdk:
    [http://wiki.sdn.sap.com/wiki/display/BOBJ/GettingStartedwiththeWebServicesSDK|http://wiki.sdn.sap.com/wiki/display/BOBJ/GettingStartedwiththeWebServicesSDK]
    Regards,
    Rameez

  • How to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.

    Hi,
    I am trying to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.
    For this, first i will get the Dataprovider information,
    Example:
    URI: http://localhost:6405/biprws/raylight/v1/documents/11111/dataproviders/DP0
    Expected result;
    <dataprovider>
         <id>DP0</id>
         <name>Query 1</name>
         <dataSourceId>1234</dataSourceId>
         <updated>2014-04-18T11:55:21.000-08:00</updated>
         <duration>1</duration>
         <isPartial>false</isPartial>
         <rowCount>113</rowCount>
         <flowCount>11</flowCount>
         <dictionary>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO1</id>
                    <name>EmpID</name>
                   <description>Employee ID.</description>
                    <dataSourceObjectId>DS0.DO1</dataSourceObjectId>
              </expression>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO2</id>
                   <name>EmpName</name>
                   <description>Employee Name.</description>
                   <dataSourceObjectId>DS0.DO2</dataSourceObjectId>
              </expression>
         </dictionary>
         <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee</query>
    </dataprovider>
    Then Changing the above dataprovider's Query to some thing like below,
    <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee where Upper(Employee.EmpName)='RAJ'</query>
    Please let me know the RESTful Call required to do this.
    Thanks in advance.
    Thanks,
    Mahendra.

    FYI, the output of this call returns something like:
    <?xml version="1.0" encoding="UTF-8"?> 
    <queryplan>
        <union>
            <fullOuterJoin>
                <statement index="1">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="2">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.nb_guests) FROM SALES, INVOICE_LINE, SERVICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) AND ( SERVICE.SL_ID=SERVICE_LINE.SL_ID ) AND ( SERVICE_LINE.service_line = 'Accommodation' ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
            <fullOuterJoin>
                <statement index="3">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="4">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.days * INVOICE_LINE.nb_guests * SERVICE.price) FROM SALES, INVOICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
        </union>
    </queryplan>

  • Need help with Web Services SDK.

    I am new to Web Services SDK can I get documentation on same.

    For documentation about the BOE XI R2 SP2 Web services go to our DevLibrary: http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    then locate the Web Services topic under which, you will find the necessary info to help you deal with BOE Web Services.
    Cheers
    Alphonse

  • Pagination +Business Objects Web Services SDK

    hello there
    please help me,
    i use pagination with Business Objects Web Services SDK but i can't limit number of records to aspecific number like
    NameValuePair[] objNameValuePair = new NameValuePair[2];
            objNameValuePair[0] =  NameValuePair.Factory.newInstance();
            objNameValuePair[0].setName("page.records.horizontal.limit");
            objNameValuePair[0].setValue("15");
            objNameValuePair[1] = NameValuePair.Factory.newInstance();
            objNameValuePair[1].setName("page.records.vertical.limit");
            objNameValuePair[1].setValue("600");
            view.setMediaArray(objNameValuePair);
    waiting for your help.
    thank you.

    i waiting your help?
    is the Question more difficult to answer it??

  • HTTP Error 500.24 - Internal Server Error on Web service sdk

    Hi, I have installed the mfa server on premise and tested successfully with sms and phone call. I wanted to try the Mobile app so I installed the Web service en the Mobile app according to instructions (changed the web.config with username
    and password and url of web service sdk) but when I try to activate the app I get an error related to the web service sdk (also when I try the TestPfWsSdkConnection) : the error says
    HTTP Error 500.24 - Internal Server Error
    An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
    I try several thing but no luck.
    Windows server 2012 R2 with iis 8.5
    Anybody an idea of what I am doing wrong? Thanks
    Andrea

    Having the same problem, I see you marked yours as answered with no replies. Can you share what you did to resolve the problem?
    Regards,
    Steve Angell - IAM Practice Director http://www.InfraScience.com)

  • BI Launchpad & XI vs Web Services SDK - BusinessObjects 4.x

    Hello,
    I am new to using the .NET SDK and have noticed that there are two different versions that do similar things. I am looking to add functionality into my company's .NET-based website where we can add BO users on the fly into preset groups. I noticed that this administrative functionality is available with the XI .NET SDK (CrystalDecisions,etc) but it is not available with the Web Services SDK (BusinessObjects.DSWS,etc). Is this something that can be done with the Web Services SDK? If not, is it a good practice to use the XI SDK for Web Applications?
    I am also looking to log into the BI Launchpad programmatically so user's do not see the login screen. I have tried logging the user into BO using the Web Services SDK and saving the proper information into cookies that are created when one logs into the BI Launchpad. While I created all the proper cookies, when I navigate to the webpage with the embedded Launchpad it will not recognize these cookies, prompt for login credentials, and overwrite them if I log in. I set the property allowInsecureToken=true in BILaunchpad.properties so I can at least work with it in an IFrame. Is this a good way to go about this task? If not, is there a better way?
    I have been working on this for a week or two and read a lot of articles, viewed samples, experimented with code, etc. Any help is greatly appreciated.
    Thanks,
    Dustin

    Thanks for your reply.
    Perhaps I am muddying up the terms but I believe I am using the same version. The path where I find the dlls that contain CrystalDecisions.Enterprise.* is as follows:
    C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\iPoint
    Unless I am mistaken in thinking they wouldn't package old libraries with newer versions.
    I have used the .NET SDK to do the user management tasks with a number of my clients.  However, they don't necessarily access the SDK directly from the web app.  While one client did this directly from their application, another client had an extensive batch processing system and they would schedule a user update job, passing in the parameters needed to add/update/delete the user.  Yet another client wrapped all of their BO-related code in a web service and called that to do the user management (among many other things.)   So, I believe that you could definitely do this directly from your application.
    According to the documentation I have found, it looks like the BIPlatform portion of the sdk is the closest section to this, though it has differing functions between the Web Services SDK and the other one I discussed. The web services documentation does not talk about anything related to user management. Do you have any links that would go into more depth regarding the specifics of implementing this functionality?
    I will look into adding single sign on for this.
    Thanks again!

  • Report Bursting with RESTful Web Services SDK

    Hi,
    We are looking to upgrade to BI 4.x from BI 3.1.  We are not sure whether RESTful Web Services SDK is the way to go.  We have a requirement where we need to be able to refresh a report, save the whole report content to a specified forma for a team lead/manager, and then section/burst each report to separate files that each is corresponding to the individual employee.  In other words, for example, we have a team constent of 1 manager and 4 employees.  We want to save one report for the manager with all the content from the 4 employees, and then 4 individual reports that each belong to each employee.  We current have a macro code that does this in BI 31 refreshing Deski reports.  We want to upgrade to BI 4.X, but the Deski and macro are no longer supported.  The macro in BI 3.1 we used to control when to refresh, where to save the reports and update our external datasource that the reports finished refreshing and available for view.  We want to keep the same functionality so that it is not a whole redesign of the system when the upgrade happens.  Thank you so much for your help.  Any sample code, tips and guides are helpful.  I am looking to prototype first before I can confirm this will work when upgrading.  I have a code snippet in macro (VBA) from BI 3.1 in the attached file for reference if you know of the equivalent.

    Hi Raghunath,
    Looking at your macro, most of the functionality would be available with REST SDK. With BI 4.x REST is now only SDK which provides APIs to work with webi report. With .NET or Java SDK we could not eeven schedule a webi doc with prompts.
    With BI 4.1 REST APIs include.
    refresh report, schedule report, save report, export which is done by your macro.
    For detailed tasks, such as saving and modifying the report for specific users and send to schedule, you would need to play around with REST Urls to understand the workflow.
    For starters take a look at the devleopers guide for REST here:
    http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_webi_restful_ws_en.pdf
    Here is the doc which compares the availability of SDK APIs with different BI versions.
    http://scn.sap.com/docs/DOC-53285
    For any Enterprise level tasks, you could always use .NET or Java enterprise SDk and comibe it with your REST app.
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place

  • Problem with BO Web Services SDK.

    Hello, We are developing a reporting framework using BO Enterprise where different types of reports are available to external users. We are trying to use the Web Services SDK so that CR, WEBI and even Xcelcius reports can be made available. We have the WS installed on the BO enterprise and we can view the WSDL for all the services.
    I am able to use the API to establish the connection:
    BusinessObjects.DSWS.Connection boConnection = new BusinessObjects.DSWS.Connection("http://linux1608.icallinc.com:7070/dswsbobje/services/session");
    Establish the session:
    wSession = new BusinessObjects.DSWS.Session.Session(boConnection);
    wSession.Login(credential);
    Successfully login:
    wSession.Login(credential);
    Successfully establish the BIPlatform and ReportEngine objects:
    bipService = new BIPlatform(boConnection, wSession.ConnectionState);
    boRepEng = new ReportEngine(boConnection, wSession.ConnectionState);
    The problem occurs when using the BIPlatform to Get an InfoObject. 
    ResponseHolder reportRH = bipService.Get path:////Conference, null);
    Error:
    "An XSD Exception occurred. (Error: WBP 42029)"
    CallStackTrace = "com.businessobjects.sdk.biar.exception.XSDException$XSDResourceNotFoundException: The resource 'zip:/usr/local/bea/user_projects/domains/BO_SWN_DEV_DOMAIN/servers/BO_SWN_DEV_SRVR/tmp/_WL_user/dswsbobje/thikq6/war/WEB-INF/lib/_wl_cls_gen.jar!/META-INF/xsd/'...
    The name of the report is: Conference Details and itu2019s in a folder u201CCRS Prototype Reportsu201D under Public Folders. I have tried the following variations on the PATH parameter:
    path://InfoObjects/Root Folder/**/Conference Details
    path://InfoObjects/Root Folder/CRSPrototype Reports/Conference Details
    path:////Conference
    Please note the when I use an improper folder name it does return the appropriate exception.
    Could it be the WS SDK is not properly installed or configured? Thanks in advance for your help.

    We have similar situation: when we use the following search path with one * at the end the report list returns less than 30sec.
    Searching path://InfoObjects/Root Folder/SALES Reports/*...
    But when we do a recursive search on this folder with 2 ** at the end it times out. Searching path://InfoObjects/Root Folder/SALES Reports/**...
    In the log file we see this error when it times out:
    org.apache.axis2.AxisFault: Read timed out
    Environment:
    We are on UNIX Sun Solaris OS, XI 3.1, JAVA SDK, Tomcat/Apache
    Any idea?
    Thank You

  • Doc for Web services SDK (not using Consumer APIs)?

    I would like to interact with the BO XIr2 Web Services SDK, but I can't find much documentation about them (aside from what the WSDLs cough up).  I don't necessarily want to use the Consumer APIs for the web services.  So I'm really looking for examples or even just a sort of "object model" for the web services that describe what the different calls in the WSDL do and in what order you need to call them to get things done like refreshing a report and getting the results as an HTML stream.
    Does anyone have any examples/doc?
    Thanks.

    Hi,
    Let me ponder Ted's statement above. Indeed we do not test our web services sdk outside of our .NET and Java consumers but we do support using directly WSDL as long as the SOAP engine you are using is WS-Interoperable Basic Profile 1.O compliant (as we are compliant) or if issue can be reproduced using our java or .net consumers.
    Below a couple of links in our web service documentation that mention WS-I BP and WSDL:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_consumer/default
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_consumer/doc/wssdk_dg/InstallingDevEnvironment11.html
    Let me also mention new SP2 release web services: BI Process Web Service and Query as a Web Service, these do not include consumers.

  • Database change - Web services sdk

    Can you change the server and database of a crystal report at schedule time via the web services sdk?  These reports have subreports and linked parameters if that makes a difference.  We'd make copies of the report and change them via the CMC's custom database logon but that doesn't seem to work either.

    Wrapping a stored proc in a command object.
    One of the most common issues that prevent changing the Custom Logon database and server fields to point to another data source is this:
    Crystal fully qualifies table and stored proc references.  This is to ensure certainty in where the data comes from, rather than leaving it up to the database default schema.  This causes issues where changes to the full schema name is different between servers.
    There's a configuration setting for the data location "Override qualified table names" that can be used for some data source types to change the naming from fully-qualified. 
    I'm assuming you're doing something similar by wrapping the stored proc in a command object.
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • Acrobat X: OpenInWindowEx with open flag AV_OPEN_DOC shows toolbars

    The IAC API reference says: AV_DOC_VIEW - Display the AVPageView, scrollbars, and bookmark or thumbnails pane. Annotations are active. Worked as promised from Acrobat version 5 to 9. No longer in Acrobat X. I need to control what can be done with the

  • Find a package/class in *.jar in-or-under a directory?

    Folks, Please, has anyone got a Java equivalent of: find . -name '*.jar' -exec fgrep -l "the.package.ClassName" {} \;That is: find all occurrences of "the.package.ClassName.class" in all JAR files located in-or-under the present working directory. My

  • Syncing not working after rebooting PC

    My dad's PC needed to be rebooted from scratch. He had Windows 8 but now has Windows 7 as the OS. I synced all the content early into the day before restarting the PC with W7 several hours later. It said everything was fine for his account, and it's

  • Aperture update installed... but I don't have Aperture...WTH?

    The App Store downloaded and installed a half gig update to Aperture™ today... But I don't have Aperture™. So I guess I'm left to ponder... Why would a non-existent app have an update? and Where did that 547mb update end up on my HD?

  • Itunes SW is too old wont update ipod

    i am trying to update the new music i put in my itunes library onto my ipod. the message i get back is that my ipod software is too old, go to apple.com to get new itunes update. i have updated itunes to v 6.0 and get the same message. help!