Hi all,
I'm running a php5 based web service which contains the following complex type among others:
<xsd:complexType name="FrequencyList">
<xsd:sequence>
<xsd:element name="F" type="xsd:float" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
Note: F reads Frequencies, I've just chopped it for readability.
Obviously the there are two aspects of this. It containts data i.e. > 0 occurances or it simply does not contain data at all.
Now, if i return this type with data in it everything works well:
<FrequencyDistribution>
<Frequencies>0.28571428571429</Frequencies>
<Frequencies>0.71428571428571</Frequencies>
</FrequencyDistribution>
Stange one comes up when there are no distributions:
<FrequencyDistribution href="#ref1"/>
Is there a way to tell PHP / WSDL to simply return?
<FrequencyDistribution />
I'm askink this because my soapUI tests as well as my java based client application can't use the actual return value properly.
Any ideas would be highly appreciated!
thanks
K