cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter for Java Mapping

Former Member
0 Kudos

Hi!

Is it possible to pass individual parameters via XI to a Java Mapping so they can be accessed in its service()-method?

Regards,

Thomas

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

As far as i know there is no method by name service in java mapping. for more information on java mapping go thru the link.

http://help.sap.com/saphelp_nw2004s/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

Regards

Vishal Kumar

Former Member
0 Kudos

Are you talking about the <b>execute</b> method of Java mapping ???

In that case there are only two parameters passed to this which are

public void execute(InputStream iStream, OutputStream oStream)

This is the entry point into your Java code and InputStream is the stream to your XML document and OutputStream is where you write your output to..so unfortunately no more parameters to the execute method

Former Member
0 Kudos

Thomas, we normaly call the java mapping using the interface mapping and the IM editor takes a Message only as a parameter. i doubt we can pass individual parameters to Java Mapping. U mean the "execute" method rite !! since we implement streamtransformation interface , we have only an InputStream object to work with.

Regards

Saravana