Esempio n. 1
0
        public XmlNodeList makeSoapCall(string payload)
        {
            // Instantiate a new instance of class to call MCI service.
            SoapConnector soapConnector = new SoapConnector(_endpoint);

            // Get XML response from MCI service.
            XmlDocument SoapRespone          = soapConnector.makeCall(payload);
            XmlNodeList searchResponsePerson = SoapRespone.GetElementsByTagName("SearchResponsePerson");

            // Serialize response as JSON.
            return(searchResponsePerson);
        }
Esempio n. 2
0
 public TPConnectorMock(int endpoint, Dictionary <string, string> headers, SoapConnector soapClient) : base(endpoint, headers)
 {
     this.soapClient = soapClient;
 }