IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

AddParam Method

Adds a parameter-value pair.

Syntax

[VB.NET]
Public Sub AddParam(ByVal ParamName As String, ByVal ParamValue As String)
[C#]
public void AddParam(string paramName, string paramValue);

Remarks

Please refer to the parameter name and value provided in the Params collection for more information on SOAP parameters and how they are managed.

Example (Send SOAP Request)


SOAPControl.Reset()
SOAPControl.AddParam("paramname", "paramvalue")
SOAPControl.AddParam("paramname", "paramvalue")
SOAPControl.MethodURI = "methoduri"
SOAPControl.Method = "methodname"
SOAPControl.URL = "endpointURL"
SOAPControl.SendRequest()
Example (Send SOAP Request using Params collection)
SOAPControl.Reset()
SOAPControl.Params.Add(New SOAPParam("paramname", "paramvalue"))
SOAPControl.Params.Add(New SOAPParam("paramname", "paramvalue"))
SOAPControl.MethodURI = "methoduri"
SOAPControl.Method = "methodname"
SOAPControl.URL = "endpointURL"
SOAPControl.SendRequest()

NOTE: This method has a corresponding asynchronous version (AddParamAsync) for use in the WinRT environment.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0