SOAP/WSDL XSD Schema Question
| From: | Atanas Vasilev | Date: | Thu, 26 Aug 2004 12:13:03 +0000 |
| Subject: | SOAP/WSDL XSD Schema Question | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1602@lists.php.net to get a copy of this message | ||
Hello guys,
I'm having a hard time figuring out the schema for an array of objects that
should be later passed to/from the web service.
--------------------
<types>
<xsd:schema targetNamespace="http://example.com/example"
xmlns="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="Obj">
<xsd:element name="property1" type="xsd:String" />
<xsd:element name="property2" type="int" />
<xsd:element name="property3" type="int" />
<xsd:element name="property4" type="int" />
</xsd:complexType>
</types>
<message name='nameOfObject'>
<part name='symbol' type='xsd:Obj'/>
</message>
--------------------------
This would be great for passing an object, but what should be the way to
describe an array of objects?
Thanks!