on 04-16-2008 4:41 PM
Dear SDNers,
I have created a UDF function, while I compile/Activate the code. It gives the following compilation error.
"Activation of the change list canceled
Check result for Message Mapping MyOnetoDSapVendorData
Starting compilation Source code has syntax error: /oracle/MXD/usrsap/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Map662a4b100bca11ddc7d6000b5df38d11/source/com/sap/xi/tf/_MyOnetoDSapVendorData_.java:571: incompatible types found : java.lang.String[] required: java.lang.String String strContext = context;
/oracle/MXD/usrsap/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Map662a4b100bca11ddc7d6000b5df38d11/source/com/sap/xi/tf/_MyOnetoDSapVendorData_.java:573: cannot resolve symbol symbol : variable scheme location: class com.sap.xi.tf._MyOnetoDSapVendorData_ String receiverScheme = scheme; ^
/oracle/MXD/usrsap/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Map662a4b100bca11ddc7d6000b5df38d11/source/com/sap/xi/tf/_MyOnetoDSapVendorData_.java:586: cannot resolve symbol symbol : method newIFRequest (java.lang.String,java.lang.String,java.lang.String) location: class com.sap.aii.mapping.value.api.XIVMFactory IFRequest src = XIVMFactory.newIFRequest(strContext,senderAgency,senderScheme);
/oracle/MXD/usrsap/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Map662a4b100bca11ddc7d6000b5df38d11/source/com/sap/xi/tf/_MyOnetoDSapVendorData_.java:587: cannot resolve symbol symbol : method newIFRequest (java.lang.String,java.lang.String,java.lang.String) location: class com.sap.aii.mapping.value.api.XIVMFactory IFRequest dst = XIVMFactory.newIFRequest(strContext,receiverAgency,receiverScheme); "
Pls give me some suggestion.
Thanks!
Bala
Hi
The error clearly indicats that you are not providing the third party jars for runtime environment.
Import those jar files too.
>. java.lang.String[] required: java.lang.String String strContext = context;
its an incompatible issue.
It is expecting array of string on the left side. i.e., the String strContext should be string [] strContext.
Thanks,
Gujjeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this blog for testing and debugging UDF:
/people/stefan.grube/blog/2005/12/30/test-user-defined-functions-for-the-xi-graphical-mapping-tool-in-developer-studio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.