R
Rosi
Has anybody used the type IXMLNodelist to handle complex types with VBA?
In the Webservice I have to consume, there is a return parameter, that is a
structure of a a copmplex type wich contains the VBA keyword "TYPE".
VBA cannot build a class with a field with the name TYPE.
Part of the WSDL_File
<s:complexType name="RETURN01">
<s:complexContent mixed="false">
<s:extension base="s0:xxxStructure">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="TYPE" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" />
</s:sequence>
</s:extension>
</s:complexContent>
</s:complexType>
I dont know how to use IXMLNodelist. I tried both versions:
Dim ar_Return01() As IXMLDOMNodeList
' -> Null value Error
Dim ar_Return01 As IXMLDOMNodeList
' -> Typeconversion Error
retString = WS.wsm_TestService( inputVar,ar_Confirm_Return)
I used WebServices Toolkit 2003 (Version 2.1) with Access 2003
If anyone experienced IXMLNodelist, please answer.
Thanks
Rosi
In the Webservice I have to consume, there is a return parameter, that is a
structure of a a copmplex type wich contains the VBA keyword "TYPE".
VBA cannot build a class with a field with the name TYPE.
Part of the WSDL_File
<s:complexType name="RETURN01">
<s:complexContent mixed="false">
<s:extension base="s0:xxxStructure">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="TYPE" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="MESSAGE" type="s:string" />
</s:sequence>
</s:extension>
</s:complexContent>
</s:complexType>
I dont know how to use IXMLNodelist. I tried both versions:
Dim ar_Return01() As IXMLDOMNodeList
' -> Null value Error
Dim ar_Return01 As IXMLDOMNodeList
' -> Typeconversion Error
retString = WS.wsm_TestService( inputVar,ar_Confirm_Return)
I used WebServices Toolkit 2003 (Version 2.1) with Access 2003
If anyone experienced IXMLNodelist, please answer.
Thanks
Rosi