cancel
Showing results for 
Search instead for 
Did you mean: 

how to call openDocument.jsp from php with a token ?

Former Member
0 Kudos

Hi,

I want to call from php :

"http://".$server.":".$port."./OpenDocument/opendoc/openDocument.jspiDocID=".$idocid."&sIDType=CUID&token=" .$token;

I would like to get information on generating a logon token from php.

I have readen I can use COM (classic ASP) but I don't know how to use it and haven't seen any example.

Thanks for your help,

Christophe

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

CHeck the NET samples here:

http://wiki.sdn.sap.com/wiki/display/BOBJ/NETBusinessObjectsEnterpriseSDKSamples

You can use the BOE SDK to login into the BO repository. AT this point the token will be created and you can pass it to the openDocument URL.

Regards,

Stratos

Former Member
0 Kudos

Hi Stratos,

Thanks for your answer but I want to do the connection from php not from .NET.

BR,

Christophe

0 Kudos

I think that the simplest way to do that is to write a java or NET program that creates a BO session and display the token and then use PHP code to run the executable and read the token in order to pass it to the openDocument URL.

You can use an internet search engine with keywords like "executable","run" and "PHP" to see how you can do this.

Regards,

Stratos

Former Member
0 Kudos

Hi Stratos,

The simplest way for me should be to do all in php...

It is not possible at all ?

Regards,

Christophe

Former Member
0 Kudos

Hi,

I have readen I can call the web service http://myserver:8080/dswsbobje/services/Session?wsdl

But I don't know how to use it to be able to construct the token.

BR,

Former Member
0 Kudos

Hi,

I am also looking for same. Were you able to get a solution for this.

Thanks

SM

Former Member
0 Kudos

SM,

This post is a year old and has been marked assumed answered which closes it. I suggest you start a new thread as many will not look at a closed thread. You can reference this one in your new thread.

Former Member
0 Kudos

Thank you..will do that.

Answers (0)