IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  web service bug ???

    Posted Tue March 14, 2006 06:59 AM

    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


    #API-Management
    #soa
    #webMethods