cancel
Showing results for 
Search instead for 
Did you mean: 

Error: java.lang.ClassCastException: class com.sun.proxy.$Proxy3286:sap.com/XMLEncryptionEAR

former_member221434
Participant
0 Kudos

I am developing Adapter User-Module to Encrypt XML Elements in Process Integration 7.31 using the document of William Li .As

I have deployed  adapter module  inside PI server and  added adapter module in the file communication channel sender and receiver, But sender channel showing this error .

Error: java.lang.ClassCastException: class com.sun.proxy.$Proxy3286:sap.com/XMLEncryptionEAR

Accepted Solutions (0)

Answers (1)

Answers (1)

abhay_rajhans2
Contributor
0 Kudos

Hi Pradeep,

This seems to be missing Jar file. There is one portion in Williams blog itself.

Putting it for your reference and if required you can take help from your basis team.

In order to develop the user-module locally on the NW Developer Studio on your laptop, some PI libraries will be required. These libraries must be included in the java classpath during development.

The libraries, or jar files, have to be taken from an existing SAP PI installation. Find the library files in following folders:

com.sap.aii.af.cpa.svc.api.jar: <bin>/services/com.sap.aii.af.cpa.svc/lib

com.sap.aii.af.lib.mod.jar: <bin>/ext/com.sap.aii.af.lib\lib

com.sap.aii.af.ms.ifc_api.jar: <bin>/interfaces/com.sap.aii.af.ms.ifc/lib

com.sap.aii.af.svc_api.jar: <bin>/services/com.sap.aii.af.svc/lib

sap.com~tc~logging~java~impl.jar: <bin>/system

Regards

Abhay

former_member221434
Participant
0 Kudos

Hi Abhay ,

I have uploaded all those jar file which mentioned by you , But i am still facing error  that error .

Regards

pradeep