Article View: adobe.designer
Article #15Problems calling an ASP.NET 2.0 web service using JavaScript
From: thfeldman67
Date: Mon, 28 Apr 2008 13:41
Date: Mon, 28 Apr 2008 13:41
19 lines
1850 bytes
1850 bytes
I have been trying to call an ASP.NET web service using JavaScript
code. It calls the web service - but does not pass ANY of the
parameters. It seems like this should be easy. Any ideas would be much
appreciated!!
I'll paste code for a simplified example using my EchoString web
method:
var cURL = the URL to my WSDL file;
var oService = SOAP.connect(cURL);
var oRequest = { EchoString: {value: "test"}};
var oResults = SOAP.request({
cURL: cURL,
oRequest: oRequest,
cAction: "http://mynamespace/EchoString",
bEncoded: false,
cNameSpace: "http://mynamespace",
cResponseStyle: SOAPMessageStyle.Message
});
Technical Details
Message-ID:
<737c7975-1a52-4a40-aa84-908d6aa1dabc@x35g2000hsb.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x35g2000hsb.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1eff42,5af2069587a06cc4,start X-Google-Attributes: gid1eff42,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x35g2000hsb.googlegroups.com!not-for-mail From: thfeldman67@gmail.com Newsgroups: adobe.designer Subject: Problems calling an ASP.NET 2.0 web service using JavaScript Date: Mon, 28 Apr 2008 06:41:32 -0700 (PDT) Organization: http://groups.google.com Lines: 19 Message-ID: <737c7975-1a52-4a40-aa84-908d6aa1dabc@x35g2000hsb.googlegroups.com> NNTP-Posting-Host: 72.37.171.52 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1209390102 29571 127.0.0.1 (28 Apr 2008 13:41:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 28 Apr 2008 13:41:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x35g2000hsb.googlegroups.com; posting-host=72.37.171.52; posting-account=2z6w5QoAAAAqoIlM0CIGWRKgGgy6sP7R User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)