![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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 | ErrorCannot have two operations Hello misters, I have a WCF service and I'm newbie about it. I have a Contract class with several methods. when I execute my application web that calls WCF service, it appears the following error: Cannot have two operations in the same contract with the same name, methods ObtenerValoracion and ObtenerValoracion in type TINSA.WCF.Valoraciones.Contrato.IValoracion violate this rule. You can change the name of one of the operations by changing the method name or by using the Name property of OperationContractAttribute. Any help about my trouble ? Thanks in advanced, any help will be appreciated and I'll be very grateful Regards. -- http://www.alhambra-eidos.es/web2005/index.html www.kiquenet.net |
| | #2 (permalink) |
| Guest | Re: ErrorCannot have two operations Change second method with name "ObtenerValoracion" to something else e.g. ObtenerValoracion2 Arkady "Alhambra Eidos Kiquenet" <AlhambraEidosKiquenet@discussions.microsoft.com> wrote in message news:4696E43D-9383-44BD-A811-9919A08FA7C4@microsoft.com... > Hello misters, > > I have a WCF service and I'm newbie about it. > > I have a Contract class with several methods. > > when I execute my application web that calls WCF service, it appears the > following error: > > Cannot have two operations in the same contract with the same name, > methods > ObtenerValoracion and ObtenerValoracion in type > TINSA.WCF.Valoraciones.Contrato.IValoracion violate this rule. You can > change > the name of one of the operations by changing the method name or by using > the > Name property of OperationContractAttribute. > > Any help about my trouble ? Thanks in advanced, any help will be > appreciated > and I'll be very grateful > > Regards. > > > -- > http://www.alhambra-eidos.es/web2005/index.html > www.kiquenet.net > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remote filesystem operations | Bushman | PowerShell | 3 | 02-20-2008 08:39 AM |
| Authorizing Powershell Operations | Joris van Lier | PowerShell | 4 | 05-23-2007 03:24 PM |
| Authorizing operations in PowerShell | Joris van Lier | PowerShell | 2 | 03-31-2007 10:23 AM |
| File operations | Johnny | Vista General | 1 | 02-28-2007 08:41 AM |
| Elevated operations fail | Hansjörg Reister | Vista file management | 1 | 05-15-2006 12:30 AM |