Returning Information from Service Contracts

Mar 4, 2008 at 4:53 PM
Is there a way to specify how we want the function signature to look when we have multiple values returned?

Ex. I have a MessageResponse message with 2 parts, a primitive (bool) and a data contract. Right now it will generate the signature as:

bool foo(var1, var2, out DataContractHere)

but I want:

DataContractHere foo(var1, var2, out bool)

I tried changing the order in MessageResponse but I still can't get the 2nd signature.

Mar 4, 2008 at 6:31 PM
Are you talking about the client proxy type? If that the case, then you may have the method you are looking for but it may be used by the other overload (bool foo(...)).
If you still can't find that overload, you may also try generating the proxy using svcutil.exe tool.