If you just need to work with the proxy, you can use the Invoking event and cast the proxy on the eventargs to your proxy type and then set properties on it.
If you want to interact with the AddWebReference dialog, the easiest way is to create a custom toolbox item and in the CreateComponentCore method, get the IExtendedUIService from the IDesignerHost passed in (call GetService). Then you can call the AddWebReference method on the IExtendedUIService instance to invoke the dialog. This will give you both the URI and the generated proxy class type as output parameters.
Matt
See What You Can Learn -- http://www.pluralsight.com/courses/IntroducingWF.aspx |