![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | 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 |
My System Specs![]() |
| | #2 (permalink) |
| | 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 > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| network IO operations by process | VB Script | |||
| Operations of FormatNumber function | VB Script | |||
| Remote filesystem operations | PowerShell | |||
| File operations | Vista General | |||
| Elevated operations fail | Vista file management | |||