SOAP Request parameters not received by .Net web service

I have written a Web Service in VS.Net, but when I use the SOAP component to consume this service the parameters that I added to the SOAP request are not received in the web service.

Date Entered: 04/30/2007    Last Updated: 09/27/2007

This web service that you are trying to call, is it RPC or Document style?

If you're not sure, check the documentation of the service or if it is a .Net service that you have source code access for, check for the SoapRPCService and SoapRPCMethod attributes of the service and webmethods, or the SoapDocumentService and SoapDocumentMethod attributes of the service and webmethods.

If the service is Document style, make sure that no method namespace prefix is present (a method namespace prefix of "m" is used by default). To do this, use the MethodNamespacePrefix configuration setting in the code. For instance:

SOAP1.Method = "MyTest"
SOAP1.MethodURI = "  http://localhost/webservice/"
SOAP1.ActionURI = "  http://localhost/webservice/MyTest"
SOAP1.URL = "  http://localhost/WebService/test.asmx"
SOAP1.AddParam "x", "something"
SOAP1.Config "MethodNameSpaceprefix="
SOAP1.SendRequest

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.