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

Java inbound Proxy: Error invoking method

Hi Group,

i have problems to call my inbound java proxy. When i test my scenario, i get always the

error message:

ErrorCode: GENERAL ErrorText: Error invoking method miTestProxyOutb of proxy bean $Proxy189:

Error invoking method miTestProxyOutb of proxy bean $Proxy189: ErrorStack:

The scenario looks like that:

SAP/R3->XI3->Java Proxy

For that i hava a simple function module on a sap/r3 with one request "I_REQUEST" and one response

"E_RESPONSE" parameter.

Further i have a own created synchruonus inbound message interface "mi_test_proxy_outb" with one request "I_REQUEST" and

one response "E_RESPONSE" parameter.

I've created from the message interface the java proxy and created a new EJB module project.

The class MiTestProxyOutb_PortTypeBean does have some commentars like following extract:


  • @ejbHome <{}>

  • @ejbRemote <{}>

  • @ejbLocal <{}>

  • @ejbLocalHome <{}>

  • @stateless


I've added this informations in the ejb-jar.xml like following extract:


<description>EJB JAR description</description>

<display-name>EJB JAR</display-name>














The implementation class MiTestProxyOutb_PortTypeImpl does have only one method: "miBmwProxyOutb".

Here is the extract:

public class MiTestProxyOutb_PortTypeImpl extends

implements MiTestProxyOutb_PortType{

public de.axentiv.sAPGPS.DtTestProxyResp_Type


mtTestProxyReq) throws,



de.axentiv.sAPGPS.DtTestProxyResp_Type test = new


test.setERESPONSE("Hello World");

return test;


catch(Exception ex){

throw new RuntimeException();




With that additions, i've generated my jar File and ear File.

The deployment on the WAS640 finished successfully.

I've registered the Proxy on the JPR also successfully.

Can anyone tell me or give me a hint what i've did wrong?

Any hint would be very apreciated.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 07, 2005 at 01:33 PM

    Is the problem solved?

    Otherwise let me know the string, how you registered the proxy.



    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.