C# WebClient在http“web服务”上使用WebSphere MQ公开队列

C# WebClient在http“web服务”上使用WebSphere MQ公开队列,c#,asp.net,xml,C#,Asp.net,Xml,我需要使用http url中公开的MQ队列。这是调用的方式: http://www.example.com/InquCustomers?<data><id>12345</id></data> 例如: string su = "http://www.example.com/InquCustomers?"; string data = "<data><id>12345</id></data>";

我需要使用http url中公开的MQ队列。这是调用的方式:

http://www.example.com/InquCustomers?<data><id>12345</id></data>
例如:

 string su = "http://www.example.com/InquCustomers?";
 string data = "<data><id>12345</id></data>";
 string res = string.Empty;
 using (System.Net.WebClient wc = new System.Net.WebClient())
 {
     res = wc.DownloadString(su + data);
     //also res = wc.DownloadString(new Uri(su+data));
 }
有没有一种方法可以关闭自动转义功能,或者从我的应用程序中将该URL作为IE浏览器调用?我也不能触摸MQ方法

 string su = "http://www.example.com/InquCustomers?";
 string data = "<data><id>12345</id></data>";
 string res = string.Empty;
 using (System.Net.WebClient wc = new System.Net.WebClient())
 {
     res = wc.DownloadString(su + data);
     //also res = wc.DownloadString(new Uri(su+data));
 }