日期:2014-05-20  浏览次数:20721 次

AXIS2 如何操作net web service 返回的dataset类型
AXIS2 如何操作net web service 返回的dataset类型,用wsdl2java可以直接生成能够解析dataset的客户端吗
wsdl文件如下
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
- <s:element name="FCTC_QueryByID">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="0" maxOccurs="1" name="Skey" type="s:string" /> 
  <s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" /> 
  <s:element minOccurs="0" maxOccurs="1" name="ID" type="s:string" /> 
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:element name="FCTC_QueryByIDResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="FCTC_QueryByIDResult">
- <s:complexType>
- <s:sequence>
  <s:element ref="s:schema" /> 
  <s:any /> 
  </s:sequence>
  </s:complexType>
  </s:element>
  </s:sequence>
  </s:complexType>
  </s:element>
  <s:element name="string" nillable="true" type="s:string" /> 
- <s:element name="DataSet" nillable="true">
- <s:complexType>
- <s:sequence>
  <s:element ref="s:schema" /> 
  <s:any /> 
  </s:sequence>
  </s:complexType>
  </s:element>
  </s:schema>
  </wsdl:types>
- <wsdl:message name="FCTC_QueryByIDSoapIn">
  <wsdl:part name="parameters" element="tns:FCTC_QueryByID" /> 
  </wsdl:message>
- <wsdl:message name="FCTC_QueryByIDSoapOut">
  <wsdl:part name="parameters" element="tns:FCTC_QueryByIDResponse" /> 
  </wsdl:message>
- <wsdl:message name="FCTC_QueryByIDHttpGetIn">
  <wsdl:part name="Skey" type="s:string" /> 
  <wsdl:part name="Type" type="s:string" /> 
  <wsdl:part name="ID" type="s:string" /> 
  </wsdl:message>
- <wsdl:message name="FCTC_QueryByIDHttpGetOut">
  <wsdl:part name="Body" element="tns:DataSet" /> 
  </wsdl:message>

- <wsdl:message name="FCTC_QueryByIDHttpPostIn">
  <wsdl:part name="Skey" type="s:string" /> 
  <wsdl:part name="Type" type="s:string" /> 
  <wsdl:part name="ID" type="s:string" /> 
  </wsdl:message>
- <wsdl:message name="FCTC_QueryByIDHttpPostOut">
  <wsdl:part name="Body" element="tns:DataSet" /> 
  </wsdl:message>
- <wsdl:portType name="IWS_CAS_UICSoap">
- <wsdl:operation name="HelloWorld">
  <wsdl:input message="tns:HelloWorldSoapIn" /> 
  <wsdl:output message="tns:HelloWorldSoapOut" /> 
  </wsdl:operation>
- <wsdl:operation name="Globle_QueryByID">
  <wsdl:input message="tns:Globle_QueryByIDSoapIn" /> 
  <wsdl:output message="tns:Globle_QueryByIDSoapOut" />