on 12-20-2010 5:56 PM
Hi All,
I have created a server Java proxy and trying to deploy that on the SAP PI box. I am facing two difficulties, first is what is the proper way to convert an .ear file to .sda, at present I am using some scripts. Can't I deploy a .ear file directly through JSPM. I am presently trying to deploy the .ear file through Hot Fix but no success.
Second issue is if I am able to convert the .ear to .sda I get the below error in deployment:
-
Deployment Items -
1. Client path '/usr/sap/trans/EPS/in/TestJavaProxyEAR.sda'
Deploy status is 'Aborted'
Description:'1. [ERROR CODE DPL.DS.5402] JLinEE reported following erros for sap.com/TestJavaProxyEAR application.
ERRORS:
Bean Interfaces: The Session Bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4 does not implement any interfaces., file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The Session Bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4 does not implement any interfaces., file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The Session Bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4 does not implement any interfaces., file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The Session Bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4 does not implement any interfaces., file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: beanintf.11, file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error
Hint: 1) Given application file is not valid one.'.
SDA : name 'TestJavaProxyEAR', vendor 'sap.com', location 'Deployment Manager', version '1', software type ('J2EE', sub type ''), csn component '', dependencies :[none]
Time statistics( ms 😞
1.validate : -1
1.1.deployment : 5478
1.1.1.Notify:Event triggered : 154
1.1.2.Disable LCM deployment : 5307
1.1.2.1.Perform delivery : 5306
1.1.2.1.1.Application Deployer : 5301
1.1.3.Notify:Event performed : 14
Dec 20, 2010 4:22:12 PM [Info ]:+++++ End D E P L O Y action +++++[ deployerId=2 ]. Total time:[#10: 37.001 sec]
Thx in advance
Ravijeet
Edited by: RAVIJEET.SAP.PI on Dec 21, 2010 12:27 AM
I was able to create the Java Proxy using latest NWDS 7.1 1 and exposing it as Webservice and using the receiver SOAP adapter invoke it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer this (I have used the old fashioned java proxies generation method in PI7.1 for one of our scenario):
http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
But it is always advisable to use new webservice proxies in PI7.1:
Thanks
Amit
Hi All,
Any suggestions
I am using NWDS 7.0 to create my Server Java Proxy for PI 7.1 EHP 1. I need this Server Java Proxy to make a HTTP GET call to a webserver.
Do I need to use JAX-RPC or I can use the new JAX-WS proxies to make my HTTP GET call.
Here is my 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>SIPOCRESTIS_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>restComPOC.SIPOCRESTIS_PortTypeBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
And my ejb-j2ee-engine.xml is as below:
-
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-j2ee-engine SYSTEM "ejb-j2ee-engine.dtd">
<ejb-j2ee-engine>
<enterprise-beans>
<enterprise-bean>
<ejb-name>SIPOCRESTIS_PortTypeBean</ejb-name>
<jndi-name>MakeHttpCall</jndi-name>
<session-props/>
</enterprise-bean>
</enterprise-beans>
</ejb-j2ee-engine>
Thx in advance
Ravijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.