I have a WSDL file.
I need to perform a request with 2 parameters of Custom type, and get the response.
I have added a Service Reference in my client application like so:
using WSDLCall.wsdlReference;
After which proxy has been generated.
getCustomerData custInfo = new getCustomerData();
here, getCustomerData
is a class, which is having 2 custom type parameters.
I need to assign value to those params and get response.
my wsdl schema:
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.9.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://someurl" +
"gement/v1")]
public partial class GetCustomerData : object, System.ComponentModel.INotifyPropertyChanged {
private CustID custAccIDField;
private OtherOrgId1 idField;
///
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public CustID custAccID {
get {
return this.custAccIDField;
}
set {
this.custAccIDField = value;
this.PropertyChanged("custAccID");
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public OtherOrgId1 id {
get {
return this.idField;
}
set {
this.idField = value;
this.PropertyChanged("id");
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void PropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}