Is there any way to supply a userID/password on a service in

We are running webMethods Integration Server v6.1. Is there any way to supply a userID/password on a service invoke URL, so that these could be supplied programatically and not require manual entry in the login popup? I encountered this format in another forum:


but could not get this to work. Has anyone tried this format successfully?

Alternatively, if we used this format:


and set the execute ACL to “Anonymous”, is there any internal service that can be used to programatically verify the input userID and pswd?

Hello Dave,

You could implement a service as shown below and call it according


You can find more about the used classes in the server/client API.

Kind regards


Java service

paramaters: user , pass, path, service

IDataCursor pipelineCursor = pipeline.getCursor();

String user = new String();
String pass = new String();
String path = new String();
String service = new String();

if (pipelineCursor.first( “user”)) user = (String) pipelineCursor.getValue();
if (pipelineCursor.first( “pass”)) pass = (String) pipelineCursor.getValue();
if (pipelineCursor.first( “path”)) path = (String) pipelineCursor.getValue();
if (pipelineCursor.first( “service”)) service = (String) pipelineCursor.getValue();

// fetch server port
String port = System.getProperties().getProperty(“”);
port = port.replaceFirst(“.@(.)@.*”, “$1”);

String host = “” +port;

// invoke service
Context context = new Context();

context.connect(host, user, pass);

IData result = IDataFactory.create(); 
      result = context.invoke(path, service, pipeline); 

pipelineCursor.insertAfter("result", result); 

} catch (Exception e)