Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 10th, 2004, 08:22 AM
Authorized User
 
Join Date: Jan 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling WebService from VB6 without use SOAP toolk

Hi,

I have made a WebService in .Net and my Client is a VB6. I have tried
accesing WebService by using SOAP toolkit.
But can anybody tell me whether is there any other way of accessing WebService from VB6 without using SOAP toolkit?


Sanjay Kabra
__________________
Sanjay Kabra
 
Old February 25th, 2004, 08:30 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

A .NET web service is nothing more than XML. Even if the web service only supports SOAP requests, you could still consume the web service without using a SOAP helper. You could manually construct a SOAP request that gets posted to the web service. If the web service supports standard POST or GET then the news is even better. The best is if it supports GET because you simply need to call the web service with a standard GET call.

The MS XML 4.0 object you would use in a VB6 application supports such calls. You just ask it to open XML from a URL. You can construct the web service URL with all the necessary arguments on the query string. Then it's just a matter of knowing the XML structure returned so you know what to query with xpath. The SOAP stuff of the returned XML can be ignored.

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
calling c# webservice from VB6 GS Pro VB 6 2 February 26th, 2016 09:28 AM
Calling Webservice from application premalm ASP.NET 2.0 Professional 3 October 17th, 2008 03:24 AM
Exposing 8 Send Ports with SOAP as WebService. benvictor Biztalk 0 July 29th, 2008 05:53 PM
need way to pass the soap message to webservice i raju_kmarhotmail.com .NET Web Services 0 November 3rd, 2007 03:19 AM
WebService - SOAP Protocol ksams .NET Web Services 1 January 29th, 2004 04:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.