I would like to call an ASP.NET web service from Moodle. Can anybody offer any advice. Thanks, P.
By definition, it shouldn't matter that it's asp.net. However, there are lots of different web service protocols so you need to understand the spec for the one you want to call.
Next you need to write the Moodle client side and put it somewhere sensible. All that depends on what the web service does of course.
Really - lots more information is needed to give you any sort of sensible advice.
Next you need to write the Moodle client side and put it somewhere sensible. All that depends on what the web service does of course.
Really - lots more information is needed to give you any sort of sensible advice.
Fair enough. I just want to call a simple ASP.NET 3.5 SOAP Version 1.1 based web service. Web service is for authenticating login id and password pair input parameters and it returns a boolean. I was hoping that there might be some samples?
Well, you should find some examples of using SOAP in PHP. There are SOAP libraries in Moodle already. The next step is to write your own authentication plugin to do this. You can pretty much grab one of the existing ones and modify it.
You don't say which version of Moodle - Moodle 2 has a lot more web service stuff than 1.9 and earlier.
You don't say which version of Moodle - Moodle 2 has a lot more web service stuff than 1.9 and earlier.
Hi Howard, Thanks for getting back to me. I have to stick with Moodle 1.9 for now. I am using nusoap (http://sourceforge.net/projects/nusoap/) and I am making good progress so far....It seems to work well for SOAP V1.1. Paul