Search the web
Sign In
New User? Sign Up
delphi-avanzado · Delphi Avanzado
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
consumir servicio web en delphi 7   Message List  
Reply | Forward Message #3280 of 3283 |
hola compañeros,
 
tengo el siguiente caso del cual agradezco la poca o mucha ayuda...
 
debo consumir un webservice, del cual nos dan un archivo tlb, e importado este
tlb por poryect / import type library
 
me a adicionado unos componentes....en la pestaña XXXX
 
he tratado de usarlo asi...
 
procedure TForm1.Button2Click(Sender: TObject);
begin
   ProcInt1.Autenticar('NOMBRE_USER', 'CONTRASENA') ;
 
  // siendo ProcInt1 el componente tipo TProcInt
  // autenticar uno de los metodos que trae ProcInt

end;
 
 
----
 
en el uses adicione la correspondiente unidad GProcInt_TLB
 
en donde esta definido ..
...
...
...
 
// *********************************************************************//
// Declaration of CoClasses defined in Type
Library                      
// (NOTE: Here we map each CoClass to its Default
Interface)             
// *********************************************************************//
  ProcInt = IProcModules;
 
...
....
....
 
// *********************************************************************//
// The Class CoProcInt provides a Create and CreateRemote method
to         
// create instances of the default interface IProcModules exposed
by             
// the CoClass ProcInt. The functions are intended to be used
by            
// clients wishing to automate the CoClass objects exposed by
the        
// server of this
typelibrary.                                  \
         
// *********************************************************************//
  CoProcInt = class
    class function Create: IProcModules;
    class function CreateRemote(const MachineName: string): IProcModules;
  end;
 
 
--------------------------------------------------
 
luego de presionar el boton me saca este mensaje de error
 
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EOleSysError with message 'Clase no
registrada'. Process stopped. Use Step or Run to continue.
---------------------------
OK   Help  
---------------------------

la verdad... se que algo tengo mal...  por eso recurro a su ayuda...y pues he
buscado en internet  y no he visto algo parecido...
 
gracias por la ayuda
 

Ricardo Cabra




[Non-text portions of this message have been removed]




Tue Dec 16, 2008 9:22 pm

ricardo_cabra
Offline Offline
Send Email Send Email

Forward
Message #3280 of 3283 |
Expand Messages Author Sort by Date

hola compañeros,   tengo el siguiente caso del cual agradezco la poca o mucha ayuda...   debo consumir un webservice, del cual nos dan un archivo tlb, e...
Ricardo Cabra
ricardo_cabra
Offline Send Email
Dec 20, 2008
11:31 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help