on 07-06-2009 10:29 AM
Hello all,
I am working on java mapping. I have imported the java archive in imported archives and used in interface mapping but when i run the interface it is giving me below exception,
"No_Stream_transformation"
"Java class CreateXYZ does not implement the required interface"
Please help me out of this...Thanks for all your help in advance.
Thanks,
Siddhesh.
Have you included the below import statement in your JAVA Code:
import com.sap.aii.mapping.api.StreamTransformation;
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thanks for quick response. I have imported all the things needed, Check out
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Map;
import com.sap.aii.mapping.api.DynamicConfiguration;
import com.sap.aii.mapping.api.DynamicConfigurationKey;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import com.sap.aii.mapping.api.StreamTransformationException;
import java.security.MessageDigest;
public final class CreateChecksum implements StreamTransformation {
Hi Siddhesh Pathak,
As you told like you are implimenting StreamTransformation interface. Please check these
1. check the .jar file of StreamTransformation ( aii_map_api.jar ) is added to that particular project or not.
2. check the code what you wrote has to be there in execute() method. Because XI will directly call that method only.
Thanks.
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Problem Solved.
Verified with the imported archive and found that in my .class the implements StreamTransformation is missing.
THanks alll..
Edited by: Siddhesh Pathak on Jul 6, 2009 12:24 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siddhesh,
in order to work with Java Mapping you need to implement Streamtransformation,
Ex:
public class CreateXYZ implements StreamTransformation{
//your logic
}
for this you need to add a .jar to your project, the name of the .jar file is: "aii_map_api.jar"
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please have a look at this blog:
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
Regards,
Manjusha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.