I have a SOAP node, that retrieve information from a URL in a tree structure.

Then i have a compute node to define each environment variable to each namespace variable of the SOAP retrieve.

And finally, i have a mapping node, to move the content to my message assembly structure in XML.

The error its giving me it's this (IN THE COMPUTE NODE):

I have a structure like this:

ListDocs

```
Description
DocType
ListTypes
 Attribute
 Lenght
 Description
 Nature
 Required

```

ListDocs

```
Description
DocType
ListTypes
 Attribute
 Lenght
 Description
 Nature
 Required

```

ListDocs

```
Description
DocType
ListTypes
 Attribute
 Lenght
 Description
 Nature
 Required

```

The problem is that, when i do the definition of the variables, I do it like the code below, in the COMPUTE NODE:

```
WHILE I < InputRoot.SOAP.Body.ns:obterTiposDocProcessosResponse.ns:return.ns75:processo.ns75:listaTiposDocumentos  
DO

  SET Environment.Variables.XMLMessage.return.process.listDocs.description = InputRoot.SOAP.Body.ns75:processo.ns75:listDocs.ns75:description;

  SET Environment.Variables.XMLMessage.return.process.listDocs.tipoDocumento = InputRoot.SOAP.Body.ns75:processo.ns75:listDocs.ns75:DocType;

  SET Environment.Variables.XMLMessage.return.process.listDocs.listTypes.attribute = InputRoot.SOAP.Body.ns75:processo.ns75:listDocs.ns75:listTypes.ns75:atribbute;

  SET Environment.Variables.XMLMessage.return.process.listDocs.listTypes.lenght = InputRoot.SOAP.Body.ns75:processo.ns75:listDocs.ns75:listTypes.ns75:lenght;

  SET Environment.Variables.XMLMessage.return.process.listDocs.listTypes.description = InputRoot.SOAP.Body.ns75:processo.ns75:listDocs.ns75:listTypes.ns75:description;

  SET Environment.Variables.XMLMessage.return.process.listDocs.listTypes.nature = InputRoot.SOAP.Body.ns75:processo.ns75:listDocs.ns75:listTypes.ns75:nature;

  SET Environment.Variables.XMLMessage.return.process.listDocs.listTypes.required = InputRoot.SOAP.Body.ns75:processo.ns75:listDocs.ns75:listTypes.ns75:required;    

  SET I = I+1;

END WHILE;

```

BUT, in my XML final structure, it only prints the values of my first listDocs, and i want to print all of my listDocs structures.

NOTE: WITH THE WHILE LIKE THIS, IT DOESN'T EVEN WORK. I HAVE TO REMOVE THE WHILE TO PRINT THE FIRST listDocs like i said Above.

Any help?

I NEED HELP TO LOOP THE STRUCTURES, WITH A WHILE OR SOMETHING.