on 11-15-2007 7:34 AM
Hi Everyone:
the demo on SDN about <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">working with the PdfObject API</a> has been downloaded to my loca SAP Netweaver develper studio.
But I have found that some class , such as WDPDFObjectFactory, IWDPDFObject can be tracked in the standard package of Web dynpro.
is there anyone know how to find the according package, or SDA?
Thanks a lot!
Hi Orlando,
I feel that the current installation of NWDS does not support the Adobe Applications. Please make a fresh installation of NWDS and do <b>check</b> the box for Adobe along with SAP Netweaver Components.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Settle down, used the latest API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all, this problem has been settle down.
The PDF object API has been out-of-date, the currently API for programming with ADS is related with "WDPDFDocumentFactory",
you can find the reference of CE 7.1programming on SAP HELP portal.
By the way, in j2ee-application.xml file, you should also refer to "webdynpro" services to ensure that compiler could load the runtime library on the server side.
Thanks for your hints also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SAP Developer Studio Version : 7.1 SP3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May i know the Version of the NWDS????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But during the installation of NWDS, I believe that there's no check-box for ADS library.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Orlando,
Follow the Steps when u install the NWDS :-
1 --> Click on the <b>JDTSetup.exe</b> file.
2 --> Click on <b>next</b>.
3 --> After entering the location for installation u will find a window below which displays <b>2 check boxes</b> (one for SAP Netweaver Components and the next is for Adobe Services)
4 --> check both the boxes and continue with the installation.
Hope this helps u.
Thanks and Regards
Poojith M V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The detailed information for my problem:
1. Create a standard EJB project similiar to "TutEJB_PDFobject" on SDN.
2. using PDFObject related API to develop several business method.
3. Create a WEB project to reference the EJB project.
4. add runtime reference of PDF API in "application-j2ee.xml"as memtioned before.
5. add web dynpro runtime package for EJB project, in order to import "WDPDFObjectFactory" etc class for the client side.
But during the loading stage of index.jsp in WEB proejct, compiler throws out a runtime error
"java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/pdfobject/api/WDPDFObjectFactory"
I have checked the client side class for "WDPDFObjectFactory.class", here author use Class.forName("com.sap.tc.webdynpro.pdfobject.impl.PDFObjectImpl").newInstance() to get the instance.
My question here : the reason of such isuse is caused by the error "PDFObjectImpl can't be found during the runtime" or not?
if it's the real reason, how can I add the according class package for it?
this package lies on client side or server side?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Poojith M V,
would you like to do me a favor to explain how to install the accoriding component required for adobe in NWDS.
My NWDS version : 7.1 sp3
Message was edited by:
Orlando Ding
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi I have found the SAP NOTE about the change of runtime reference of PDF object.
and the application-reference.xml file has been revised base on this suggestion.
<?xml version="1.0" encoding="UTF-8"?>
<application-j2ee-engine
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="service">tc/pdf/object</reference-target>
</reference>
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="service">licensing</reference-target>
</reference>
<provider-name>sap.com</provider-name>
<fail-over-enable
mode="disable"
xsi:type="fail-over-enableType_disable"/>
</application-j2ee-engine>
But the server seems directly ignore my request.
Still no class found for java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/pdfobject/api/WDPDFObjectFactory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Orlando,
Select the text WDPDFObjectFactory> Right Click>
select open Declaration... There u can find the package
The default package is com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.api
Regards
Roop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.