Re: Any other method for web service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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
.



Relevant Pages

  • Re: SMTP Group email issue
    ... The problem happens when you have Outlook 2003 installed. ... THis should register cdosys.dll. ... |>>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 ... |>>> Dim mailMsg As MailMessage = New MailMessage ...
    (microsoft.public.biztalk.general)
  • Re: Any other method for web service
    ... Sue Mosher, Outlook MVP ... Author of Configuring Microsoft Outlook 2003 ... >>> can you please tell me which class i need to register as i dont have ... >>> webservice class but only its URL. ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: questions with setting up Microsoft Outlook 2003
    ... Microsoft Outlook 2003 work with it. ... First you have to register your domain name IF it's available with the ... You then either have to use a domain hosting company to host your domain ... name and to host a mail server for you or you need to set up a mail server ...
    (microsoft.public.outlook)
  • register interface
    ... When I attempt to send email through Microsoft Outlook, I get a pop-up that says "cannot send, interface not registered". ... Can you please explain to someone inexperienced in setting up computer what this means?...and how to register interface? ...
    (microsoft.public.windowsxp.help_and_support)