Quantcast
Channel: SCN : All Content - RESTful Web Services SDK
Viewing all 262 articles
Browse latest View live

Problems while running WEBI document, Which is created using RESTful API

$
0
0

Hi,

 

We are following the below steps to create a BOBJ WEBI Document using RESTful API.

    1. Create an Empty WEBI document.
    2. Create dataprovider.
    3. Update dataprovider query specification.
    4. Refrest Document.
    5. Create Report(s).
    6. Update report specification.(Along with VISU (if any charts))
    7. Finally Save the document.

 

But I am facing the below Problems or Issues:

    • How to make the Table header repeat on every page, using a RESTful API Call?

 

    • How to make a chart to use Custom labels for X and Y Axis, using RESTful API call?

 

    • While opening the above created document In Web Intelligence by clicking on View, and navigating to Design mode it is showing the below popup. The same report is running well in all other scenarios.

Design Mode Error.jpg

 

In WEBI Document creation life cycle, am I missing any required steps for creating a WEBI Document?

 

For the first two problems, I have found the options to do from GUI, But I want to do all the above using REST API calls only.

 

Please let me know your ideas and solutions. Please correct me if I am wrong.

 

Thanks in advance.

 

Best Regards,

Mahendra


SSO with MYSAPSSO2

$
0
0

Hi,

 

I am struggling to figure out how to use MYSAPSSO2 cookie for authentication for RESTful SDK. So we have SAP portal that is integrated with BO server. A user can seamlessly navigate from portal to BI launchpad. We have a custom Web Dynpro app that runs on BW system and it should schedule some reports on BO server using RESTful SDK. We already have a working prototype that does schedule a document. The only remaining issue is to figure out how to authenticate user. The prototype is using /biprws/logon/long to retrieve token for hard coded username and password. Instead of hard coded user name and password we would like to re-use SAP SSO cookie MYSAPSSO2 issued by portal when the user navigates in portal to this our custom app that runs on BW system. There is another endpoint /biprws/logon/token that should convert session token created by different SDK. I had a look at old web service based API dswsbobje/services/Session. It seems to me that if I can call operation login then I'll get back a session ID that can be covnerted with /biprws/logon/token to X-SAP-LogonToken that is accepted by RESTful services. My issue with this SDK is same. I do not know how to logon on with MYSAPSSO2. Does anyone know how to reuse MYSAPSSO2 for RESTful interfaces or at least for WS SDK?

 

Cheers

Missing dataSourceId when retrieving report dataproviders

$
0
0

Hi,

 

I'm writing script that is retrieving information about reports from CMC and I have some issues with retrieving data provider details.

 

For some reason, my script is not able to retrieve dataSourceId in some reports, it's empty:

 

[DBG]: (...) >> $dpDetails.dataprovider

id           : DP0

name         : Query 1

dataSourceId :

updated      : 2014-08-06T08:38:27.000+02:00

duration     : 0

isPartial    : False

rowCount     : 0

flowCount    : 1

dictionary   : @{expression=System.Object[]}

query        : SELECT DISTINCT (...)

 

It appears on about 1 per 5 reports. I've checked few of them, I was able to edit data provider, add new objects from universe, refresh report. I was able to open universe with universe design tool (using the same credentials).

 

I've checked now using chrome advanced restfull client, result is the same:

 

URL: http://serverName:6405/biprws/raylight/v1/documents/5603515/dataproviders/DP0

 

Response:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<dataprovider>

<id>
DP0

 

</id>

<name>

Query 1

 

</name>

<dataSourceId/>

<updated>

2014-08-06T09:02:15.000+02:00

 

</updated>

<duration>

0

 

</duration>

<isPartial>

false

 

</isPartial>

<rowCount>

0

 

</rowCount>

<flowCount>

1

 

</flowCount>

<dictionary>

<expressionqualification="Dimension"dataType="String">
<id>
DP0.DO2b3

 

</id>
(...)

 

What could be the source of the issue?

 

Many thanks and regards

 

Part of my code used to retrieve DP details:

# Send any GET request, returns results

Function GetResults($logonToken, $contentLocale, $URL)

{

    Write-Verbose "GetResults $logonToken, $contentLocale, $URL"

    # Header

    $headers = @{ "X-SAP-LogonToken" = $logonToken ;

              "Accept"           = "application/json" ;

              "Content-Type"     = "application/json" ;

              "X-SAP-PVL"        = $contentLocale

              }

 

    # GET

    $result = (Invoke-RestMethod -Method Get -Uri $URL -Headers $headers)

 

    return ,$result

}

 

# Find dataproviders used by report

Function GetDataProviders($logonToken, $contentLocale, $URL, $reportID)

{

    $reportUrl = $URL + "/raylight/v1/documents/" + $reportID

 

    $result = (GetResults $logonToken $contentLocale ($reportUrl + "/dataproviders"))

 

    Write-Verbose $result.dataproviders

 

    return $result

}

 

# Get given dataprovider details information

Function GetDataProviderDetails($logonToken, $contentLocale, $URL, $reportID, $dataProvider)

{

    $reportUrl = $URL + "/raylight/v1/documents/" + $reportID

 

    $result = (GetResults $logonToken $contentLocale ($reportUrl + "/dataproviders/" + $dataProvider))

 

    return $result

}

Will RESTful SDK for CRE provide functional parity with RAS?

$
0
0

Hello,

 

The Report Application Server SDK (RAS) provides an detailed API in Java for working with CR documents.

 

This api does not work with Crystal Reports for Enterprise documents (CRE).  We were told to use RESTFul WebServices for CRE instead.

 

Unfortunately the RESTful WS for CRE does not provide much functionality (e.g. no access to report definition information, no access to report data definitions .... ).

 

Will the RESTful Web Services SDK for CRE provide functional parity with the RAS SDK in a near future?

 

 

Thanks,

Bernd

BOXI4.1 (14.1.1.1036) - Logon with /logon/adsso via Code

$
0
0

Hi all,

 

I just configured my test system for Active Directory authentication and it looks like everthing works perfect.

Group resolution works, login to CMC works and I even get a ticket if I open http://server:6405/biprws/logon/adsso in Internet Explorer.

 

But I have no idea what is necessary to get a logon token via (Java) code.

 

Is anybody able to provide sample code?

 

Thanks in advance.

 

Jan

Extract Hierarchies in BO 4.1 WEBI using Java Restful Webservice

$
0
0

Hi ,

 

We are using Bo4.1 SP3.

 

Whether can we extract hierarchies from web intelligence report?

Whether there is any URL to extract hierarchies?

 

 

Regards,
Kavitha S

Fetching drill filter values for reports having prompt using webi-restful sdk?

$
0
0

Hi,

 

following the document for SAP restful services i am able to fetch the drill filters on the report but the when i try to get the values in the filter by getting into the details of a filter i am only getting the ID not the values.

 

When i using the reports without any prompts i am able to get the filter values within the filter only. the code i am using to get the filter is below.

 

  //get

  String url = baseURL + "/raylight/v1/documents/"+ documentId+"/reports/"+reportId+"/filters";

  HttpGet post = new HttpGet(url);

  post.setHeader("Content-Type", "application/xml");

  post.setHeader("Accept", "application/xml");

  post.setHeader("X-SAP-LogonToken", logonToken);

 

  HttpResponse response = client.execute(post);

 

  Header headers[] = response.getAllHeaders();

  for (int i = 0; i < headers.length; i++) {

  Header header = headers[i];

  System.out.println(header.getName() + "=" + header.getValue());

  }

  BufferedReader rd = new BufferedReader(new InputStreamReader(response

  .getEntity().getContent()));

  String line = "";

 

  while ((line = rd.readLine()) != null) {

  writer.println(line);

  //System.out.println(line);

  }

  writer.close();

  }

 

I am unable to understand the behavior to get the filters with and without prompts. please give some suggestion on it.

 

Thanks and Regrds

Gaurav

Vertical Pagination in Html using webi restful SDK

$
0
0

Hi,

 

I want to have pagination on the Html view of the Report  in my application.

 

I am using the below url:

 

  String url = baseURL + "/raylight/v1/documents/" + documentId + "/reports/" + reportId + "/pages/1?chartOutputFormat=jpeg&?mode=quickDisplay";


but the output i am getting is missing many columns.i.e it is giving first 5 columns with pages /1 and next 5 with pages /2.


I Also used the option width option as well but output is the same


I want to have all the columns of the report  and vertically pagination should take place.


Please suggest how to go about it.


Thanks and Regards

Gaurav Monga


C#: PUT to Save a Webi Doesn't Return

$
0
0

BO 4.1 SP4

VS 2010

 

I'm working on a utility that will change the universe in one or more data providers in a Webi report using the RESTful web services.  Here's the basic logic:

 

1.  Get the list of data providers in the webi  whose dataSourceId is the same as the SI_ID of the universe we're switching from.

2.  Using the list from step 1 and the SI_ID of the "to" universe, get the element mappings.  If there are any elements that are not successfully mapped, the report is not processed.

3.  For each report that is successfully mapped, do the following:

     a.  Purge the data providers.

     b.  Switch the universe.

     c.  Save the report.

 

Everything is working great up to step 3c - Save the report.  When I try to get the response from the HTTP PUT to save the report, it times out.  After this when I check the report that it was saving in BI Launchpad, it appears to have saved correctly - the universe has been switched in the new one even though a "success" message is never returned.

 

The URL that I'm going to to save the report is this:

 

http://<server>:6405/biprws/raylight/v1/documents/96436

 

And the code that I'm using is this:

 

private string putResponse(string url)
{
  clearErr();
  string result = string.Empty;
  HttpWebRequest putRequest = (HttpWebRequest)WebRequest.Create(url);
  putRequest.Method = "PUT";
  putRequest.Accept = "application/xml";
  putRequest.ContentType = "application/xml";
  putRequest.Headers.Add("X-SAP-LogonToken", RESTToken);

  HttpWebResponse wr = (HttpWebResponse)putRequest.GetResponse();  <--This is where it hangs and times out.

  if (wr.StatusCode == HttpStatusCode.OK)
  {
    result = "Success";
  }
  else
  {
    ErrMsg = "HTTP Status: " + wr.StatusCode.ToString() + "-" + wr.StatusDescription;
    result = ErrMsg;
  }
  return result;
}

 

NOTE:  This code DOES work successfully for the PUT to purge a data provider - it's just not working to save the report.

 

Does anyone have any thoughts?

 

Thanks!

 

-Dell

Wrappers for RESTful API

$
0
0

Are there any published Java wrapper classes for the WebI RESTful API?  Or do I have to manually write and parse JSON/XML?

SecWinAD authentication using the REST SDK...

$
0
0

Hi,

Trying out the REST sdk (with 4.1) and have hit a problem from the start.  I guess i'm missing some config somewhere but here's the issue...

 

I create an enterprise user in the CMC in the everyone group...

 

Using POSTMAN in Chrome I hit the logon service with...

 

http://server:6405/biprws/logon/long

POST

Accept           application/json

Content-Type  application/json

  
{

     "userName": "testREST",

     "password": "testREST",

     "auth": "SecEnterprise"

}

 

if works and returns "logonToken"...

 

I then try as an Active Diretcory user (the one I used to create the test enterprise account who is a member of administrators..me.) CMC logon is fine using AD and the standard /BI logon is configured for SSO and also logs in fine.

 

so I go with...

 

{

     "userName": "JBRAKER"

     "password": "myADpassword"

     "auth": "SecWinAD"

}

 

It returns error "FWM 00006" with Active Diretcory Authentication failed to log you on.

 

I've tried using @domain and changing server url to FQDN but no joy.

 

Any ideas what i'm missing?  As mentioned the server is setup for AD SSO but i see nothing to configure for the REST services apart from the URL in the CMC.

 

Thanks!

Jeremy

Calling Restful API from a WEBI Doc

$
0
0

Hello Everyone,

 

I got an answer and hope someone can help me. I´m trying to write a code to self modify a WEBI doc. Let me try to explain better:

I´m trying to use the Restful API to do some modification in the report I´m working on. In order to do that, I embed a javscript code, in a blank cell, that calls the API. It´s working, I´m abble to make calls from inside the document. My question is how can I reference the document that I´m working on ?

Cheers,

Rogerio

How to filter the report using the Drill filter?

$
0
0

Hi All,

 

I want to filter out the report data based upon the selection of the value in one or more drill filters.

 

I looked into the section of performing the Drill in the documentation and following the flow

 

But need some clarification :-

As in the request body for this action , it needs some attribute ’TO’ .  What will be passed over there ?

 

I tested the flow with a new instance of ’TO’

Thus  request xml  used was

 

 

<instruction type="By">

 

  <elementId>27</elementId>

  <from>

      <drillElement>

         <id>DP0.DOda</id>

         <filterValue>Abcd</filterValue>

      </drillElement>

  </from>

  <to/>

</instruction>

 

 

some Please share the your inputs on it.

 

Thanks and Regards

Gaurav Monga

Change universe with contexts

$
0
0

Hi,

I use the restful sdk to change universe but when I have a context in the webi document the 2nd call to targetDatasourceId give me this error

<error>

    <error_code>101</error_code>

    <message>The changesource operation has failed. Please verify the pertinency of the mappings and retry.</message>

</error>

 

 

My code

String proposalUrl = String.Format(biRestHeadUrl + "documents/{0}/dataproviders/mappings?originDataproviderIds={1}&targetDatasourceId={2}", docId, dp.id, rdp.Data.dataSourceId);

var proposalResponse1 = restClient.RestRequest<SAPBIRestWebiMapGET.WebiMapGET>(proposalUrl, Method.GET);

 

// Step 3 send the request with mappings completed

var proposalResponse2 = restClient.RestRequest<SAPBIRestWebiMapGET.WebiMapGET>(proposalUrl, Method.POST, proposalResponse1.Content);

 

Thanks

Change universe with Custom SQL

$
0
0

Hi,

I use the restful sdk to change universe but when I have a webi document with a custom sql the change datasource return the sql to generated by the query.

 

Thanks


Dataproviders error

$
0
0

I get this error using this command:

GET documents/{0}/parameters?lovInfo=true

Help

 

<error>

    <error_code>WSR 00999</error_code>

    <message>Internal error (RaylightAction)</message>

    <stack_trace>com.sap.webi.raylight.RaylightException: Internal error (RaylightAction)&#13;

    at com.sap.webi.raylight.context.Messenger.internalError(Messenger.java:83)&#13;

    at com.sap.webi.raylight.actions.ActionDispatcher.handleUnexpectedError(ActionDispatcher.java:132)&#13;

    at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:117)&#13;

    at com.sap.webi.raylight.RaylightServiceDocumentParameters.getParameters(RaylightServiceDocumentParameters.java:154)&#13;

    at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)&#13;

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;

    at java.lang.reflect.Method.invoke(Method.java:597)&#13;

    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)&#13;

    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)&#13;

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&#13;

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)&#13;

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&#13;

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)&#13;

    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)&#13;

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)&#13;

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)&#13;

    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)&#13;

    at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)&#13;

    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)&#13;

    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)&#13;

    at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)&#13;

    at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)&#13;

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&#13;

    at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&#13;

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)&#13;

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)&#13;

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)&#13;

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)&#13;

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)&#13;

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)&#13;

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)&#13;

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)&#13;

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)&#13;

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)&#13;

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)&#13;

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)&#13;

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)&#13;

    at java.lang.Thread.run(Thread.java:761)&#13;

Caused by: java.lang.reflect.InvocationTargetException&#13;

    at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)&#13;

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;

    at java.lang.reflect.Method.invoke(Method.java:597)&#13;

    at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)&#13;

    at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)&#13;

    ... 47 more&#13;

Caused by: com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: An internal error occurred while calling 'processDPCommandsEx' API. (Error: ERR_WIS_30270)&#13;

    at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:152)&#13;

    at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:109)&#13;

    at com.businessobjects.sdk.core.server.common.CommonRequestHandler.afterProcessing(CommonRequestHandler.java:127)&#13;

    at com.businessobjects.sdk.core.server.internal.AbstractServer.processIt(AbstractServer.java:178)&#13;

    at com.businessobjects.sdk.core.server.internal.AbstractServer.process(AbstractServer.java:133)&#13;

    at com.businessobjects.sdk.core.server.internal.InstanceServer.process(InstanceServer.java:94)&#13;

    at com.sap.sl.sdk.services.util.ServerRequestProcessor.processServerRequest(ServerRequestProcessor.java:49)&#13;

    at com.sap.sl.sdk.dataprovider.service.DataProviderServiceImpl.processDataProviderCommand(DataProviderServiceImpl.java:618)&#13;

    at com.sap.sl.sdk.dataprovider.service.DataProviderServiceImpl.prepare(DataProviderServiceImpl.java:362)&#13;

    at com.sap.sl.sdk.workspace.service.WorkspaceServiceImpl.prepare(WorkspaceServiceImpl.java:309)&#13;

    at com.sap.sl.sdk.workspace.service.WorkspaceServiceImpl.prepare(WorkspaceServiceImpl.java:297)&#13;

    at com.sap.webi.raylight.business.ParameterHelper$ParameterProviderService.prepare(ParameterHelper.java:121)&#13;

    at com.sap.webi.raylight.business.ParameterHelper.&lt;init&gt;(ParameterHelper.java:258)&#13;

    at com.sap.webi.raylight.business.ParameterHelper.&lt;init&gt;(ParameterHelper.java:198)&#13;

    at com.sap.webi.raylight.actions.parameter.GetDocumentParametersAction.execute(GetDocumentParametersAction.java:25)&#13;

    ... 52 more&#13;

Caused by: com.businessobjects.sdk.core.server.ServerException: An internal error occurred while calling 'processDPCommandsEx' API. (Error: ERR_WIS_30270)&#13;

    at com.businessobjects.sdk.core.server.common.CommonRequestHandler.newServerException(CommonRequestHandler.java:260)&#13;

    at com.businessobjects.sdk.core.server.common.CommonRequestHandler.createAllServerExceptions(CommonRequestHandler.java:238)&#13;

    at com.businessobjects.sdk.core.server.common.CommonRequestHandler.afterProcessing(CommonRequestHandler.java:121)&#13;

    ... 64 more&#13;

Caused by: com.businessobjects.sdk.core.server.ServerException: BOException caught:RESULT=8004395c;WHAT=GenerateStatements failed&#13;

    at com.businessobjects.sdk.core.server.common.CommonRequestHandler.newServerException(CommonRequestHandler.java:260)&#13;

    at com.businessobjects.sdk.core.server.common.CommonRequestHandler.createAllServerExceptions(CommonRequestHandler.java:236)&#13;

    ... 65 more&#13;

</stack_trace>

</error>

Error Get Document's detail

$
0
0

Hi, I get this error when retrieving document detail my url is

GET biprws/raylight/v1/documents/6573

 

Thanks for your help

 

<error>

    <error_code>WSR 00999</error_code>

    <message>Internal error</message>

    <stack_trace>com.sap.webi.raylight.RaylightException: Internal error&#13;

    at com.sap.webi.raylight.context.Messenger.internalError(Messenger.java:70)&#13;

    at com.sap.webi.raylight.actions.document.AbstractGetDocumentAction.getDocumentInfo(AbstractGetDocumentAction.java:116)&#13;

    at com.sap.webi.raylight.actions.document.AbstractGetDocumentAction.getDocument(AbstractGetDocumentAction.java:34)&#13;

    at com.sap.webi.raylight.actions.document.GetDocumentByIdAction.execute(GetDocumentByIdAction.java:60)&#13;

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#13;

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#13;

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;

    at java.lang.reflect.Method.invoke(Method.java:597)&#13;

    at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)&#13;

    at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)&#13;

    at com.sap.webi.raylight.RaylightServiceDocument.getDocument(RaylightServiceDocument.java:49)&#13;

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#13;

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#13;

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;

    at java.lang.reflect.Method.invoke(Method.java:597)&#13;

    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)&#13;

    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)&#13;

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&#13;

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)&#13;

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&#13;

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)&#13;

    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)&#13;

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)&#13;

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)&#13;

    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)&#13;

    at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)&#13;

    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)&#13;

    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)&#13;

    at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)&#13;

    at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)&#13;

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&#13;

    at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&#13;

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)&#13;

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)&#13;

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)&#13;

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)&#13;

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)&#13;

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)&#13;

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)&#13;

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)&#13;

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)&#13;

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)&#13;

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)&#13;

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)&#13;

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)&#13;

    at java.lang.Thread.run(Thread.java:761)&#13;

Caused by: java.lang.NullPointerException: while trying to invoke the method com.crystaldecisions.sdk.properties.IProperty.getValue() of a null object loaded from local variable 'property'&#13;

    at com.sap.webi.raylight.util.CmsHelper.getIntValue(CmsHelper.java:298)&#13;

    at com.sap.webi.raylight.util.CmsHelper.getIntValue(CmsHelper.java:182)&#13;

    at com.sap.webi.raylight.actions.document.AbstractGetDocumentAction.getDocumentInfo(AbstractGetDocumentAction.java:79)&#13;

    ... 55 more&#13;

</stack_trace>

</error>

Change universe

$
0
0

Hi

I try to use our tool Version Manager to get a wid from a cms then publish it on a 2nd cms with .net sdk.

 

The problem with rest sdk it's that webi doc in destination cms does not point to an universe as universes CUID's are different (they have 23 different universe per customer in different folders)

 

So if I try to change universe I get a ton of errors as it seem that webi reports keep looking at it's universe CUID and all rest responses on dataprovider datasource give null responses.

 

The correct behavior would to have the universe name and cuid (now only id) in the dataprovider and to be able to change universe if original one is not present.

 

It's working perfectly as it in Rich Client

 

Thanks for your help

xsd documents

$
0
0

Hi do you have somewhere the .xsd docs for rest resposese or some code templates for c# or java

Thanks

Universe folder

$
0
0

Hi is there a easy way to get universe parent folder id or cuid

The only solution i found is to get universe detail but for certain customers they have veryyy big universes so time consuming to retrieve entire universe structure just for getting the parent???

Thanks

Viewing all 262 articles
Browse latest View live


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