I have a WebService which is in different server. I need to consume that WebService in notes database. But that web service is secured by the windows authentication. When I am tiring that WebService from my browser it is asking for the windows user id and password, after giving that user id and password, it got opens. But while I am trying to consume it from my notes database it is giving below error message.
WebService already written in different server, I need to consume that in my notes database to call the method in that web service. I am doing it from “New Web Service Consumer” button in lotus notes database and I am giving the URL of that webservice but I am getting the error message.
Now I removed all the windows authentication, but getting the same error as below.
I understand your trouble. I’m assuming the error is resulting from the fact that it can’t see the WSDL since it’s behind an authentication layer.
My previous response was an example of consuming your webservice manually with LotusScript instead of creating a consumer through Domino Designer. Instead of using a webservice consumer to call the webservice, you’re simply creating a POST object, passing a string of XML (presumably for SOAP) in the body of the POST request, then reading the response text (XML). In simpler terms, you send some XML to a URL and it gives you XML back.
What I described is very easy to do with webservices that don’t require authentication; however, although I’ve never tried it, I believe the concept can be extended by authenticating via a request header. Before attempting the code, you may want to do a proof-of-concept in a tool such as Postman, which is an extension for Chrome.