Dear Anzar,
Please check following documnet.This Article is all about accessing KM of SAP portal 7.0x, in a web Dynpro java application, developed using NWDS CE 7.1 or higher versions, for maintaining documents.
http://scn.sap.com/docs/DOC-26207
Thanks,
Patralekha