cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice to access km

Former Member
0 Kudos

Hi,

I have to access to knowledge management in Portal from an external application.

Which is the best option?

I think that a web service using a portal service is the best option but I'm having problems with authentication.

Can anybody help me? Does anybody think in another approach?

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

darrell_merryweather
Active Contributor
0 Kudos

Hi

KM in the portal uses standard WebDAV functionality, and therefore you should be able to access it using this protocol. It might be worth doing a search to see whether there are some standard libraries in java or .NET that connect to WebDAV servers.

If not, then I would suggest you create a Portal service to access KM and provide methods to do whatever actions you need to be able to do, i.e. retrieve content, list files, etc. Then create a web service from this portal service.

However, I would recommend looking into the WebDAV first, which is detailed here for KM :-

http://help.sap.com/saphelp_nw04/helpdata/en/4c/9d953fc405330ee10000000a114084/frameset.htm

I hope this helps

Darrell

gregorw
Active Contributor
0 Kudos

Hello Darrell,

I found the Documentation <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db356ceb-0701-0010-ff8f-af07e78588a0">ABAP API for Knowledge Management and Collaboration</a>. I try to use the API from a WebAS ABAP 7.00 (NW2004s). But I'm facing the problem that we don't have XI or now called PI installed. As I've read in OSS Note "883948 - NW 7.0(2004s): Inst.Add.Java Usage Types/Software Units" the Usage Type PI can't be installed afterwards. Is there a possibility to use the KM ABAP API also without XI/PI in place?

Regards

Gregor

darrell_merryweather
Active Contributor
0 Kudos

Gregor

I am not too sure whether you need to have XI or PI to be able to use the ABAP KM API. It doesn't mention anything in this document regarding this. However, I am not an expert in the ABAP side of things any more as I am purely Java based these days

Reading the documentation certainly appears as though you can simply create an ABAP program which can retrieve content from KM without using XI or PI. It also mentions that there is a web service that it uses to connect, but doesn't really say what web service it is using, which is a shame.

Sorry I can't help any further

D

gregorw
Active Contributor
0 Kudos

Hi Darrell,

I've got an answer to this questions in the Topic: <a href="https://forums.sdn.sap.com/thread.jspa?threadID=503988&tstart=0">Use KM ABAP API without XI/PI</a>.

Thanks for your reply.

Regards

Gregor

gregorw
Active Contributor
0 Kudos

Hello,

what I found is the Document <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d465a209-0801-0010-e88d-f651c4084b9d">KM Web Services</a>. But I havn't found the Service in the Web Services Navigator of our 7.00 SP 11 Portal. :-(.

Regards

Gregor

Former Member
0 Kudos

Any of Portal services can be shared as WebService.

There is a special wizard in NetWeaver Developer Studio to do this.

Read more here:

<a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca4ce590-0201-0010-0ab8-a15f313012d8">How to Create a Web service from a Portal Service</a>

gregorw
Active Contributor
0 Kudos

Hello Anton,

what I want to know is: Does SAP provide access to the KM in the standard as a Web Service.

Regards

Gregor

Former Member
0 Kudos

I do not think so because if you develop .NET portal application, you need to share any service you want to access.