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

.Net Connector: Login error

Hello,

I try to create a SAP Proxy class using the wizard by a direct connection to a SAP Server ( not wsdl)

After specification of the Connection parameters I can select the relevant BAPIs. A progression bar comes up and later an error occurs:

" To Create a proxy directly from a SAP System, you must install a Java VM from JavaSoft:

Inner Error was:

INFO: using logging implementation "AII Logging"

com.sapi.aii.upload.api.LoginException$LoginFailed: "Anmeldung fehlgeschlagen"

I have a Java VM 1.4.2 b28.

Thanks in advance

Holger Lenz

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Feb 24, 2004 at 08:29 AM

    Hello Mr. Lenz,

    the error is fairly clear: Something with the logon information you provided in the wizard was wrong. Typically it is a wrong setting in the "Client" parameter. It defaults to "-1" which is a kind of "always wrong" default. If you set it to a valid client, it should work.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Mr. Hille Doering,

      The following are the output when the error occurred:

      1.Command prompt:

      C:\Documents and Settings\Administrator>C:\"Program Files"\Java\j2re1.4.2_04\bin

      \java.exe -Xmx128m -cp aii_upload_core.jar;aii_upload_sap.jar;aii_util_misc.jar;

      aii_util_xml.jar;aii_util_rb.jar;inqmyxml.jar;sapjco.jar;SAPmdi.jar com.sap.aii.

      upload.tool.RFC2WSDLTool "C:\Documents and Settings\Administrator\My Documents\V

      isual Studio Projects\ConsoleApplication9\metadata.wsdl" VITDEL11 0 0 "bcuser" "

      minisap" RFC_ABAP_INSTALL_AND_RUN

      Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/aii/upload/to

      ol/RFC2WSDLTool

      2.Pop-up message(Error in Proxy-Generator):

      To Create a proxy directly from a SAP System, you must install a Java VM from JavaSoft:

      Inner Error was:

      INFO: using logging implementation "AII Logging"

      com.sap.aii.upload.transformation.InvalidDocumentException: Invalid document: Missing element -

      <list><links><cp:storedData><cp:data><ifr:container><ifr:definition><ifr:parameters><ifr:parameter name=PROGRAMNAME><ifr:definition><ifr:abapType><ifr:definition><ifr:length>

      at com.sap.aii.upload.transformation.Common.getSubElementTextTrim(Common.java:714)

      at com.sap.aii.upload.transformation.Common.addAbapTypeMapping(Common.java:119)

      at com.sap.aii.upload.transformation.Common.getElementForType(Common.java:215)

      at com.sap.aii.upload.transformation.RFC2WSDL.getTypes(RFC2WSDL.java:198)

      at com.sap.aii.upload.transformation.RFC2WSDL.transform2001(RFC2WSDL.java:153)

      at com.sap.aii.upload.transformation.ClassicTransformationWSDL.transform(ClassicTransformationWSDL.java:49)

      at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:132)

      at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:82)

      at com.sap.aii.upload.tool.RFC2WSDLTool.main(RFC2WSDLTool.java:196)

      Exception in thread "main"

      THis error occurs when using IDES 470 and also MiniSAP 620. I use .NET connector 1.0.2.

      Thank you

  • Posted on Jun 30, 2004 at 12:25 PM

    Hello tthere.

    I have the exact same proplem. Does anyone have a solution to this prople.

    Regards, GTE

    Add a comment
    10|10000 characters needed characters exceeded

    • As I wrote before, you shout CD to the SAP .NET Connector install dir. In this case you would not get a "NoClassDefFoundError" but another Java exception.

      As I also wrote this is an issue that should be reported as a OSS ticket (short term for SAP Customer Support services provides via SAPGui or SAP Service Marketplace).

      BTW: You should be carefull pasting stuff that contains a password. You might want to change it from "Lexa1004" to something different now.

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2006 at 12:11 AM

    Hello,

    Did any one get a solution to this problem? I'm sailing in the same boat, please let me know if there is already a solution to this.

    Thanks!!

    Vijay

    >

    > I try to create a SAP Proxy class using the wizard by

    > a direct connection to a SAP Server ( not wsdl)

    > After specification of the Connection parameters I

    > can select the relevant BAPIs. A progression bar

    > comes up and later an error occurs:

    > " To Create a proxy directly from a SAP System, you

    > must install a Java VM from JavaSoft:

    > Inner Error was:

    > INFO: using logging implementation "AII Logging"

    > com.sapi.aii.upload.api.LoginException$LoginFailed:

    > "Anmeldung fehlgeschlagen"

    >

    > I have a Java VM 1.4.2 b28.

    > Thanks in advance

    > Holger Lenz

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 25, 2006 at 11:31 PM

    Hello,

    I'm still fighting to get a solution on this. This is the environment I'm working on

    Visual Studio .Net 2003

    SAP .Net Connector 1.2.1 for Visual Studio 2003

    Java runtime 1.4.2

    Librfc32 6400.3.79.4740

    This is the error message I see when I'm trying to generate a proxy class using SAP .Net connector. I can to get thru the initial steps where I provided a username and password and select the Function module. But when I hit Next button, starts generating but finally comes out with the error message shown below:

    -


    Error in Proxy-Generator

    -


    To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft

    Inner error was:

    INFO: using logging implementation "AII Logging"

    com.sap.aii.upload.api.LoginException: Invalid user/password combination

    at com.sap.aii.upload.sap.SAPConnection.connect(SAPConnection.java:113)

    at com.sap.aii.upload.sap.SAPConnection.<init>(SAPConnection.java:59)

    at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:63)

    at com.sap.aii.upload.tool.RFC2WSDLTool.main(RFC2WSDLTool.java:178)

    Exception in thread "main"

    Can someone help me with what could be wrong here and any solution to this?

    Thanks for your time!!

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

    • NCo 1.x has been developed together with LIBRFC32 version 6.20. This combination is NOT case-sensitive.

      NCo 2.0.1 is developed together with LIBRFC32, version 6.40 and supports case-sensitive passwords.

      You are using the old NCo with the new LIBRFC32, so I don't know how / if it works. LIBRFC32U is not used by NCo.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 29, 2006 at 08:36 AM

    Is it possible to use RFC2WSDL tool with SSO/SSO2 ticket instead user's password?

    Regards,

    Boris Mikhailovski

    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.