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

SAP CE 7.1: SAP Enterprise Connector, JCo deprecated

Hello,

Anyone have any ideas as to why even in NWDS 7.1 creating a "SAP Connectivity" > "SAP Enterprise Connector" still generates proxy objects containing MessageSpecifier objects which require a JCO.Client?

And why in SAP NetWeaver CE Library there is still suggested JCO.Client http://help.sap.com/saphelp_nwce10/helpdata/en/17/d609b48ea5f748b47c0f32be265935/frameset.htm

If I want to execute this:

JCO.Client client = JCO.createClient (<SAP client>, <userid>, <password>, <language>, <hostname>, <system number>)

I get this exception:

java.lang.NoClassDefFoundError: com/sap/mw/jco/JCoClient

(fyi: I added the DC com.sap.mw.jco)

Why do I get this exception? Which DC do I have to add?

My third quetsion:

How can I work with SAP Enterprise Connector without the usage of JCO.Client?

Regards,

Armin

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 09:54 AM

    I have a similar question about the deprecation ...

    ... but for me the deprecated JCo-API worked...

    I think you should set a "Runtime" Dependency for the "com.sap.mw.jco"-DC in the DC-Properties.

    Kind Regards,

    Otto

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2007 at 08:38 AM

    Hi Armin,

    where did you hear that JCo is deprecated?

    And why are you not using JPA for this connection?

    Regards,

    Benny

    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.