tags:

views:

23

answers:

1

Hi there,

It seems there is restriction in having the number of out parameters in WCF. My service reference only downloads one out parameter.

Example: if the service has the following method:

void methodA(out string param1, out string param2)

then the service reference will only create

methodA(out string param1).

Anyone knows how to solve this?

+1  A: 

Not sure of a correct fix, but I would return a list of items and not use out parameters in this situation.

Preet Sangha
yeah.. that could be one solution. for time being it is working fine for "ref" parameter. What a shame that WCF limits only one out parameter.
I wonder if this is a WSDL limit that WCF has to work within
Preet Sangha