Skip to Content
avatar image
Former Member

sap.net connector proxy generation error

Hi all,

We are trying to generate proxy in VS.NET 2003 using C#. When we try to generate the proxy for about 12 RFC's at a time we get a message stating

" In order to create proxy directly from SAP system, you must install java VM from javasoft

Inner error was : Process must exit before requested information can be determined"

Seems to work fine if we pick 2 or 3 RFC's at a time.

appreciate responses..

Thanks

Karun

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Aug 02, 2004 at 08:35 AM

    The issue you describe is a typical "timeout" problem:

    The wizard has a fixed maximum time that it is willing to wait for the Java program to get the Metadata from your SAP system.

    The time it needs depends on the number of functions in the proxy and the speed of the SAP system delivering the metadata. So you can usually work arround the problem by either use a faster app server to create the proxies from or to use a proxy with less functions in it.

    If this is not acceptable, you can also work arround as follows:

    - When the error appears, close the message box and open the tasks manager.

    - In the task mananger wait for the "Java.exe" to disappear.

    - Check your project directory for the new .sapwsdl file.

    - Add it to your project and necessarily rename it.

    - Set the custom tool property of it to "SAPConnectorGenerator".

    Another option is to upgrade to the new 2.0-version of SAP .NET Connector (still beta), which has a different approach to create the proxies and thus should not have the issue.

    Add comment
    10|10000 characters needed characters exceeded