Multiple operations with same name (different in/out parameters)

Topics: Service Factory Modeling Edition Forum
Jun 10, 2008 at 6:57 AM
Edited Jun 10, 2008 at 6:58 AM
I want to create some operation with the same name but with different kind of input and output parameters. When I try to do this it says:

"All Operations on ServiceContract 'MyService' must have unique names that differ from the ServiceContract Name."

E.g. I want to create
GetData(int id)
GetData(string id)
GetData(bool id)
...

Can’t the modelling tool feel that I have different kind off response/request messages?
Developer
Jun 10, 2008 at 12:32 PM
This restriction is in conformance with Web Services Description Language (WSDL) 1.1 (http://www.w3.org/TR/wsdl)
Read , http://www.w3.org/TR/wsdl#_porttypes