Skip to main content

Domino Webservice authentication problem

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2010-11-09

Hi there!
i have a problem connecting a metro webservice client to a domino web service.
The domino database containing the webservice has the ACL activated, so the webservice must provide an username and password. I tried to call the webservice with an axis client and it succeeds:
((Stub)s)._setProperty(Call.USERNAME_PROPERTY, "username");
((Stub)s)._setProperty(Call.PASSWORD_PROPERTY, "password");
I tried it in metro with:
((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "username");
((BindingProvider)port).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "password");
I am new to metro, and i don't know if this was the right way...
Any ideas?


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-14

If the service is expecting basic auth, the above should work. See the http traffic, there should be a corresponding header in the request message.