Re: Any other method for web service
- From: "Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx>
- Date: Wed, 30 Nov 2005 11:50:08 -0500
What I'd do is download and install the Web Service Toolkit for Office and prototype in Outlook VBA. The toolkit will create a proxy class for the web service, freeing you up from all the SOAP details. You can then export the class modules from Outlook VBA and import them into your VB project.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Gaurav Khare" <GauravKhare@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:C12061F6-F6F5-48AA-8F94-D3419FEEBBE3@xxxxxxxxxxxxxxxx
> Any other method to acees a .net web service from Vb 6.0
>
> I have to access a webserice already made on other end .I only have the URl
> of
> that web service.
> The steps I followed are:-
> 1.I downloaded the soap toolkit
> 2.I added the reference "Microsoft soap type library"
> 3.I tried the following code
> Dim oSoapClient As MSSOAPLib30.SoapClient30
> Set oSoapClient = New MSSOAPLib30.SoapClient30
> Call oSoapClient.MSSoapInit("http://IP
> Adress/TLSWebServices/TLSSync.asmx?wsdl")
> MsgBox (oSoapClient.AuthenticateClientUser("aa", "aa"))
> where in IPAddress i gave the Ip address.
> But when i run the code it gives me this error
> "Run-Time error '-2147221164(80040154)':
> WSDL Reader: Loading of the WSDL file failed HRESULT=0*80040154: Class not
> registered
> -Client: An unanticipated error occured during the processing of this
> request. HREsULT=0*80040105:
> Class not registered."
> can you please tell me which class i need to register as i dont have
> webservice class but only its URL.
> any help wud be appreciated.
> Looking Forward
> Gaurav.....
>
> --
> Gaurav khare
> software engineer
> Ots Solutions Pvt Ltd
.
- Prev by Date: Re: MAPI and Service Pack 2
- Next by Date: Re: MAPI and Service Pack 2
- Previous by thread: Re: MAPI and Service Pack 2
- Next by thread: Re: Any other method for web service
- Index(es):
Relevant Pages
|