RE: Using dynamic url changes generated proxy
From: Lguger (Lguger_at_discussions.microsoft.com)
Date: 09/20/04
- Next message: Mike: "Authentication/Authorization in WS-Security"
- Previous message: Paul: "RE: Calling WSE 2.0 Secured Web Service from Another"
- In reply to: lguger: "RE: Using dynamic url changes generated proxy"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Sep 2004 14:31:03 -0700
The solution, as it turns out, was to simply update the web reference in the
project after cahnging the url to dynamic and the WSE classes were back. So
simple... <sigh>
"lguger" wrote:
> To clarify:
>
> I am changing the URL behaviour on the web reference properties from within
> Visual Studio's Solution Explorer and not actually touching the code. After
> the property is changed in solution explorer Studio regenerates the code and
> the newly generated code no longer contains the wse specific class.
>
> Larry
>
> "Dominick Baier" wrote:
>
> > a general advice:
> >
> > leave the generated classes untouched. if you want to customize the proxy in any way, inherit from the proxy and to your customisation there.
> >
> > use the inherited class in your app to call the webservice.
> >
> > in this way you can modify the proxy behaviour (e.g. reading some values from config files,add properties...) and can always regenerate the web proxy without loosing your changes...
> >
> >
> >
> > ---
> > Dominick Baier - DevelopMentor
> > http://www.leastprivilege.com
> >
> > nntp://news.microsoft.com/microsoft.public.dotnet.framework.webservices.enhancements/<58965B43-293D-4119-B948-1EA0D13FBEAA@microsoft.com>
> >
> > I am using WSE 2.0 sp1 and have several web-references to webservices in my
> > project. Using the web-reference property pages I changed the URL behaviour
> > from static to dynamic and now the classes that end with wse are no longer
> > generated.
> >
> > I am using Visual Studio .NET 2003 and running XP Pro SP1.
> >
> > Has anyone run across this problem? Better yet does anyone have a solution?
> >
> > Larry
> > larry dot guger at online dash can dot com.
> >
> > [microsoft.public.dotnet.framework.webservices.enhancements]
> >
- Next message: Mike: "Authentication/Authorization in WS-Security"
- Previous message: Paul: "RE: Calling WSE 2.0 Secured Web Service from Another"
- In reply to: lguger: "RE: Using dynamic url changes generated proxy"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|