-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Description
I am unable to parse the following WPS Execute XML with JSONIX, will try and investigate further:
<wps:Execute xmlns:wps="http://www.opengis.net/wps/1.0.0" version="1.0.0" service="WPS" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">JTS:buffer</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">geom</ows:Identifier>
<ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">geom</ows:Title>
<wps:Reference mimeType="text/xml; subtype=gml/3.1.1" xlink:href="http://geoserver/wps" xmlns:xlink="http://www.w3.org/1999/xlink" method="POST">
<wps:Body>
<wps:Execute version="1.0.0" service="WPS">
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">JTS:intersection</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">a</ows:Identifier>
<ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">a</ows:Title>
<wps:Data>
<wps:ComplexData mimeType="application/wkt">GEOMETRYCOLLECTION(LINESTRING(117 22,112 18,118 13,115 8))</wps:ComplexData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">b</ows:Identifier>
<ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">b</ows:Title>
<wps:Data>
<wps:ComplexData mimeType="application/wkt">POLYGON((110 20,120 20,120 10,110 10,110 20),(112 17,118 18,118 16,112 15,112 17))</wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="text/xml; subtype=gml/3.1.1">
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
</wps:Body>
</wps:Reference>
</wps:Input>
<wps:Input>
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">distance</ows:Identifier>
<ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">distance</ows:Title>
<wps:Data>
<wps:LiteralData>1</wps:LiteralData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">quadrantSegments</ows:Identifier>
<ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">quadrantSegments</ows:Title>
<wps:Data>
<wps:LiteralData></wps:LiteralData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">capStyle</ows:Identifier>
<ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">capStyle</ows:Title>
<wps:Data>
<wps:LiteralData></wps:LiteralData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="application/wkt">
<ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
Error occurs in:
unmarshalElement : function(context, input, callback) {
return callback(this.typeInfo.unmarshal(context, input));
},
where typeInfo has no functions or properties.
Metadata
Metadata
Assignees
Labels
No labels