![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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) |
| | 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) |
| | 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![]() |
| | #4 (permalink) |
| | 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![]() |
| | #5 (permalink) |
| | 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![]() |
| | #6 (permalink) |
| | 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 | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Proxy? | Network & Sharing | |||
| how to work error interception | PowerShell | |||
| proxy | Vista account administration | |||