on 2008 Jan 29 10:28 AM
Hi,
can any one help me out by mailing a jar file "com.sap.aii.af.sdk.xi" . I am not able to find this one in our xi server.
this is for developing a Java Proxies as Receiver as mentioned in the link..
http://help.sap.com/saphelp_nw04s/helpdata/en/ce/81a797cc9642c8bbef249bfd84dd45/frameset.htm
Regards,
Sunil
jsunil0101@yahoo.com
Hi John !!
We used this doc as a guide for developing java proxy:
It worked fine, no need of the mentioned .jar file of your post.
Regards,
Matias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John !
This is the content of the generated "application-j2ee-engine.xml" file:
<?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>
-
One question: you just need the file because the sap help states so or because you are receiving an error message asking for it?
Regards,
Matias.
Hi Matias,
Thanks for your time...
I am gertting this error after importing the zip files into the ejbModule.
Error "com.sap.xi.xI.demo.airline.FlightSeatAvailabilityQueryIn_PortTypeImpl cannot be resolved (or is not a valid type) for the field FlightSeatAvailabilityQueryIn_PortTypeBean.proxy$ FlightSeatAvailabilityQueryIn_PortTypeBean.java JavaProxy/ejbModule/com/sap/xi/xI/demo/airline
when i import an outbound java proxy .zip file into the ejbModule the things are working fine and i am able to build the EJB but when inbound java proxy it is giving the above error inside "FlightSeatAvailabilityQueryIn_PortTypeBean.java".
this is after the steps mentioned in the doc.
Regards,
Sunil.
Hi John !
Just follow instructions of the PDF below the title:
"Writing Application Code for the Server Proxies" on page 8.
You are receiving this error because the required method is not implemented by default, you just need to copy the .template file as .java file and write your implementation inside:
package com.sap.xi.xI.demo.airline;
public class FlightSeatAvailabilityQueryIn_PortTypeImpl extends com.sap.aii.proxy.xiruntime.core.AbstractProxy implements FlightSeatAvailabilityQueryIn_PortType {
public com.sap.xi.xI.demo.airline.FlightSeatAvailabilityResponse_Type flightSeatAvailabilityQueryIn(com.sap.xi.xI.demo.airline.FlightSeatAvailabilityQuery_Type flightSeatAvailabilityQuery) throws com.sap.xi.xI.demo.airline.FlightNotFound_Message_Exception, com.sap.aii.proxy.xiruntime.core.SystemFaultException, com.sap.aii.proxy.xiruntime.core.ApplicationFaultException{
FlightSeatAvailabilityResponse_Type response = new FlightSeatAvailabilityResponse_Type();
return response;
}
}
Then, it will compile without errors.
Just follow the PDF step by step, don't skip anything. It works, I've just checked it again.
Regards,
Matias
ps: please award point if helpful
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.