[Mono-list] WebServices

Carl Olsen carl at carl-olsen.com
Tue Jul 12 06:49:06 EDT 2005


Hi Tracy,

I found it to be fairly simple, but I used Visual Studio to create the files
and then moved them over to my Linux box.  I had to remove the "Codebehind"
attribute in the asmx page to get it working.  I have a couple functions
that run stored procedures in PostgreSQL that I call from the web service
page.  I think there are only about ten lines of code on the web service
page.  One of them has parameters "D" and "R" and the other doesn't:

http://www.carl-olsen.com/Modules/Legislators/Senator.asmx

Send me your asmx page and your asmx.cs page and I'll see if I can see
anything missing or out of place.

Carl
http://www.carl-olsen.com/

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of
mono-list.1.tracyanne at spamgourmet.com
Sent: Tuesday, July 12, 2005 5:02 AM
To: mono-list at lists.ximian.com
Subject: [Mono-list] WebServices

Is there some secret one needs to know, in order to run a web service on
Linux with Mono and Apache?

I can't get any response, when I test my web service, nor when I test
the two example web services that are found in /usr/share/doc/xsp/test.

I'm using Mono 1.1.8, on Mandriva 2005 LE, with mod_mono 1.0.9 and
Apache 2.0.53.

I load the service in my browser, select the Web Method, select test
form, an enter some data into the text boxes, select the invoke button,
and wait............... There is no response. Eventually I get the
message "Thread was being aborted"

Regards

Tracy Barlow
_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list





More information about the Mono-list mailing list