Hi,
my requirment is that i have to use JSP and java services to invoke the IS services.
I have imported jars of IS server in eclipse to invoke the IS services by use of java service and then i will poplated to JSP pages.
when i run the Java service in eclipse it throw error.
For undestading purpose i created a simple Flow service(Test) with input field “Name” and output field “OutputName” which is map directly.
This IS service is in package Sample:Test
in eclipse i create the java servive to invoke the flow service as.
import java.util.;
import com.wm.data.;
import com.wm.util.Values;
import com.wm.app.b2b.server.Service;
import com.wm.app.b2b.server.ServiceException;
public class webMethodsClass {
public void methodsTest()
{
String value ="Reema";
IData input = IDataFactory.create();
IDataCursor inputCursors = input.getCursor();
IDataUtil.put( inputCursors, "input", value);
IData outputs = null;
try
{
outputs = Service.doInvoke("Sample","Test",input);
}
catch (Exception e)
{
e.printStackTrace();
}
IDataCursor outputCursor = outputs.getCursor();
//String value = IDataUtil.getString(outputCursor,OutputName);
outputCursor.destroy();
System.out.println(“OUTPUT IS:” +value);
}
}
please guide me on this part.how we can access the flow or java service outside the IS.
Regards
Reema