![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Proxy interception via DispatchOperation On the service side I have the IOperationInvoker interface to intercept the invoke procedure (used via DispatchOperation) Is there a way to override the invoker on the proxy side? Best Regards, Ido Samuelson Senior consultant Advantech (Magen MTC) mailto:idos@magen.com |
My System Specs![]() |
| | #2 (permalink) |
| Guest | RE: Proxy interception via DispatchOperation I would say that it depends what you're trying to do. Try using ProxyOperation.ParameterInspector or ProxyOperation.OperationFormatter. Both give you so much control that you should be able to do what you want to do. If you want to manipulate a duplex callback on the proxy, then ProxyBehavior.DuplexCallbackDispatchBehavior.OperationInvoker will allow you to do that. Hope this helps, Ralph "Ido Samuelson" wrote: > > On the service side I have the IOperationInvoker interface to intercept the > invoke procedure (used via DispatchOperation) > Is there a way to override the invoker on the proxy side? > > Best Regards, > > Ido Samuelson > Senior consultant > Advantech (Magen MTC) > mailto:idos@magen.com > > > |
My System Specs![]() |
| | #3 (permalink) |
| Guest | RE: Proxy interception via DispatchOperation Hello Ralph, Thanks!, I will look into it today. Best Regards, Ido Samuelson Senior consultant Advantech (Magen MTC) mailto:idos@magen.com > I would say that it depends what you're trying to do. Try using > ProxyOperation.ParameterInspector or > ProxyOperation.OperationFormatter. Both give you so much control that > you should be able to do what you want to do. If you want to > manipulate a duplex callback on the proxy, then > ProxyBehavior.DuplexCallbackDispatchBehavior.OperationInvoker will > allow you to do that. > > Hope this helps, Ralph > > "Ido Samuelson" wrote: > >> On the service side I have the IOperationInvoker interface to >> intercept the >> invoke procedure (used via DispatchOperation) >> Is there a way to override the invoker on the proxy side? >> Best Regards, >> >> Ido Samuelson >> Senior consultant >> Advantech (Magen MTC) >> mailto:idos@magen.com |
My System Specs![]() |
| | #4 (permalink) |
| Guest | RE: Proxy interception via DispatchOperation Update: There is no direct parallel to IOperationInvoker on the proxy UNLESS you're doing duplex, in which case you can extract that from the ProxyBehavior.CallbackContractDispatchBehavior (IIRC). I'll be curious to hear whether those other extension points acheive your goals or not. Cheers, Ralph "Ido Samuelson" wrote: > Hello Ralph, > > Thanks!, I will look into it today. > > Best Regards, > > Ido Samuelson > Senior consultant > Advantech (Magen MTC) > mailto:idos@magen.com > > > I would say that it depends what you're trying to do. Try using > > ProxyOperation.ParameterInspector or > > ProxyOperation.OperationFormatter. Both give you so much control that > > you should be able to do what you want to do. If you want to > > manipulate a duplex callback on the proxy, then > > ProxyBehavior.DuplexCallbackDispatchBehavior.OperationInvoker will > > allow you to do that. > > > > Hope this helps, Ralph > > > > "Ido Samuelson" wrote: > > > >> On the service side I have the IOperationInvoker interface to > >> intercept the > >> invoke procedure (used via DispatchOperation) > >> Is there a way to override the invoker on the proxy side? > >> Best Regards, > >> > >> Ido Samuelson > >> Senior consultant > >> Advantech (Magen MTC) > >> mailto:idos@magen.com > > > |
My System Specs![]() |
| | #5 (permalink) |
| Guest | RE: Proxy interception via DispatchOperation Hello Ralph, This I knew, however the Invoker on a duplex channel is for invoking the callback methods. Not exactly what I am after. Best Regards, Ido Samuelson Senior consultant Advantech (Magen MTC) mailto:idos@magen.com > Update: There is no direct parallel to IOperationInvoker on the proxy > UNLESS you're doing duplex, in which case you can extract that from > the ProxyBehavior.CallbackContractDispatchBehavior (IIRC). I'll be > curious to hear whether those other extension points acheive your > goals or not. > > Cheers, Ralph > > "Ido Samuelson" wrote: > >> Hello Ralph, >> >> Thanks!, I will look into it today. >> >> Best Regards, >> >> Ido Samuelson >> Senior consultant >> Advantech (Magen MTC) >> mailto:idos@magen.com >>> I would say that it depends what you're trying to do. Try using >>> ProxyOperation.ParameterInspector or >>> ProxyOperation.OperationFormatter. Both give you so much control >>> that you should be able to do what you want to do. If you want to >>> manipulate a duplex callback on the proxy, then >>> ProxyBehavior.DuplexCallbackDispatchBehavior.OperationInvoker will >>> allow you to do that. >>> >>> Hope this helps, Ralph >>> >>> "Ido Samuelson" wrote: >>> >>>> On the service side I have the IOperationInvoker interface to >>>> intercept the >>>> invoke procedure (used via DispatchOperation) >>>> Is there a way to override the invoker on the proxy side? >>>> Best Regards, >>>> Ido Samuelson >>>> Senior consultant >>>> Advantech (Magen MTC) >>>> mailto:idos@magen.com |
My System Specs![]() |
| | #6 (permalink) |
| Guest | RE: Proxy interception via DispatchOperation So, what ARE you after? There is no exact equivalent to the operation invoker on the service. What do you use it for? Why do you need that exact functionality? I'd like to know whether there's a better way or whether we might do something to help you get your work done. Cheers, Ralph "Ido Samuelson" wrote: > Hello Ralph, > > This I knew, however the Invoker on a duplex channel is for invoking the > callback methods. Not exactly what I am after. > > Best Regards, > > Ido Samuelson > Senior consultant > Advantech (Magen MTC) > mailto:idos@magen.com > > > Update: There is no direct parallel to IOperationInvoker on the proxy > > UNLESS you're doing duplex, in which case you can extract that from > > the ProxyBehavior.CallbackContractDispatchBehavior (IIRC). I'll be > > curious to hear whether those other extension points acheive your > > goals or not. > > > > Cheers, Ralph > > > > "Ido Samuelson" wrote: > > > >> Hello Ralph, > >> > >> Thanks!, I will look into it today. > >> > >> Best Regards, > >> > >> Ido Samuelson > >> Senior consultant > >> Advantech (Magen MTC) > >> mailto:idos@magen.com > >>> I would say that it depends what you're trying to do. Try using > >>> ProxyOperation.ParameterInspector or > >>> ProxyOperation.OperationFormatter. Both give you so much control > >>> that you should be able to do what you want to do. If you want to > >>> manipulate a duplex callback on the proxy, then > >>> ProxyBehavior.DuplexCallbackDispatchBehavior.OperationInvoker will > >>> allow you to do that. > >>> > >>> Hope this helps, Ralph > >>> > >>> "Ido Samuelson" wrote: > >>> > >>>> On the service side I have the IOperationInvoker interface to > >>>> intercept the > >>>> invoke procedure (used via DispatchOperation) > >>>> Is there a way to override the invoker on the proxy side? > >>>> Best Regards, > >>>> Ido Samuelson > >>>> Senior consultant > >>>> Advantech (Magen MTC) > >>>> mailto:idos@magen.com > > > |
My System Specs![]() |
| | #7 (permalink) |
| Guest | RE: Proxy interception via DispatchOperation Hello Ralph, I wanted to intercept the call itself in order to implement client side caching behavior. By doing so, I will be able to intercept the proxy call and return immediatly with a cache result. without crossing process boudaries. Best Regards, Ido Samuelson Senior consultant Advantech (Magen MTC) mailto:idos@magen.com > So, what ARE you after? There is no exact equivalent to the operation > invoker on the service. What do you use it for? Why do you need that > exact functionality? I'd like to know whether there's a better way or > whether we might do something to help you get your work done. > > Cheers, Ralph > > "Ido Samuelson" wrote: > >> Hello Ralph, >> >> This I knew, however the Invoker on a duplex channel is for invoking >> the callback methods. Not exactly what I am after. >> >> Best Regards, >> >> Ido Samuelson >> Senior consultant >> Advantech (Magen MTC) >> mailto:idos@magen.com >>> Update: There is no direct parallel to IOperationInvoker on the >>> proxy UNLESS you're doing duplex, in which case you can extract that >>> from the ProxyBehavior.CallbackContractDispatchBehavior (IIRC). I'll >>> be curious to hear whether those other extension points acheive your >>> goals or not. >>> >>> Cheers, Ralph >>> >>> "Ido Samuelson" wrote: >>> >>>> Hello Ralph, >>>> >>>> Thanks!, I will look into it today. >>>> >>>> Best Regards, >>>> >>>> Ido Samuelson >>>> Senior consultant >>>> Advantech (Magen MTC) >>>> mailto:idos@magen.com >>>>> I would say that it depends what you're trying to do. Try using >>>>> ProxyOperation.ParameterInspector or >>>>> ProxyOperation.OperationFormatter. Both give you so much control >>>>> that you should be able to do what you want to do. If you want to >>>>> manipulate a duplex callback on the proxy, then >>>>> ProxyBehavior.DuplexCallbackDispatchBehavior.OperationInvoker will >>>>> allow you to do that. >>>>> >>>>> Hope this helps, Ralph >>>>> >>>>> "Ido Samuelson" wrote: >>>>> >>>>>> On the service side I have the IOperationInvoker interface to >>>>>> intercept the >>>>>> invoke procedure (used via DispatchOperation) >>>>>> Is there a way to override the invoker on the proxy side? >>>>>> Best Regards, >>>>>> Ido Samuelson >>>>>> Senior consultant >>>>>> Advantech (Magen MTC) >>>>>> mailto:idos@magen.com |
My System Specs![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: IE proxy setting and VPN | Robert Aldwinckle | Vista networking & sharing | 0 | 08-14-2007 09:06 AM |
| IE Proxy keeps changing | Simon Says | Vista security | 1 | 03-01-2007 11:48 PM |
| Proxy Authentication | LStinger | Vista networking & sharing | 1 | 02-26-2007 01:28 PM |
| proxy | Simla | Vista account administration | 0 | 02-06-2007 06:29 AM |