X-Arrays SOAP and XMM

Hi. We are using EntireX 8.0.1. We want access to a web service.
We have a wsdl file that describes two groups, “attori” and “titoli”:

<xs:complexType name="attori">
  <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="attore" type="xs:string"/>
  </xs:sequence>
</xs:complexType>
<xs:complexType name="titoli">
  <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="titolo" type="titolo"/>
  </xs:sequence>
</xs:complexType>
<xs:complexType name="titolo">
  <xs:sequence>
    <xs:element minOccurs="0" name="nome" type="xs:string"/>
    <xs:element minOccurs="0" name="paese" type="xs:string"/>
  </xs:sequence>
</xs:complexType>

Graphical representations are in “Attori and Titoli.gif”.
We create an idl file and we obtain


2 attori 	
  3 attore 	  (AV/V)
2 titoli 	
  3 titolo 	  (/V)
     4 nome 	  (AV)
     4 paese 	  (AV)

The group “titoli” is right for us but for “attori” we think that we will obtain

<attori>
   <attore>...</attore>
   <attore>...</attore>
   ...
</attori>

while the result is

<attori>
   <attore>
       <string>...</string>
   </attore>
   <attore>
       <string>...</string>
   </attore>
   ...
</attori>

If we change “attore” node, see “Created and Modified Attore.gif”, and if we delete “string” node then we have the desired result.
Can we obtain that in automatic way when we create an xmm file (see “Desired and Obtained XMM.jpg”)?
Thanks.



You cannot influence the result of the WSDL to IDL extraction. You have to use the XML Mapping Editor to do the necessary changes.

Ok.
Thanks for your response.