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

Problem with invoke Method of Java Proxy

Hello,

I have a ABAP-Proxy -> XI -> Java-Proxy Scenario.

I get following error:

 Error invoking method pIBOTD001REQIB of proxy bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4LocalObjectImpl10: null

But i think everything is alright.

my xmls looks like that:

ejb-jar.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
	<description>EJB JAR description</description>
	<display-name>EJB JAR</display-name>
	<enterprise-beans>
		<session>
			<ejb-name>PIBOTD001REQIB_PortTypeBean</ejb-name>
			<home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4</home>
			<remote>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4</remote>
			<local-home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4</local-home>
			<local>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4</local>
			<ejb-class>net.getro.bOF.PIBOTD001REQIB_PortTypeBean</ejb-class>
			<session-type>Stateless</session-type>
			<transaction-type>Container</transaction-type>
		</session>
		<session>
			<ejb-name>ejb/BOPITD001OUT_PortTypeBean</ejb-name>
			<home>net.getro.pIPE.BOPITD001OUT_PortTypeHome</home>
			<remote>net.getro.pIPE.BOPITD001OUT_PortTypeRemote</remote>
			<local-home>net.getro.pIPE.BOPITD001OUT_PortTypeLocalHome</local-home>
			<local>net.getro.pIPE.BOPITD001OUT_PortTypeLocal</local>
			<ejb-class>net.getro.pIPE.BOPITD001OUT_PortTypeBean</ejb-class>
			<session-type>Stateless</session-type>
			<transaction-type>Container</transaction-type>
		</session>
	</enterprise-beans>
</ejb-jar>

application-j2ee-engine.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
<application-j2ee-engine>
	<reference 
		reference-type="weak">
		<reference-target 
			provider-name="sap.com" 
			target-type="library">com.sap.aii.proxy.xiruntime</reference-target>
	</reference>
	<reference 
		reference-type="weak">
		<reference-target 
			provider-name="sap.com" 
			target-type="library">com.sap.aii.messaging.runtime</reference-target>
	</reference>
	<reference 
		reference-type="weak">
		<reference-target 
			provider-name="sap.com" 
			target-type="library">com.sap.xi.util.misc</reference-target>
	</reference>
	<reference 
		reference-type="weak">
		<reference-target 
			provider-name="sap.com" 
			target-type="library">com.sap.guid</reference-target>
	</reference>
	<provider-name>sap.com</provider-name>
	<fail-over-enable 
		mode="disable"/>
</application-j2ee-engine>

Any Idea ?

Regards,

Robin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 17, 2005 at 07:37 AM

    How did you register your inbound proxy?

    Check with http://<host>:<port>/ProxyServer/listAll

    The assigned bean should be the JNDI name of your bean.

    Here an example:

     "http://sap.com/xi/XI/Demo/Airline#FlightSeatAvailabilityQuery_In = sap.com/JavaProxyExampleEAR/FlightSeatAvailabilityQueryIn_PortTypeBean:flightSeatAvailabilityQueryIn"

    Regards

    Stefan

    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.