Try 'For each item number in array, the following process is observed...For Each i As String In ItemData 'Post XML to web servicepost = "<XMLFORMPOST><REQUEST>availability</REQUEST><LOGIN><USERID>" _& userid & "</USERID><PASSWORD>" & pass & "</PASSWORD></LOGIN><PARTNUM>" _& i & "</PARTNUM></XMLFORMPOST>" 'retreive txt/xml response & pass to appropriate functionResponse = EasyHttp.Send(xmlurl, post, HTTPMethod.HTTP_POST, "text/xml") Next Catch SocketEx As System.Net.Sockets.SocketException 'Socket Exception handler goes here Catch SockeetEx As Exception Throw ExEnd Try