cancel
Showing results for 
Search instead for 
Did you mean: 

jar file

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi John !!

We used this doc as a guide for developing java proxy:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc21...

It worked fine, no need of the mentioned .jar file of your post.

Regards,

Matias.

Former Member
0 Kudos

Hi mark,

thanks for your respone....

when you have a java proxy as the receiver we need the jar file....

As you can see the link from the help.sap..in my post.

Cheers

Sunil.

Former Member
0 Kudos

Hi John !

We just have a java proxy receiver in production, working great, with no need of that file, just followed the PDF.

Regards,

Matias.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Answers (0)