Visual Basic 6 and Webservices
Hi there,
I writing a webservice using visual basic .net that returning a dataset type to return some data and i write a visual basic 6 client to call the web services using the SOAP. The problem here is, i do not know how to accept the dataset on my visual basic 6 client program, because there is no such dataset on visual basic 6.
Any help greatly aprreciated ;)
Thanks in advance
Regards
Xienix
Re: Visual Basic 6 and Webservices
Instead of passing back DataSet you can pass the XML file back to the VB 6 client. In VB 6 you can use the XML file for whatever purpose you want.
Re: Visual Basic 6 and Webservices
Hi Shuja,
Thanks for your response. Do you have any good reference where i can see how the webservice pass the xml file and how the visual basic 6 send a request and retrieve the xml file ? Best if it show how to pass the parameter to the webservice as well.
Sorry, i'm just beginner in this area, i try to find , but like no much info.
Thanks in advance
Xienix
Re: Visual Basic 6 and Webservices
You can get the XML from the dataset and save it in a string. Return that string from your webmothod. In VB 6 you can use the String passed back and save it as an XML file.
Do what ever operations you need to do on the XML file and then pass it back (if needed as a string) to the web method.