HuyPV
Saturday, October 3, 2009
<xsd:complexType name="channel">
<xsd:sequence>
<xsd:element name="channelId" type="xsd:int"></xsd:element>
<xsd:element minOccurs="0" name="channelPrice" type="xsd:int"></xsd:element>
<xsd:element name="channelName" type="xsd:string"></xsd:element>
<xsd:element minOccurs="0" name="channelThumbnail" type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="array_channel">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="channel" type="tns:channel"/>
</xsd:sequence>
</xsd:complexType>
$channel = array(
'channelId' => 1,
'channelPrice' => 50000,
'channelName' => 'HBO',
);
$channel2 = array(
'channelId' => 1,
'channelPrice' => 50000,
'channelName' => 'HBO',
);
$array_channel = array(
$channel,
$channel2
);
Title:
Define complex type for web service
Description:
<xsd:complexType name="channel"> <xsd:sequence> <xsd:element name="channelId" type="xsd:...
...
Rating:
4