Skip to Content
author's profile photo Former Member
Former Member

Problems with Web Dynpro Car Rental Example

Hello,

I completed the JSP version of the car rental application and it works and now I am working on the Web Dynpro example but have run into a few problems.

I had over 600 errors at first, but after adding some external jars from com.sap.engine.webservices\lib

and downloading JAX-RPC, (http://java.sun.com/xml/downloads/jaxrpc.html), im down to the following error:

This compilation unit indirectly references the missing type com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReader (typically some required class file is referencing a type outside the classpath)

Does anyone know where I can find the above library I am missing? Im not the only person working on the example in my department and we all have the same problem. Could it be possible that our NWDS was not setup properly? This is our first attempt at using NWDS and we are using version: 2.0.15, build id: 200511290548.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Mar 21, 2006 at 09:59 PM

    Hi Stefan,

    Mentioned class is part of sapxmltoolkit.jar (search in your NWDS directory).

    You don`t need to add JAX-RPC directly.

    To build WD project you need following jars

    <i>WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_basesrvc.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_admin.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_clientserver.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_progmodel.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_services.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_modelimpl.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_repository.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_repository_pmr.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_model_dynamicrfc.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_designtime_coupling_api.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_designtime_coupling.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/com_sap_tc_graphics_igs.jar

    WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/jARM.jar

    WD_RUNTIME/com.sap.ide.jcb.core/SAPJavaConnectivityBuilderCore.jar

    WD_RUNTIME/com.sap.ide.jcb.core/lib/aii_proxy_rt.jar

    WD_RUNTIME/com.sap.ide.jcb.core/lib/aii_util_misc.jar

    WD_RUNTIME/com.sap.mw.jco/lib/sapjco.jar

    WD_RUNTIME/com.tssap.sap.libs.logging/lib/logging.jar

    WD_RUNTIME/com.tssap.sap.libs.logging/lib/loggingStandard.jar

    WD_RUNTIME/com.tssap.sap.libs.logging/lib/jARM.jar

    WD_RUNTIME/com.sap.exception/lib/exception.jar

    WD_RUNTIME/com.sap.sld.client/lib/lcrclient.jar

    WD_RUNTIME/com.sap.tc.cmi/_cmi_api.jar

    WD_RUNTIME/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar

    WD_RUNTIME/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar

    WD_RUNTIME/com.sap.security/lib/com.sap.security.api.jar

    </i>

    Just make sure that you have all of them in classpath.

    Best regards, Maksim Rashchynski.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 22, 2006 at 07:07 PM

    Maksim, I had all the jars except for the security one. I still needed JAX-RPC and a few others as well in order for it to work.

    Why would I need to import so many jars into my project? Do you think it was the way our NWDS was setup? I have the J2EE engine on my PC. Thanks in advance.

    Stefan

    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.