Calling web service using SOAP

From: Mats-Lennart Hansson (ap_skallen_at_hotmail.com)
Date: 05/19/04


Date: Wed, 19 May 2004 09:25:17 +0200

Hi,
I have created a web service which works fine when calling it from C#.
However, I want to be able to call it from VB 6.0 as well by using a
standard SOAP call using a MSXML2.ServerXMLHTTP object.

How do I do this? Lets say my namespace is Test and my class name is
TestClass. In this I have a web method called

public string GetMember(int i) {...}

What happens if my class holds state? Lets say I have these web methods:

public string Initialize() {...}
public string GetMember(int i) {...}

Maybe these question are to "newbie" to ba asked in this news group. In this
case, does anyone know of a page which covers these topics?

Thanks,

Mats-Lennart



Relevant Pages

  • RE: OutOfMemoryException: Webservice, DataSet and file transport
    ... Calling the web service from a desktop pc gives no problems. ... achieve with the web method is updating the software. ... >> I keep the dataset in memory. ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Add functionality to SendRecieve button
    ... calling one web service and then based on the web method result, ... When I comment this peice of ...
    (microsoft.public.office.developer.com.add_ins)
  • Use WebClient to call web service method
    ... I have a simple web service that has a method ... public string Query ... I am currently using a web reference of the service in my project and ... then calling the method. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to determine web service consumers
    ... How can I determine the name of the client app that is calling ... web service at runtime from the web method? ... Have the "client app" send its name to the service. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: how or when to use XmlInclude ?
    ... In this case you don't need to use XmlInclude. ... >I have a web service that returns a custom class in one of the service ... > public string Street; ...
    (microsoft.public.dotnet.framework.aspnet.webservices)

Loading