Skip to Content

Deprecated PI libraries

Hi people,

I'm porting one of my jar borned for XI 7.0 in PI 7.1 SP06.

I've changed the reference from aii_map_api.jar to new

The activation or testing in ESB fails with the message


uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Note: D:\usr\sap\PIX\DVEBMGS50\j2ee\cluster\server0\.\temp\classpath_resolver\Mapc8de3500cd2611dd87aa0050569f5322\source\com\sap\xi\tf\ uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error

What I have to do to solve the problem?

Thanks for your support.

Ciao. Nicola

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 05:59 PM

    Hi Nicola,

    I guess you are doing java mapping. Apprently PI 7.1 differs significanlty form PI 7.0 in terms of java mapping. In 7.1, you need to extend class AbstractTransformation and implement the method

    public void transform(TransformationInput arg0, TransformationOutput arg1) throws StreamTransformationException

    while in 7.0 you implement

    So basically you need to change your java class to the way 7.1 java mapping works.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2008 at 09:31 PM

    Are you using NWDS 7.1? Check the Java version assigned to the NWDS. It should be 1.5, not 1.6 or 1.4

    If you do not change your Java code, you need not recompile. If you change anything, you can use the same API for 7.1 which you have used in 7.0, you need not use the new Java mapping API.



    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.