Hi Ralf,
We created the following java service to do this. It will return the stack in a string list.
String[] serviceStack;
IDataCursor idc_pipeline = pipeline.getCursor();
try {
Thread t = Thread.currentThread();
com.wm.app.b2b.server.ServerThread st = (com.wm.app.b2b.server.ServerThread)t;
java.util.Stack stack = st.getState().getCallStack();
serviceStack = new String[stack.size()];
if (stack.size() > 0) {
for (int i=0;i<stack.size();i++) {
serviceStack[i] = stack.elementAt(i).toString();
}
}
} catch (Exception e) {
throw new ServiceException(e);
}
// pipeline
IDataCursor pipelineCursor = pipeline.getCursor();
IDataUtil.put( pipelineCursor, "serviceStack", serviceStack );
pipelineCursor.destroy();
Mvg,
Dave
#webMethods-General#Integration-Server-and-ESB#webMethods