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)

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

  • 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

  • Basic Authentication with Web Service

    Hello,
    I am running S1AS7 on window XP. I have deployed the sample/jaxrpc/simple with basic authentication enabled. I have also changed to Client.java to set the USERNAME and PASSWORD (ie: stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, "j2ee");
    Once I have deployed the war file and run the client, I got access denied exception.
    I have checked the s1as7 log and here is the details:
    FINE: Logging in user [j2ee] into realm: file using JAAS module: fileRealm
    FINEST: Login module initialized: class com.iplanet.ias.security.auth.login.File
    LoginModule
    FINEST: File login succeeded for: j2ee
    FINEST: JAAS login complete.
    FINEST: JAAS authentication committed.
    FINE: Password login succeeded for : j2ee
    FINE: Set security context as user: j2ee
    FINE: Authenticator[jaxrpc-simple]: Authenticated 'j2ee' with type 'BASIC'
    FINE: SingleSignOn[server1]: Registering sso id '193F1461E0D9B982E6B4055C0134076
    9' for user 'j2ee' with auth type 'BASIC'
    FINE: Authenticator[jaxrpc-simple]: Calling accessControl()
    FINEST: PRINCIPAL : j2ee hasRole?: staffmember
    FINEST: PRINCIPAL TABLE: {}
    FINE: Authenticator[jaxrpc-simple]: Failed accessControl() test
    Please notice that the authentication worked, but the PRINCIPAL TABLE is null!!!! If I run the basic authentication sample, i can see from the log the PRINCIPAL TABLE is (...staff=[staffmember], j2ee=[staffmember],.....)
    so somehow the app server treats the two sample differently with the same user id (j2ee/password)
    any comments?
    thanks..

    Hello,
    I am running S1AS7 on window XP. I have deployed the
    sample/jaxrpc/simple with basic authentication
    enabled. I have also changed to Client.java to set
    the USERNAME and PASSWORD (ie:
    stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY
    "j2ee");
    Once I have deployed the war file and run the client,
    I got access denied exception.
    I have checked the s1as7 log and here is the
    details:
    FINE: Logging in user [j2ee] into realm: file using
    JAAS module: fileRealm
    FINEST: Login module initialized: class
    com.iplanet.ias.security.auth.login.File
    LoginModule
    FINEST: File login succeeded for: j2ee
    FINEST: JAAS login complete.
    FINEST: JAAS authentication committed.
    FINE: Password login succeeded for : j2ee
    FINE: Set security context as user: j2ee
    FINE: Authenticator[jaxrpc-simple]: Authenticated
    'j2ee' with type 'BASIC'
    FINE: SingleSignOn[server1]: Registering sso id
    '193F1461E0D9B982E6B4055C0134076
    9' for user 'j2ee' with auth type 'BASIC'
    FINE: Authenticator[jaxrpc-simple]: Calling
    accessControl()
    FINEST: PRINCIPAL : j2ee hasRole?: staffmember
    FINEST: PRINCIPAL TABLE: {}
    FINE: Authenticator[jaxrpc-simple]: Failed
    accessControl() test
    Please notice that the authentication worked, but the
    PRINCIPAL TABLE is null!!!! If I run the basic
    authentication sample, i can see from the log the
    PRINCIPAL TABLE is (...staff=[staffmember],
    j2ee=[staffmember],.....)
    so somehow the app server treats the two sample
    differently with the same user id (j2ee/password)
    any comments?
    thanks..
    One more thing, here is my web.xml file:
    <web-app>
    <display-name>Hello World Application</display-name>
    <description>A web application containing a simple JAX-RPC endpoint</description>
    <session-config>
    <session-timeout>60</session-timeout>
    </session-config>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>basic secuity test</web-resource-name>
    <url-pattern>/*</url-pattern>
    <http-method>POST</http-method>
         <http-method>GET</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>staffmember</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>basic-file</realm-name>
    </login-config>
    </web-app>

  • 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

  • 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

  • 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>

  • How can I authenticate and authorize with Web Service on ESB ?

    Hello,
    I want to authenticate and authorize client with Web Service published
    by HTTP/SOAP BC.
    Simply if it is an Web Service as J2EE application, I will use
    Basic Authentication with JAX-RPC and Realm.
    But I think that Web Service published by HTTP/SOAP BC is not belong
    to J2EE Application. Threre is no place to describe security role mapping
    (like web.xml).
    JBI 1.0 the section "5.5.1.1.3 Normalized Message Properties" comments
    JAAS Subject is given in the NM Properties. Really in this package
    com.sun.jbi.internal.security.*
    implements JAAS autentication and authorization (at JaasAuthenticator).
    But I can't see how to configure my Service to use this.
    How can I authenticate and authorize with Web Service on ESB ?
    I referred to the resources.
    Mutual Authentication for Web Services: A Live Example
    http://developers.sun.com/prodtech/appserver/reference/techart/mutual_auth.html
    XML and Web Services Security
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security7.html
    JAAS Authentication Tutorial
    http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
    Thanks,
    Takurou
    - environment ---------------------------------------------
    OpenESB : Project Open ESB Starter Kit
    AppServer : Sun Java Systems Application Server 9.0 PE
    OS : Windows XP
    I don't assume to use SSL (if It's necessary I will try).
    User information is stored in a LDAP Server.
    -----------------------------------------------------------

    Hello,
    I read this resource.
    SecurityDesign
    http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=SecurityDesign
    Then I think [non-ssl and ssl/tls and so on] securing by basic authentication is ongoing feature at this time.
    But I can't see well why this page comments 'HTTP over SSL, TLS'.
    HTTP/SOAP Binding Component Overview
    http://download.java.net/general/open-esb/docs/jbi-components/httpsoap-bc.html
    Does BC support only "SSL server authentication" ?
    Doesn't BC support "SSL client authentication" by username/password ?
    Thanks,
    Takurou

  • 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)

  • 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

  • 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!

  • 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.

  • Web Services SDK (Java API)

    Hi,
    By using Web Services SDK (Java API) can I extract the Table,Join information related to a Universe?
    If so, then can you please give me some guidelines?
    Thanks
    Nirabhra

    Hi Nirabhra,
    I don't think this is possible with the Web Services SDK.
    This can only be done through the Universe Designer SDK (which is only available in COM).
    Please kindly refer to the API reference for the Universe Designer SDK for more details:
    [http://help.sap.com/businessobject/product_guides/boexir31/en/bodessdk.chm]
    Hope this helps.
    Regards,
    Dan

Maybe you are looking for

  • Red Close Button Problem

    Hi there, After i have installed the mavericks update for my macbook pro, i had started having a problem in closing my apps or browser or files with the red X button, When i click on the button to close my apps it doesnt work at all unless i drag the

  • My iphone 6 display broken

    when i used my phone it got so heat and it was slipped from my hand and the display got craked

  • How can one read ClarisWorks files with MS Word / Excel ?

    Somebody handed me this .cwk file, and wants to be using it in their Office program. Thanks for your time!

  • The URL 'DropOffLibrary/.tiff' is invalid.

    Hi when i upload a document to  Drop off library its giving me error message The URL 'DropOffLibrary/.tiff' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. i confiugred con

  • Imessage will not let me sign in

    I try to sign in to imessage with the correct email and apple ID and it won't verify