In addition to the datatypes described in Table 3-1, Web services supports java.sql.ResultSet and TabularResults.ResultSet, which maps to a complex schema element that contains the resultset data and the schema for the resultset:
For java.sql.ResultSet:
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="jdbc.wst.sybase.com"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <complexType name="DataReturn"> <sequence> <element name="XML" nillable="true" type="xsd:string" /> <element name="updateCount" type="xsd:int" /> <element name="DTD" nillable="true" type="xsd:string" /> <element name="schema" nillable="true" type="xsd:string" /> </sequence> </complexType> </schema> </wsdl:types>
For TabularResults.ResultSet:
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="TabularResults.wst.sybase.com"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <complexType name="DataReturn"> <sequence> <element name="XML" nillable="true" type="xsd:string" /> <element name="updateCount" type="xsd:int" /> <element name="DTD" nillable="true" type="xsd:string" /> <element name="schema" nillable="true" type="xsd:string" /> </sequence> </complexType> </schema> </wsdl:types>
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |