Question: I want to bind POSTed form values to parameters in my WCF operation in the same way that ASP.Net MVC allows me to do.

So, for example if my form has "customer.Name" and "customer.Age" parameters, I want to make a standard HTML POST to a named endpoint/operation that takes a customer parameter and have it instantiated and populated like MVC can do...

It looks like I can use WebInvoke and its UriTemplate property to map simple parameters - does anyone know if a more MVC-like model-binding way is possible?

Thanks, Mark.

Answer: 
Yes, but it will probably make the compiler complain about
a possible accidental assignment. A better practise is:

`while ((entry = inputStream.nextEntry )!=null) {}`
First week using Groovy and wanted to test this out. Thought I would share the test & results. Thanks for pointing this out.

```
def list = ['one', 'two', null, 'four']
def it = list.iterator()
def i
while (i = it.next()) {
    println i
}

Result: one
two

```