A
Andrea
Hi all
I use with success Office 2003 Web Service Toolkit for invoke not
complex web services.
Now I try to invoke a ws that return a complex type like this:
<costs>
<item>
<a>text</a>
<b>text</b>
<c>text</c>
</item>
<item>
<a>text</a>
<b>text</b>
<c>text</c>
</item>
<item>
<a>text</a>
<b>text</b>
<c>text</c>
</item>
</costs>
When i generate proxy code with Office 2003 Web Service Toolkit it
generates only class fo r invoke web service, but nothing about return
structure. It write like alert this:
"wsm_ZWlGetCosts" is an array with elements defined as IXMLDOMNodeList
'See Complex Types: Arrays in Microsoft Office 2003 Web Services
Toolkit Help
'for details on implementing arrays.
I try this code for invoke my ws:
Dim service As New clsws_zwlgetcostsService
'Dim Result As MSXML2.IXMLDOMNodeList
Dim Result As Variant
Set Result = service.wsm_ZWlGetCosts("2005-02-01", "2005-11-30")
But error is: deserialization failed
What can I do
Thanks!!
Andrea
I use with success Office 2003 Web Service Toolkit for invoke not
complex web services.
Now I try to invoke a ws that return a complex type like this:
<costs>
<item>
<a>text</a>
<b>text</b>
<c>text</c>
</item>
<item>
<a>text</a>
<b>text</b>
<c>text</c>
</item>
<item>
<a>text</a>
<b>text</b>
<c>text</c>
</item>
</costs>
When i generate proxy code with Office 2003 Web Service Toolkit it
generates only class fo r invoke web service, but nothing about return
structure. It write like alert this:
"wsm_ZWlGetCosts" is an array with elements defined as IXMLDOMNodeList
'See Complex Types: Arrays in Microsoft Office 2003 Web Services
Toolkit Help
'for details on implementing arrays.
I try this code for invoke my ws:
Dim service As New clsws_zwlgetcostsService
'Dim Result As MSXML2.IXMLDOMNodeList
Dim Result As Variant
Set Result = service.wsm_ZWlGetCosts("2005-02-01", "2005-11-30")
But error is: deserialization failed
What can I do
Thanks!!
Andrea