🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by thfeldman67 Mon, 28 Apr 2008 13:41
Problems calling an ASP.NET 2.0 web service using JavaScript
#15
Author: thfeldman67
Date: Mon, 28 Apr 2008 13:41
19 lines
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
});
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads