Skip to Content
0
Former Member
Aug 17, 2005 at 07:17 AM

Problem with invoke Method of Java Proxy

22 Views

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