Author: jeanclaudeT | Posted on: 7/30/2009 10:18:39 AM | Views : 554

Note: I am a novice in ASP.NET web services.


What I need to accomplish is this:
I need to create ASP.NET .asmx with one method that accept two parameters like this


ASP.NET code

[webmethod]
Boolean HashPwd(string userid, string pwd)
{
//some code here
return true/false;

}
I need to use a simple way to call web service from Coldfusion code. Maybe I could use SOAP like this or any other suggestions:

SOAP 1.2 The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /someName/serviceWebService.asmx HTTP/1.1
Host: localhost
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSch ...

Go to the complete details ...