Re: WSE2 to WSE3, what to do with the pipeline ?
- From: "DaveP" <dave.prout@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 Jan 2006 06:18:05 -0800
Yes, I have access to class EchoService and EchoServiceWse. EchoServiceWse
allows me to SetPolicy.
I don't understand why I can't see the source code for the classes, like
EchoService.cs and EchoServiceWse.cs.
The next step, I think, is to create a Policy file, and to name a policy, so
that I can do
EchoServiceWse.SetPolicy("myPolicy");
Do I use the Wse3 Tool to cfreate the policy xml file, or do it by hand ?
Thanks for your help
--
Regards
DaveP
UK
"Pablo Cibraro" wrote:
> Hi DaveP,
> That strange, you should have access to a class EchoServiceWse. Have you
> enabled WSE on that ASP.NET application ?.
>
> Regards,
> Pablo Cibraro
> http://weblogs.asp.net/cibrax
> http://www.lagash.com
>
> "DaveP" <dave.prout@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:C714CF81-811F-4856-82DC-460003F95A42@xxxxxxxxxxxxxxxx
> > So presumably this is a bug in VS2005 ? Not having access to a proxy a
> > class
> > is a big problem isn't it ?
> > --
> > Regards
> >
> > DaveP
> > UK
> >
> >
> >
> > "Pablo Cibraro" wrote:
> >
> >> Hi Dave,
> >> Yes, that's a problem. ASP.NET automatically creates the proxies for the
> >> web
> >> services. You will able to find two proxies for your service:
> >>
> >> 1. es.EchoService
> >> 2. es.EchoServiceWse (This is the proxy for WSE)
> >>
> >> It will be better if you create the proxy class using the tool
> >> WSEWsdl3.exe
> >>
> >> Regards,
> >> Pablo Cibraro
> >> http://weblogs.asp.net/cibrax
> >> http://www.lagash.com
> >>
> >> "DaveP" <dave.prout@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >> news:776566DC-6097-4B5E-B9E8-6365903F0A49@xxxxxxxxxxxxxxxx
> >> >I just get
> >> >
> >> > EchService.discomap and EchoService.wsdl
> >> >
> >> > how to I get the proxy class source code ?
> >> > --
> >> > Regards
> >> >
> >> > DaveP
> >> > UK
> >> >
> >> >
> >> >
> >> > "DaveP" wrote:
> >> >
> >> >> Pablo, I have a problem. I can't find the proxy class !
> >> >>
> >> >> My application is in VS2005, with the WSE3 tool and WSE3 turned on.
> >> >> When
> >> >> I
> >> >> want to create a proxy I do Add WebReference, then put in the WSDL,
> >> >> say
> >> >> http://localhost/EchService.asmx?WSDL. I call it es
> >> >>
> >> >> Then in my app I can say
> >> >>
> >> >> es.EchoService myService = new es.EchoService();
> >> >>
> >> >> But I can't find the proxy code. Also, I can't use SetPolicy as this
> >> >> does
> >> >> not appear as a property of myService. It looks like my WSE3
> >> >> implementation
> >> >> isnt complete. Can you suggest anything ?
> >> >> of myService
> >> >> --
> >> >> Regards
> >> >>
> >> >> DaveP
> >> >> UK
> >> >>
> >> >>
> >> >>
> >> >> "Pablo Cibraro" wrote:
> >> >>
> >> >> > Hi Dave,
> >> >> > I have written something regarding this topic in my weblog.
> >> >> >
> >> >> > http://weblogs.asp.net/cibrax/archive/2005/07/19/419921.aspx
> >> >> >
> >> >> > I hope this can help you.
> >> >> >
> >> >> > Regards,
> >> >> > Pablo Cibraro
> >> >> > http://weblogs.asp.net/cibrax
> >> >> > http://www.lagash.com
> >> >> >
> >> >> > "DaveP" <dave.prout@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >> >> > news:C73DE2D9-F20E-47F7-8094-DE765D73BF04@xxxxxxxxxxxxxxxx
> >> >> > > Hi,
> >> >> > >
> >> >> > > I'm converting an app from WSE2 to WSE3. The WSE2 app contains the
> >> >> > > following
> >> >> > > code for 4 different Web services;
> >> >> > >
> >> >> > > service.Pipeline.OutputFilters.Add(OutputFilter);
> >> >> > > service.Pipeline.InputFilters.Add(InputFilter);
> >> >> > >
> >> >> > > There is no service.Pipeline in WSE3. I've seen some info that
> >> >> > > says I
> >> >> > > should
> >> >> > > use a Policy Assertion. But is there a tutorial that will help me
> >> >> > > re-wrte
> >> >> > > this code ?
> >> >> > >
> >> >> > > --
> >> >> > > Regards
> >> >> > >
> >> >> > > DaveP
> >> >> > > UK
> >> >> > >
> >> >> >
> >> >> >
> >> >> >
> >>
> >>
> >>
>
>
>
.
- Follow-Ups:
- Re: WSE2 to WSE3, what to do with the pipeline ?
- From: Pablo Cibraro
- Re: WSE2 to WSE3, what to do with the pipeline ?
- References:
- Re: WSE2 to WSE3, what to do with the pipeline ?
- From: Pablo Cibraro
- Re: WSE2 to WSE3, what to do with the pipeline ?
- From: DaveP
- Re: WSE2 to WSE3, what to do with the pipeline ?
- From: Pablo Cibraro
- Re: WSE2 to WSE3, what to do with the pipeline ?
- From: DaveP
- Re: WSE2 to WSE3, what to do with the pipeline ?
- From: Pablo Cibraro
- Re: WSE2 to WSE3, what to do with the pipeline ?
- Prev by Date: Re: soap:Body not encrypted - wse 3.0
- Next by Date: Re: Convert TCP SoapService to HTTP
- Previous by thread: Re: WSE2 to WSE3, what to do with the pipeline ?
- Next by thread: Re: WSE2 to WSE3, what to do with the pipeline ?
- Index(es):
Relevant Pages
|