Witam,

Stworzyłem sobie połącznie soap i jako odpowiedź chcę wysłać tablice obiektów danej klasy.

W wsdl mam:
  1.      <complexType name="Domain">
  2.        <xsd:all>
  3.              <xsd:element name="id" type="xsd:int"/>
  4.              <xsd:element name="user_id" type="xsd:int"/>
  5.              <xsd:element name="name" type="xsd:string"/>
  6.        </xsd:all>
  7.      </complexType>
  8.      <xsd:complexType name="DomainArray">
  9.            <xsd:complexContent>
  10.                  <xsd:restriction base="SOAP-ENC:Array">
  11.                        <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:Domain[]"/>
  12.                  </xsd:restriction>
  13.            </xsd:complexContent>
  14.        </xsd:complexType>
  15.  
  16. [...]
  17.  <message name="Domain_addResponse">
  18.    <part name="return" type="tns:DomainArray"/>
  19.  </message>


Jak to odczytać po stronie klienta? Tak, żeby nadal to była ta sama tablica?