Skip to Content

BO SDK URL地址提示情况

输入地址http://sever:6405/biprws/raylight/v1/documents/258099/parameters?lovInfo=false,提示No session found in HTTP hader X-SAP-LogonToken,提示找不到会话,这个会话怎么在这个URL里进行添加。

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on May 12, 2015 at 01:41 AM

    您好,您可能没充分理解restful的用法,它不是说简单的在URL里添加在浏览器打开使用的,它是需要您在您应用程序进行调用的,像您提到的X-SAP-LogonToken,也是需要通过程序的方法添加到http header里的,实现方法视不同的语言是不同的,以java为例,大概的sample code是这样的:

    HttpClient httpClient = new DefaultHttpClient();

    String url="http://sever:6405/biprws/raylight/v1/documents/258099/parameters?lovInfo=false";

    HttpGet httpGet = new HttpGet(url);


    HttpResponse httpResponse = httpClient.execute(httpGet);





    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.