Domino Web Services Setup - What am I missing?

I get the development side of web services … but I must be missing something on the admin/setup side because every time I try to consume a Domino web service in .Net, it throws the error …

"No connection could be made because the target machine actively refused it "

This error also comes up when using an HTTPRequest.GetResponse(), so ‘the force’ is telling me I’m missing something here (not unusual).

So far, I’ve gleaned that Session Authentication must be disabled, is there anything else you have to do on the server? Do you HAVE to use Internet Site docs?

Is there any documentation that specfically talks about what configuration needs to be done for web services to work?

Thanks for your help!

Subject: Domino Web Services Setup - What am I missing?

Best place to start is with this documentation:

http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/855dc7fcfd5fec9a85256b870069c0ab/e00c954df8295c138525704a003fb9fd?OpenDocument

http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/855dc7fcfd5fec9a85256b870069c0ab/3277ac3c8b45c7938525704a003fba2c?OpenDocument

and other Designer docs specifically mentioning Web Services:

http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/Search?SearchView&Query="Web%20Services"

Subject: RE: Domino Web Services Setup - What am I missing?

Thanks for these links, but these all talk about the development of the Web Service … my question is …

On the server, what needs to be done to enable connections. For example, session authentication needs to be turned off … where is this documented.

I’m being blocked at the connection phase and I don’t know why.

Subject: RE: Domino Web Services Setup - What am I missing?

In the second link that I posted, did you see the section about security?

Also, how are you calling the Web Service?

Subject: RE: Domino Web Services Setup - What am I missing?

Yes, but this is in the context of the design. I’m looking for information related to server documents, or internet site documents - Domino Directory stuff (if necessary)… the configuration of the server, not the database or agent/web service.

I can’t make my test Webservice any more unsecure, which leads me to believe I’m missing something on the server config side.

Am I making any sense today?

Subject: RE: Domino Web Services Setup - What am I missing?

Sorry - I’m not aware of any other documentation unless you want to poke around in the redbooks:

http://www.redbooks.ibm.com/cgi-bin/searchsite.cgi?Query="Web%20Services"%20and%20Domino&SearchMax=250&SearchOrder=1

But just to confirm, can you do some basic stuff like

http://server/path/dbname.nsf/ServiceName?WSDL

Subject: Solution

When I launch the same code from a server-based webserver (not my local web server), everything works fine. The server wasn’t allowing client-based webserver connections.

Thanks for your help!!

Subject: RE: Domino Web Services Setup - What am I missing?

Cesar,

Thanks for hanging in there with me.

The things I am able to do are:

  1. Hit the URL anonymously (both ?WSDL & ?OpenWebService).

  2. Add the web reference in .Net

It’s only when the .Net code goes to create the connection that it bombs saying that the target machine actively refused the connection, which confuses me because it’s getting some kind of connection when it adds the web reference in Visual Studio.

Do you know for sure if you HAVE to use Internet Site Documents for Web Services, or can you just continue to use the Server Configuration document?