我在使用vb6通过soaptoolkit3.0开发webservice客户端的时候,不知道如何将wsdl中的定义的二维数组进行序列化,如何使用soapserializer输入所需的数组参数?在服务端返回的错误信息中总是提示在数组元素中发现字符(大意)。
wsdl的type片段如下:
……
 <wsdl:types>
  <schema targetNamespace="http://XX.XX.XX.XX:8080/usp/services/InnerSysPublishInfoServiceFacadeImpl" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="ArrayOfArrayOf_soapenc_string">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="soapenc:string[][]"/>
     </restriction>
    </complexContent>
   </complexType>
  </schema>
 </wsdl:types>
……
vb6部分代码Connector.Property("endpointurl") = wsdladdress
Connector.ConnectConnector.BeginMessage
Set Serializer = New SoapSerializer30
Serializer.Init Connector.InputStream
Serializer.startEnvelope
Serializer.startBody
serializer.startelement “login”(登陆)
serializer.startelement “user”
serializer.writestring  "XXX"
serializer.endelement
serializer.startelement  "myarray"(要输入的数组)
serializer.writestring myarray(0,0)
serializer.writestring myarray(0,1)
serializer.endelement
……
请教各位大神,这段代码应如何修改?是否需要用其他的方法对其进行映射?跪谢!
在说明文件里面handling array中似乎并未提到要进行额外的处理。