
VB 6 Client Using SOAP AND .NET Web Service
The answer is yes - you can use the SOAP Toolkit (downloadable from MSDN) in
VB6 to invoke a Web service created using .NET.
I don't know if you can return an ADO Recordset object, but I rather doubt
it - at least not automatically.
To be returned via SOAP the Recordset would need to be serialized into XML
(or a byte array or something), which won't happen automatically within .NET
since it isn't a .NET object. You may be able to return the Recordset if you
have it convert itself to XML first, and then return the XML string as a
result of your Web service. On the client then, you'd use that XML to
recreate the Recordset object.
--
Rockford Lhotka
Author of "Professional Visual Basic Interoperability"
Quote:
> Hi,
> Is it possible to use a VB 6 Client and SOAP to send and receive messages
> from a .NET Web Service? If the answer is yes, can a SOAP message send and
> receive a ADO recordSet?
> Thanks in advance,
> Mike Schoenfeld