[kepler-users] Kepler/WSDL multi-dimensional array
Roly Poly
rolypoly at gmail.com
Mon Jul 12 11:38:26 PDT 2010
Hi,
I am a new user of Kepler. We have a set of 2-dimensional data that served
by a PHP SOAP server. The format of the data is like:
Time outTemperate inTemperate
123 91.1 71.8
124 92.2 72.5
The WSDL's data format is defined as:
<xsd:complexType name="RecordType">
<xsd:sequence>
<xsd:element name="values" type="xsd:float" minOccurs="0"
maxOccurs="unbounded">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfRecords">
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded"
type="tns:RecordType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
A web service function outputs data of the type ArrayOfRecords defined in
this WSDL.
I tried to WsWithComplexType in Kepler. When I directly hook up the output
the the display, the output is like:
{<?xml version="1.0"?><item xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns2:RecordType1"><values
xsi:type="xsd:float">1277823600</values><values
xsi:type="xsd:float">86.400002</values><values
xsi:type="xsd:float">73.800003</values></item>, <?xml version="1.0"?><item
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns2:RecordType1"><values
xsi:type="xsd:float">1277823900</values><values
xsi:type="xsd:float">86.5</values><values
xsi:type="xsd:float">74</values></item>, .....}
I can use arrayToSequence actor to split those xml tokens to sequnce. But I
do not know how to convert them to arrays. I tried xml disassembler but no
success.
Could anyone give me a suggestion on how to let WSDL and Kepler handler the
multi-dimensional arrays?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20100712/ca00c964/attachment.html>
More information about the Kepler-users
mailing list