![enter image description here][1]i'm new to soap, i used wsdl tool to download the .cs file of the web service buh i two issues:
1. i received this error most of the time i tried to make call to the service
that: " Unable to automatically step into the server. Connecting to the server
machine 'stageserv.interswitchng.com' failed. The Microsoft Visual
Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear
to be running on the remote computer. This may be because a firewall
is preventing communication to the remote computer. Please see Help
for assistance on configuring remote debugging."
2nd question: there is a method that i need to use that has parameter of :
public string GetItems([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string xmlParams) {
object[] results = this.Invoke("GetItems", new object[] {
xmlParams});
return ((string)(results[0]));
}
(code from the downloaded web service file(.cs))
When i used SoupUi software to send request to this method:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:quic="http://services.subhub.com/myservice/">
<soapenv:Header/>
<soapenv:Body>
<quic:GetItems>
<quic:xmlParams>
<![CDATA[</quic:xmlParams>
</quic:GetItems>
</soapenv:Body>
</soapenv:Envelope>
it gives a normal xml result buh when i'm using C# to make the call in my code:
string o = "<Id>1</Id>";
var response1 = soapClient.GetItems(o);
var response2 = soapClient.GetItems(@"<![CDATA[<SearchCriteria> <BillerId>1</BillerId></SearchCriteria>]]>");
trying to know the exact form of parameter the method takes that is what i tested in the two variables, the first one gives a respone" invalide:1 "
the second one gives "invalid xml parameters"