on 07-03-2008 11:32 AM
Hi All,
My scenario is JavaClient Proxy -
XI----
>RFC.
Here i generated JavaProxies for my Message interface and i imported that zip file into NWDS for my EjbModule project.
and also i added Jar files in libraries by saying add External Jars.
Here r the Jars:
aii_proxy_xirt.jar
aii_msg_runtime.jar
aii_utilxi_misc.jar
guidgenerator.jar
even i am getting an error saying com.sap can not be resolved or not a type
Any inputs
Is there any other jars i need to add ??
How to resolve this error.
Thanks,
Kalyan.
Hi Kalyan,
I think you have not set the classpath corectly.
For this :
1. Get the file aii_map_api.jar from XI server (if you have not done this already).
2. Create a new folder in the Java project you have created for mapping program. Name it as "lib"(any name would do..I just try to follow widely used naming conventions).
3.Copy the jar file aii_map_api.jar to this folder.(You can copy it in explorer and go to NWDS, select the lib folder and do a Ctrl + V).
4. Right click on the java project, select properties. Select Java build path. Go to Libraries tab. Click on the button "Add jars". In the dialog that pops up select your java project> lib> aii_map_api.jar.
5. Click apply / OK.
Rewards,
Vinod.
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 Kalyan,
Have you imported these jars?
aii_adapter_xi_svc.jar,
aii_af_cci.jar,
aii_af_cpa.jar,
aii_af_mp.jar,
aii_af_ms_api.jar,
aii_af_ms_spi.jar,
aii_af_service_message_security.jar
Search for the How to Work with Java Proxies Doc in sdn and in that you can see that these jars are also required in order to make your java application run. This is in case you are reffering to the Yugapreeta's blog. Hope it helps.
Regards,
Sanjeev.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.