Microsoft 开发人员网络 > 论坛主页 > Visual Basic for Applications (VBA) > Using the Web Service References Tool 2.0 for sending and receiving complex data (arrays of objects)
提出问题提出问题
 

问题Using the Web Service References Tool 2.0 for sending and receiving complex data (arrays of objects)

  • 2009年7月9日 11:10WT-Maniac 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I used the tool about 3 years ago to create the classes for a webservice client to send or recieve arrays as complex data. Now  i have to update these classes, since there are additional informations, that have to be exchanged. When i use the tool now with the new wsdl-files, it does'nt create the classes for complex data (structur, IGCTMObjectFactory), but only one class for simple data. 
    In addition i have to establish a new client, that sends an array of complex data and  receives another array of complex data. I tried to build the classes manually combining the client that sends an array with the client, that receives  an array, but I failed.

    Can anyone help?  Has anyone a sample  of  how the classes are like  for sending an array of objects an receiving an other array of other objects?

    Thanks