Ajay

Ajay

  • NA
  • 52
  • 84.4k

Unable to set the proxy object

Jul 26 2012 9:34 AM
hi,

 There is one soap based normal webservice, in client system i just added as a web reference and through proxy i am invoking the web methods like

  MyWebservice objWebSer= new MyWebservice();
  WebProxy myproxy = new WebProxy(strProxyUrl, iPort);
  objWebSer.proxy = myproxy;
  objWebSer.GetDetails();  --- This is the way i am getting the data.


Now in client system I have added as wcf reference with the same web service. 
  MyWebservice objWebSerClient= new MyWebservice();
here i am unable set the proxy details to my wcf service object.

Can any one please help me, thanks in advance.