Quantcast
Viewing all 262 articles
Browse latest View live

Webi Report Table to Json

I have a simple table like this in my Business Object Report.

Image may be NSFW.
Clik here to view.
screenshot.png

 

I need to capture these data inside the table in Json format.

 

"Table1": {

  "201601": "305",

  "201602": "253",

  "201603": "231",

  "201604": "252",

  "201605": "60"

  },

 

The ultimate purpose is to use it for D3.js

to create a animated bar chart.

 

********************************************************************

I have read the following articles.

I have a tiny basic knowledge of Restful & Javascript.

My tests with Restful API + Javascript - Sample No 1

Scripting Web Intelligence: the RESTful Raylight Web Services - Learning It

 

I need further resources to know how to capture data inside dimensions & variables

...

Could anyone guide me to the right resources...?


Integration with GPS Fleet Management

I work for a company that sells a GPS Fleet Management System. Our client is interesting in integrating the GPS data into their Crystal Reports Application. The GPS company is open architecture. Is it possible to pull the data from the GPS portal? Thanks.

what is the service to download the instacnce from history?

Hello All,

I'm fairly new to the BO world and would appreciate any help navigating my way through the API, we currently use BO SDK and are building a proof of concept with BO 4.1 RESTful services. I was able to schedule a document for generation.

 

I have scheduled the document with keepInstanceInHistory property to true. At a later point if I want to download this instance, which service should I be using? I've tried scheduling with SystemDestinationAndSpecificFolder option as well - which did not write the document in the folder specified.

 

we'd rather like to have the ability to download/save the instance on demand - for instance this could be wrapped behind a UI so that when user clicks a button, we want to downlod the report.

 

Any ideas?

Thanks,

Pavan

Hiding Login Credentials when using REST Web Services SDK

When I post the login credentials to use Restful API,

I will be exposing these sensitive details in my Javascript Code.

 

Problem is that I will be distributing a web page with these Javascript Code in it...

Users can press F12 and hack these information...

<attrs xmlns="http://www.sap.com/rws/bip">

<attr name="userName" type="string">

</attr>

<attr name="password" type="string">

</attr>

<attr name="auth" type="string" possibilities="secEnterprise, secLDAP, secWinAD, secSAPR3">

</attr>

</attrs>

 

Is there any way to camouflage these sensitive information...?

 

Thank you...

Schedule Webi report with dynamic prompt on Bex

Hi ,

 

WE have 40 Webi reports with Dynamic selection parameters/prompts having Date, Month and Year selections.

 

Currently we are changing the schedule everyday to incorporate new date in Webi report from BO end.

 

Because we are using Standard Bex variables so customer exit is not written there and for some reports we have used Master Bex queries having Year and Month both selections but at Webi level we are using only only prompt Month or Yearfor Monthly and Yearly reports respectively, by unchecking the USE DEFAULT VALUES option of Bex

 

So we cannot use default vales of Bex for these.

 

Can we implement an SDK for changing the prompt everyday for daily reports with Current date ?

Because i read it on forum that best solution is to have Customer Exits in Bex , but we cannot change that now.

 

Kindly help me here.

 

Regards,

Rohini Haksar

Using RESTful Web Services SDK for login into AS ABAP

Dear all,


we have the following scenario. The Business Intelligence Platform 4.x (BIP) is installed based on Tomcat. We have several applications running on BIP consuming BEx queries from SAP BW AS ABAP. The BIP is connected with SAP BW AS ABAP via SSO that means the users can logon to BIP via their SAP logon credentials. Now we want to consume some AS ABAP Webservices from a SICF node. This is done for instance in Design Studio using some JavaScript to call the URL from the AS ABAP of the SAP BW. However, the user has to login again, despite the fact that the user already has been logged in with the SAP logon credentials. I thought that we can use the RESTful Web Services SDK in order to retrieve from the Security Token Service (STS) a SAP Logon Ticket in order to login into AS ABAP.


I have now a logon token as the X-SAP-LogonToken attribute as described in “4.3.2  To get a logon token from a serialized session or session token” of the Business Intelligence platform RESTful Web Service Developer Guide 4.2.


However, I ask myself now if I can use this X-SAP-LogonToken somehow to login into the AS ABAP given the fact that the user already have been logged in using the SAP logon credentias of the AS ABAP. Does anyone know if this can work? And if yes, can you please give me any input?


If this does not work, then I’m also appreciate any other solutions proposals.


Thanks in advance for you help.


Cheers,
Marcel

infostore/cuid_ xml - cannot find the default settings of a report

Using the /infotstor/cuid_xxxx call, I get the xml of objects, let's say a webi object (3, 2, 1  a webi object), and I can see the properties of the object, it's type, cuid, name, last update, author, etc. 

 

But I cannot find the default setting portion of the properties within that xml.

 

Does anyone know down which branch I can find that information?

 

Many thanks.

Parameterized webi report with Rest SDK 4.1 SP1

Is it possible to call a parameterized webi report with "Restful Web Services SDK 4.1" to get html as service response?


Possible dataType constants for WebI REST SDK?

Hi,

 

I'm looking for the complete list of dataType constants which can be used in the expression definition portion of a WebI element (the dataType attribute of the formula).

 

I imagine String, Numeric, and Date are accepted, but I'm not sure if I'm missing any, and I haven't been able to find a precise answer in the documentation.

RESTful Raylight Error Incorrect session

Hello,

 

I'm starting my journey with RSDK and I have small issue here.

 

Based on SAP Web Intelligence RESTful web service SDK User Guide document I was able to retrieve my logon token, I can get info from infostore and document properties (with GET http://servername:6405/biprws/infostore, and so one). But then I tried to retrieve more details (GET http://servername:6405/biprws/raylight/v1/documents) I'm still getting:

 

401 Unauthorized

 

<error>

    <error_code>2</error_code>

    <message>Incorrect session found in HTTP header X-SAP-LogonToken (too many values)</message>

</error>

 

could you please help?

 

Many thanks

RESTful SDK Error "Connection to CMS could not be restored." / WACS issue

Hi experts,

I have a problem with the RESTful SDK, WACS and the connection to the CMS. After some time of working with the RESTful SDK, I get the followin error message (translated from german, so might not be a 1:1 fit in wording to english):

 

Error Code: WSR 00999

Internal Error (Connection to CMS … could not be restored. The session was logged off or has expired. FWM 01002)

 

My program works as follows, in a BO 4.1 SP5 environment:

 

I have a program object, an implementation of the IProgramBase Interface that can be scheduled in the CMC/LaunchPad. It exports a list of documents (approx. 500) to PDF files sequentially and stores them on the hard disc. To export the documents to PDF, we use the RESTful SDK. The program object uses the given EnterpriseSession (via the IProgramBase interface) to create logon tokens that are then used in the requests to the REST SDK/WACS. Each individual PDF-export uses a unique logon token for it's SDK requests.

 

The error materializes in two ways:

  1. When the program object runs, after some time (~2 hours), the export logic suddenly gets errors from the SDK, stating that the connection to the CMS is no longer possible.
  2. The program object finishes successfully, but when it is started the next time, the SDK immediately throws errors stating that the connection to the CMS is not possible.

 

Note that in either way, I first fire a logon request with a token to the SDK

GET http://localhost:6405/biprws/logon/long

then retrieve parameters/prompts, fill them, and set them again. All of this is done as in the documentation. I'm no newbie to the RESTful SDK and the requests are unified across many projects and work like a charm. In the current scenario, the logon succeeds, but the next request (e.g. retrieve prompts from the document) then fails with above error message.

 

The only “fix” is to restart the WACS server, which is difficult in a production environment.

 

In both scenarios, the BO system works fine in LaunchPad or other clients.

 

Here's a list of exception stacktraces that appear in the Web Application Container Server (WACS) log:

 

ERROR 1:
Translation from german: Internal Error ("Connection to CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 cannot be restored. The session was logged off or has expired. (FWM 01002)
|F0CCD415F1E3497DA165781272BF8954f9d|2015 08 12 20:02:25.648|+0200|Debug|Error|<<| | |wacs_FS00PGG8.WebApplicationContainerServer| 1016| 341|http-bio-0.0.0.0-6405-exec-22| |0|0|0|0|-|-|-|-|-|-|Ck3Nls0rDUpfgUszv0xpreQ3b8d|||||||||com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper||Interner Fehler ("Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)")
com.sap.webi.raylight.RaylightException: Interner Fehler ("Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)")            at com.sap.webi.raylight.context.Messenger.internalError(Messenger.java:91)            at com.sap.webi.raylight.actions.ActionDispatcher.handleUnexpectedError(ActionDispatcher.java:142)            at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:122)            at com.sap.webi.raylight.RaylightServiceDocumentParameters.getParameters(RaylightServiceDocumentParameters.java:155)            at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)            at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)            at java.util.concurrent.FutureTask.run(FutureTask.java:138)            at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)            at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)            at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)            at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)            at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)            at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)            at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)            at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)            at java.lang.Thread.run(Thread.java:763)
Caused by: com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)            at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:152)            at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:109)            at com.businessobjects.sdk.core.server.internal.session.SelectDataFromCMSCommand.execute(SelectDataFromCMSCommand.java:116)            at com.businessobjects.sdk.core.server.internal.corba.CorbaServerImpl.doProcess(CorbaServerImpl.java:79)            at com.businessobjects.sdk.core.server.internal.AbstractServer.processIt(AbstractServer.java:171)            at com.businessobjects.sdk.core.server.internal.AbstractServer.process(AbstractServer.java:133)            at com.sap.webi.raylight.util.impl.CmsRequestHelper.process(CmsRequestHelper.java:256)            at com.sap.webi.raylight.util.impl.CmsRequestHelper.process(CmsRequestHelper.java:280)            at com.sap.webi.raylight.util.impl.CmsRequestHelper.documentExist(CmsRequestHelper.java:86)            at com.sap.webi.raylight.context.RaylightContext.openDocument(RaylightContext.java:490)            at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:427)            at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:391)            at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:125)            at com.sap.webi.raylight.business.ParameterHelper.getWorkspace(ParameterHelper.java:88)            at com.sap.webi.raylight.business.ParameterHelper.<init>(ParameterHelper.java:107)            at com.sap.webi.raylight.actions.parameter.GetDocumentParametersAction.execute(GetDocumentParametersAction.java:25)            at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)            at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)            ... 48 more
Caused by: com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)
cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$LogonFailover: Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)
cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2            at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:142)            at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.<init>(InternalInfoStore.java:176)            at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStoreFactory.makeOCCA(InternalInfoStoreFactory.java:119)            at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.<init>(InfoStore.java:87)            at com.crystaldecisions.sdk.occa.infostore.internal.InfoStoreFactory.makeOCCA(InfoStoreFactory.java:62)            at com.businessobjects.sdk.core.server.internal.session.SelectDataFromCMSCommand.execute(SelectDataFromCMSCommand.java:58)            ... 66 more
Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$LogonFailover: Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)
cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2            at com.crystaldecisions.enterprise.ocaframework.FailoverLogonService.logonWithToken(FailoverLogonService.java:293)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.reconnectCMS(ManagedSession.java:771)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateServer(ManagedSession.java:756)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateStatelessService(ManagedSession.java:574)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.newService(ManagedSession.java:983)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:278)            at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:299)            at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody4(ServiceMgr.java:539)            at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody5$advice(ServiceMgr.java:512)            at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:1)            at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.init(InternalInfoStore.java:1442)            at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.<init>(InternalInfoStore.java:172)            ... 70 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._LogonEx6Stub.LogonWithTokenEx5(_LogonEx6Stub.java:488)            at com.crystaldecisions.enterprise.ocaframework.FailoverLogonService.logonWithToken(FailoverLogonService.java:226)            ... 81 more
at com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper.toResponse(RestRuntimeExceptionMapper.java:16)
-------------------------------------------------------------------
ERROR 2:
Translation from German: Not found (RWS 00005)
|F0CCD415F1E3497DA165781272BF8954f9e|2015 08 12 20:02:25.679|+0200|Debug|Error|<<| | |wacs_FS00PGG8.WebApplicationContainerServer| 1016| 337|http-bio-0.0.0.0-6405-exec-18| |0|0|0|0|-|-|-|-|-|-|Ck3Nls0rDUpfgUszv0xpreQ3b8f|||||||||com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper||Nicht gefunden (RWS 00005)
com.sap.bip.rs.exceptions.NotFoundException            at com.sap.bip.rs.RootResource.ResolveRootResource(RootResource.java:64)            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)            at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)            at java.util.concurrent.FutureTask.run(FutureTask.java:138)            at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)            at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)            at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)            at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)            at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)            at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)            at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doDelete(AbstractHTTPServlet.java:114)            at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)            at java.lang.Thread.run(Thread.java:763)
at com.sap.bip.rs.log.Log.log(Log.java:35)
-------------------------------------------------------------------
ERROR 3:
|F0CCD415F1E3497DA165781272BF8954fa1|2015 08 12 20:03:04.024|+0200|Error| |==|E| |wacs_FS00PGG8.WebApplicationContainerServer| 1016| 314|com.sap.bip.rs.nmemo.NMemo Cleanup Thread| ||||||||||||||||||||com.crystaldecisions.enterprise.ocaframework.FailoverLogonService||logonWithToken(): Failed to relogon, aps=FS00PGG8.R5312.ADS.FIDUCIA.DE:6400,token={3&2=19111,U3&p=42228.7514490278,Y7&2v=FS00PGG8.R5312.ADS.FIDUCIA.DE:6400,UP&68,UP&S9=14315,U3&qe=100,U3&vz=AdbSIb2IuU_o7FB7nPNxUkWQoI1ECuYNvIGArxg2SCc,UP}, errorCode=10503
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._LogonEx6Stub.SessionLogonWithToken(_LogonEx6Stub.java:218)            at com.crystaldecisions.enterprise.ocaframework.FailoverLogonService.logonWithToken(FailoverLogonService.java:223)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.reconnectCMS(ManagedSession.java:771)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateServer(ManagedSession.java:756)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateStatelessService(ManagedSession.java:574)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validate(ManagedSession.java:544)            at com.crystaldecisions.enterprise.ocaframework.ManagedService.invoke(ManagedService.java:491)            at com.crystaldecisions.sdk.occa.security.internal._SessionBatchEx3Proxy.ComponentLogoffEx(_SessionBatchEx3Proxy.java:184)            at com.crystaldecisions.sdk.occa.security.internal.SecuritySession.logoff(SecuritySession.java:558)            at com.crystaldecisions.sdk.framework.internal.EnterpriseSession.logoffComponent(EnterpriseSession.java:408)            at com.sap.bip.rs.session.SessionInternal$2.cleanup(SessionInternal.java:86)            at com.sap.bip.rs.session.SessionInternal$2.cleanup(SessionInternal.java:83)            at com.sap.bip.rs.nmemo.NMemo$2.cleanup(NMemo.java:75)            at com.sap.bip.rs.nmemo.NMemo$2.cleanup(NMemo.java:72)            at com.sap.bip.rs.nmemo.impl.NMemoWrap.cleanup(NMemoWrap.java:52)            at com.sap.bip.rs.nmemo.NMemo.cleanupNMemoWrap(NMemo.java:170)            at com.sap.bip.rs.nmemo.NMemo.cleanup(NMemo.java:154)            at com.sap.bip.rs.nmemo.impl.NMemoCleanupThread$1.run(NMemoCleanupThread.java:38)            at java.lang.Thread.run(Thread.java:763)
-------------------------------------------------------------------
ERROR 4: "Internal Error"
|F0CCD415F1E3497DA165781272BF8954fa0|2015 08 12 20:02:30.702|+0200|Debug|Error|<<| | |wacs_FS00PGG8.WebApplicationContainerServer| 1016| 337|http-bio-0.0.0.0-6405-exec-18| |0|0|0|0|-|-|-|-|-|-|Ck3Nls0rDUpfgUszv0xpreQ3b90|||||||||com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper||Interner Fehler ("while trying to invoke the method com.businessobjects.sdk.core.server.IServer.getServerContext() of a null object returned from com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.getServer(com.businessobjects.sdk.core.context.IContext, com.businessobjects.rebean.wi.model.engine.IDocumentInstance)")
com.sap.webi.raylight.RaylightException: Interner Fehler ("while trying to invoke the method com.businessobjects.sdk.core.server.IServer.getServerContext() of a null object returned from com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.getServer(com.businessobjects.sdk.core.context.IContext, com.businessobjects.rebean.wi.model.engine.IDocumentInstance)")            at com.sap.webi.raylight.context.Messenger.internalError(Messenger.java:91)            at com.sap.webi.raylight.actions.ActionDispatcher.handleUnexpectedError(ActionDispatcher.java:142)            at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:122)            at com.sap.webi.raylight.AbstractRaylightServiceDocument.updateDocument(AbstractRaylightServiceDocument.java:191)            at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)            at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)            at java.util.concurrent.FutureTask.run(FutureTask.java:138)            at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)            at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)            at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)            at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)            at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)            at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)            at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTTPServlet.java:120)            at javax.servlet.http.HttpServlet.service(HttpServlet.java:649)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)            at java.lang.Thread.run(Thread.java:763)
Caused by: java.lang.NullPointerException: while trying to invoke the method com.businessobjects.sdk.core.server.IServer.getServerContext() of a null object returned from com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.getServer(com.businessobjects.sdk.core.context.IContext, com.businessobjects.rebean.wi.model.engine.IDocumentInstance)            at com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.closeDocument(DocumentInstanceManagementServiceImpl.java:277)            at com.sap.webi.raylight.context.RaylightContext.closeDocument(RaylightContext.java:548)            at com.sap.webi.raylight.actions.document.UpdateDocumentAction.execute(UpdateDocumentAction.java:48)            at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)            at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)            ... 47 more

Any suggestions what I can do to resolve this issue? What I did in the WACS configuration is to increase XMX to 4 Gigs and PermGen to 512MB. I also removed the BOE service from the WACS. The rest is pretty much standard WACS config.

 

Any help is greatly appreciated!

Regards,

Fabio

Scheduling a program object

Hi all. Can I schedule a program object using Raylight? I know I can do it with biprws/infostore/<id>/scheduleForms/<form> but I can't pass a destination element this way.

Thanks!

Accessing data via REST

We have customers using Crystal reports who want to report on data from our product. Our product data is accessed as JSON via a REST api. Is this type of interface to a data source supported?

How to create universe from metadata (DB2 Cube) using UDT SDK

Hello Experts,

 

I have created DB2 cube and importing it in UDT using metadata exchange option. By this process i am able to create universe from IBM DB2 cube.

Is there any way to perform this operation using UDT SDK.

 

Thanks in advance

 

Regards,

Ashwin

Unable to get some reports result

Hi everybody !

 

I'm trying to get some results reports on RESTFUL BI4 by VBA 2010 with WinHttpRequest object. Some reports are ok, some are not (just got header result)... trying with 600 sec on timout, same result.

My access on webservices are ok.

Status response is ok (200)

 

Here my code for document refresh :

 

------------------------------------------

Public Function Refresh_Rep(ByVal Lng_IdDoc As Long, Optional ByVal Str_XML_Parameters As String, _

                                                     Optional ByVal Lng_Timeout As Long = 15, _

                                                     Optional ByVal Enm_MyLanguage As Enm_Language) As Boolean

       

    With Obj_AppBO

        .Open "PUT", Str_MyUrl & "/raylight/v1/documents/" & Lng_IdDoc & "/parameters?lovinfo=false", True

        .SetRequestHeader "X-SAP-LogonToken", """" + Str_MyToken + """"

        .SetRequestHeader "Content-Type", "application/xml"

        .SetRequestHeader "Accept", "application/xml"

       

        Select Case Enm_MyLanguage

            Case 0

                .SetRequestHeader "Accept-Language", "fr_FR"

            Case 1

                .SetRequestHeader "Accept-Language", "en-US"

        End Select

        If Str_XML_Parameters = "" Then

            .Send ("<parameters>" _

            & "</parameters>")

        Else

            .Send (Str_XML_Parameters)

        End If

       

        .WaitForResponse Lng_Timeout

       

    End With

   

    Refresh_Rep = True

   

End Function

------------------------------------------


Here my code to get reports result  :


------------------------------------------

Public Function Get_Result_Rapport(ByVal Lng_IdDoc As Long, Optional ByVal Lng_IdRep As Long = 1, _

                                                            Optional ByVal Lng_Timeout As Long = 15) As String

  

    With Obj_AppBO

        .Open "GET", Str_MyUrl & "/raylight/v1/documents/" & Lng_IdDoc & "/reports/" & Lng_IdRep, True

        .SetRequestHeader "X-SAP-LogonToken", """" + Str_MyToken + """"

        .SetRequestHeader "Accept", "text/csv; charset=""UTF-8"""

        .SetRequestHeader "Content-Type", "text/xml"

        .SetRequestHeader "Accept-Language", "en-US"

        .Send

        .WaitForResponse Lng_Timeout

        Get_Result_Rapport = .ResponseText

    End With       

   

End Function

------------------------------------------



I hope my speech is understandable ... I don't practice enough English ...


RaylightException: The resource of type "Document" with identifier "2432254" does not exist

Dear SAP,

 

We are using SAP BI Platform 4.1 SP6 Patch 3 on Windows Platform. Here to schedule reports we use JAVA RESTFul SDK code to generate instances. The issue here is, our code usually works well, but intermittently it is not generating instances for all members in a user groups for which it was scheduled.

For example, if there are 500 users exists in a group, then I would expect 500 successful instances; however it generates apprx 300 instances only. Next time works for the failed ones. Sometimes it process all instances, and sometimes partial instances only.

 

Here are few test cases shows number of instances generated out of expected:

 

150/150 = all instances generated successfully

239/300 = Partial

350/500 = Partial

558/800 = Partial

 

Is my script getting overloaded, or any limit from Webi processing Server side? Or any other setting is stopping script in generating instances?

 

Found below errors recorded in WACS logs. Could someone advise on cause of the issue?

 

==== WACS LOGS ====

at com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper.toResponse(RestRuntimeExceptionMapper.java:16)

|6C54F171AE65406CB03BA1CED45DF77E5|2016 06 27 13:33:32.936|+0300|Debug|Error|<<| | |wacs_BIQA.WebApplicationContainerServer|10280|11508|http-bio-0.0.0.0-6405-exec-146| |0|0|0|0|-|-|-|-|-|-|CvpppMMiZUQLjI4u1xRIVPc2fb7|||||||||com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper||The resource of type "Document" with identifier "2432254" does not exist.

com.sap.webi.raylight.RaylightException: The resource of type "Document" with identifier "2432254" does not exist.

    at com.sap.webi.raylight.context.Messenger.resourceNotFound(Messenger.java:176)

    at com.sap.webi.raylight.context.RaylightContext.openDocument(RaylightContext.java:468)

    at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:427)

    at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:391)

    at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:125)

    at com.sap.webi.raylight.business.ParameterHelper.getWorkspace(ParameterHelper.java:88)

    at com.sap.webi.raylight.business.ParameterHelper.<init>(ParameterHelper.java:107)

    at com.sap.webi.raylight.actions.parameter.GetDocumentParametersAction.execute(GetDocumentParametersAction.java:25)

    at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)

    at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)

    at com.sap.webi.raylight.RaylightServiceDocumentParameters.getParameters(RaylightServiceDocumentParameters.java:155)

    at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)

    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)

    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)

    at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)

    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)

    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)

    at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)

    at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

    at java.lang.Thread.run(Thread.java:763)

Caused by: com.businessobjects.sdk.core.server.CommunicationException$MaxConnectionReachedException: The maximum connection limit has been reached. (Error: RWI 00239)

    at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:152)

    at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:109)

    at com.businessobjects.sdk.core.server.internal.corba.AbstractServerConnector.init(AbstractServerConnector.java:140)

    at com.businessobjects.rebean.wi.newserver.WebiServerConnector.init(WebiServerConnector.java:79)

    at com.businessobjects.sdk.core.server.internal.corba.CorbaServerContext.init(CorbaServerContext.java:65)

    at com.businessobjects.sdk.core.server.internal.corba.CorbaServerImpl.createServerContext(CorbaServerImpl.java:53)

    at com.businessobjects.sdk.core.server.internal.AbstractServer.init(AbstractServer.java:69)

    at com.businessobjects.sdk.core.server.internal.InstanceServer.init(InstanceServer.java:73)

    at com.businessobjects.sdk.core.server.internal.InstanceServerServiceImpl.createServer(InstanceServerServiceImpl.java:95)

    at com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.createServerCallerReader(DocumentInstanceManagementServiceImpl.java:798)

    at com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.openDocument(DocumentInstanceManagementServiceImpl.java:166)

    at com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.openDocument(DocumentInstanceManagementServiceImpl.java:81)

    at com.sap.webi.raylight.context.RaylightContext.openDocument(RaylightContext.java:456)

    ... 59 more

Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$ServiceConnection: Unable to connect to service WebiPlugin.WebiSession from server BIQA.com:6400 via CMS osca:iiop://BIQA.com:6400;SI_SESSIONID=5599139J5odqBF4HseU2OyLurFrdcy,SI_TENANT_ID=0 (FWM 01006)

cause:com.businessobjects.corba.generic.container.proxy.MaxConnectionException: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$ServerError: A problem occurred while talking to the server BIQA.WebIntelligenceProcessingServer (FWM 01001)

cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2

detail:A problem occurred while talking to the server BIQA.WebIntelligenceProcessingServer (FWM 01001) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2

detail:Unable to connect to service WebiPlugin.WebiSession from server BIQA.com:6400 via CMS osca:iiop://BIQA.com:6400;SI_SESSIONID=5599139J5odqBF4HseU2OyLurFrdcy,SI_TENANT_ID=0 (FWM 01006) com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$ServerError: A problem occurred while talking to the server BIQA.WebIntelligenceProcessingServer (FWM 01001)

cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2

detail:A problem occurred while talking to the server BIQA.WebIntelligenceProcessingServer (FWM 01001) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2

    at com.businessobjects.corba.generic.container.proxy.internal.remote.WorkSessionProxyBuilder.connect(Unknown Source)

    at com.businessobjects.corba.generic.container.proxy.internal.remote.WorkEntityFactory.getWorkSessionProxy(Unknown Source)

    at com.businessobjects.corba.generic.container.proxy.internal.remote.RemoteGenericContainerProxy.getSessionProxy(Unknown Source)

    at com.businessobjects.corba.generic.container.proxy.internal.remote.RemoteGenericContainerProxy.getSessionProxy(Unknown Source)

    at com.businessobjects.corba.generic.container.proxy.internal.remote.RemoteGenericContainerProxy.getSessionProxy(Unknown Source)

    at com.businessobjects.corba.generic.container.proxy.internal.remote.RemoteGenericContainerProxy.getEntityProxy(Unknown Source)

    at com.businessobjects.sdk.core.server.internal.corba.AbstractServerConnector.init(AbstractServerConnector.java:99)

    ... 69 more

Caused by: com.businessobjects.corba.generic.container.proxy.MaxConnectionException: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$ServerError: A problem occurred while talking to the server BIQA.WebIntelligenceProcessingServer (FWM 01001)

cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2

detail:A problem occurred while talking to the server BIQA.WebIntelligenceProcessingServer (FWM 01001) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2

    ... 76 more

 

Regards,

Anamika

Change universe of Webi with prompts

Hello,

 

I have a trouble with my tools.

I'm able to change the universe of webi but only if they havn't got any prompts.

 

When I do a [Get | Post | Put], in the post instead to have "Success [..]" I have the details of my webi with the parameters.

 

Did I miss something ?

 

Thanks to all.

Error looking up document variables

I'm trying to iterate through all the variables in all of our documents and look for a string in the formula, and I'm using restful api for that.

 

I see the following error for a request raylight/v1/documents/13792/variables:

 

error_code: WSR 00102 - The resource with identifier "L3fffffe2" is not of type "[Attribute, Dimension]".

 

But when I do raylight/v1/documents/13792/variables/L3fffffe2

 

I get the proper definition for the trouble variable:

 

{u'variable': {u'@dataType': u'String',

  u'@qualification': u'Dimension',

  u'definition': u'=Substr([Arrival Time] ;1 ;2)',

  u'formulaLanguageId': u'[Substr Arrival Time]',

  u'id': u'L3fffffe2',

  u'name': u'Substr Arrival Time'}}

 

How come I'm seeing that error and how can that be mitigated?

 

Also, is this the best way to find variables containing a given search string? I'm basically doing

for every document in CMS:

    for every variable in document:

        Check if variable contains search string


But it's very slow using raylight, and I'm curious as to whether there's a faster way   

Restsdk service for cancel the BO queries

Hi All,

 

I need the rest sdk services to cancel the refresh of the report .

 

 

Thanks

Gaurav

Saving the webi report using Rest-sdk

hi All,

 

I tried saving the opened webi report and tried to save the report using the restwebservice call in java

 

POST <webiURL>/documents/{documentId} 

 

and gave the following input "<document><name>test-gaurav</name><folderId>-1</folderId></document>"
but it throw the error
error   :: Error [error_code=WSR 00999, message=Internal error]
can we save the opened webi report with this service?
Thanks
Gaurav
Viewing all 262 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>