Add Smart WCF reference?

Topics: CAB & Smart Client Software Factory
Oct 11, 2006 at 2:17 AM
originally posted by: Merovinjn

Hi,
SCSF right now supports "Add smart Web reference". I have a need to consume a WCF service so i would need something like "Add Smart WCF reference". Any pointers about the same? Kindly let me know.......

Thanks for your time
Oct 11, 2006 at 11:24 PM
originally posted by: surajguptha

I checked out the Guidance Package for SCSF and noticed the following lines

ProjectItem webReferenceItem = ((VSProject2)project.Object).AddWebReference(_webServiceUrl);
webReferenceItem.Name = _serviceName;
return webReferenceItem;

I guess if we could get ((VSProject2)project.Object).AddServiceReference method we will be able to achieve the proxy generation for WCF services

But even after installing the Visual Studio Extensions for WCF which adds a "Add Service Reference" option to IDE, i am still unable to get a AddServiceReference method in the VSProject2 interface