web service bug ???

Hi,

Using Modeler I created a simple web service that has the following steps:

  • Web Service Request step

  • Flow step

  • Web Service Response step

  • Error step

In Developer, I can see the ‘Flow step’ that I created using Modeler. In ‘Flow step’ a call is made to my Java service. The java service has the following code:

IDataCursor pipelineCursor = pipeline.getCursor();
String inStr = IDataUtil.getString(pipelineCursor, “inString”);
IDataUtil.put(pipelineCursor, “wsUserName”,InvokeState.getCurrentUser().getName());
pipelineCursor.destroy();

However, no matter who I authenticate with when I call the web service, the variable “wsUserName” is always ‘Administrator’.

Thank you for any help,
Michael