Web Services

Web Services

Postby byron.hopp » Wed Nov 30, 2005 6:02 am

Has anybody managed to utilize Web Services native in FiveWin without utilizing the MS Web Services Tools? I feel certain it is possible but I don't know where to start.

Byron...
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Postby Antonio Linares » Wed Nov 30, 2005 9:12 am

Byron,

What web services do you mean ? A web server ? A web client ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby jcleygar » Wed Nov 30, 2005 11:41 am

Byron,

I belive that the easiest way to consume webservices under [x]Harbour is installing the ms soap toolkit that permits inkove it like com objects. Basically creates a com object envolture of a webservice object that permits use it to any language capable to use then com technology. An example of the source code:

lo_serv=Createobject("mssoap.soapclient30") // Soap object creation
lo_serv.mssoapinit("http://www.universalthread.com/WebService/universalthread.asmx?wsdl") // webservice uri
// invoking web service methods.
lo_serv.someMethod( param1, param2, ... )
lo_serv.Dispose()
lo_serv := nil

To invoke ws without ms soaptoolkit under [x]Harbour is not easy work, you must to 'talk' with webservice with soap directly

If you need some advice i can help you.

regards.
jcleygar
 
Posts: 1
Joined: Wed Nov 30, 2005 11:32 am

Postby thefull » Wed May 07, 2008 1:09 pm

jcleygar wrote:Byron,

I belive that the easiest way to consume webservices under [x]Harbour is installing the ms soap toolkit that permits inkove it like com objects. Basically creates a com object envolture of a webservice object that permits use it to any language capable to use then com technology. An example of the source code:

lo_serv=Createobject("mssoap.soapclient30") // Soap object creation
lo_serv.mssoapinit("http://www.universalthread.com/WebService/universalthread.asmx?wsdl") // webservice uri
// invoking web service methods.
lo_serv.someMethod( param1, param2, ... )
lo_serv.Dispose()
lo_serv := nil

To invoke ws without ms soaptoolkit under [x]Harbour is not easy work, you must to 'talk' with webservice with soap directly

If you need some advice i can help you.

regards.


I need help!! ;-)
I write this example and show error

Error occurred at: 05/07/08, 14:23:14
Error description: Error MSSOAP.SoapClient30/3 DISP_E_MEMBERNOTFOUND: MSSOAPINIT
Args:

Stack Calls
===========
Called from: win32ole.prg => TOLEAUTO:MSSOAPINIT(0)

I installed Soap SDK 3.0 from Ms ;
http://www.microsoft.com/downloads/than ... layLang=en


Can you help me !??

Thank you!
Regards
Rafa Carmona
Saludos
Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
User avatar
thefull
 
Posts: 731
Joined: Fri Oct 07, 2005 7:42 am
Location: Barcelona

Postby clemerson » Tue Aug 26, 2008 6:59 pm

it obtains to function?
User avatar
clemerson
 
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil

Postby Elias Torres » Tue Oct 14, 2008 6:12 pm

jcleygar wrote:Byron,

I belive that the easiest way to consume webservices under [x]Harbour is installing the ms soap toolkit that permits inkove it like com objects. Basically creates a com object envolture of a webservice object that permits use it to any language capable to use then com technology. An example of the source code:

lo_serv=Createobject("mssoap.soapclient30") // Soap object creation
lo_serv.mssoapinit("http://www.universalthread.com/WebService/universalthread.asmx?wsdl") // webservice uri
// invoking web service methods.
lo_serv.someMethod( param1, param2, ... )
lo_serv.Dispose()
lo_serv := nil

To invoke ws without ms soaptoolkit under [x]Harbour is not easy work, you must to 'talk' with webservice with soap directly

If you need some advice i can help you.

regards.



Hi, i would like some informations about how to implement web services because i'm starting with it. Can you help me, please? If you have some examples or any link for look it, i would appreciate it

Regards,
Elías Torres.
Elias Torres
 
Posts: 233
Joined: Wed Aug 09, 2006 3:07 pm

Postby Antonio Linares » Tue Oct 14, 2008 9:50 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Elias Torres » Wed Oct 15, 2008 10:22 am

Antonio, nose si es que ando bastante perdido, pero me surge una duda (son muchas la verdad, jeje). Esto sirve para implementar sobre una Pocket PC? o solo son para aplicaciones de escritorio?

Un saludo.

Elías Torres.
Elias Torres
 
Posts: 233
Joined: Wed Aug 09, 2006 3:07 pm

Postby Antonio Linares » Wed Oct 15, 2008 12:46 pm

Elias,

Hay que comprobar si Windows Mobile proporciona un cliente "SOAP":

oSoapClient := CreateObject( "MSSOAP.SoapClient" )

ó ver si es preciso instalar algún software de Microsoft en el Pocket PC
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Elias Torres » Wed Oct 15, 2008 3:15 pm

Antonio, con el siguiente codigo:

#include "FiveWin.ch"

Function Main()

oSoapClient := CreateObject( "MSSOAP.SoapClient" )

return nil

Me reporta el siguiente error:

.....
Creating library test.lib and object test.exp
test.obj : error LNK2001: unresolved external symbol HB_FUN_CREATEOBJECT
test.exe: fatal error LNK1120: 1 unresolved externals
......

Nose si es porque me falta incluir alguna libreria o si es que no está soportada por el lenguaje.

Un saludo.
Elías Torres.
Elias Torres
 
Posts: 233
Joined: Wed Aug 09, 2006 3:07 pm

Postby Antonio Linares » Wed Oct 15, 2008 5:24 pm

Elías,

Necesitas la versión más reciente de FWPPC que proporciona soporte para OLE automation (CreateObject())
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 43 guests

cron