FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Web service
Posts: 58
Joined: Fri Mar 10, 2006 08:13 PM
Web service
Posted: Thu Jun 03, 2010 12:39 PM
Hi,

UPurl:="http://200.207.118.102:8079/axis2/services/RecargasWeb?wsdl"
oUp := CreateObject("MSSOAP.SoapClient30")
oUp:MSSoapInit(alltrim(UPurl))
tokenVO:=oUp:Logon(COD_ORI,PWD,COD_TER,COD_EST,MAC)

? tokenVO



In return Object shows, how do I read the contents?
Posts: 58
Joined: Fri Mar 10, 2006 08:13 PM
Re: Web service
Posted: Sun Jun 06, 2010 11:17 AM

up

Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: Web service
Posted: Sun Jun 06, 2010 12:54 PM

Hi,

You can try xBrowse( tokenVO ) to examine the object.

Regards
Frances

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 58
Joined: Fri Mar 10, 2006 08:13 PM
Re: Web service
Posted: Mon Jun 07, 2010 12:35 PM
fraxzi wrote:Hi,

You can try xBrowse( tokenVO ) to examine the object.


Regards
Frances


error:

Application
===========
Path and name: C:\temp\test.exe (32 bits)
Size: 2,167,808 bytes
Time from start: 0 hours 0 mins 19 secs
Error occurred at: 07/06/2010, 09:34:51
Error description: Error MSSOAP.SoapClient30:LOGON/14 DISP_E_BADPARAMCOUNT: FIELDS
Args:

Stack Calls
===========
Called from: D:\xHarbour\source\rtl\win32ole.prg => TOLEAUTO:FIELDS(0)
Called from: C:\FWH\SOURCE\CLASSES\xbrowse.prg => TXBROWSE:SETADO(3277)
Called from: C:\FWH\SOURCE\CLASSES\xbrowse.prg => XBRWSETDATASOURCE(7636)
Called from: C:\FWH\SOURCE\CLASSES\xbrowse.prg => XBROWSE(7923)
Called from: recarga.prg => RTOKEN(185)
Posts: 337
Joined: Fri Oct 07, 2005 02:44 PM
Re: Web service
Posted: Mon Jun 07, 2010 03:26 PM

Hi Clemerson,

You need know data's and method's of tokenvo, you need read the documetation of soap objects.

In the soap sdk you can find the docs.

Best Regards,

Lautaro Moreira

PD; Sorry for my bad english :oops:

Hola,

Soy un Contador que por necesidad aprendio a programar y se quedo programando.
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: Web service
Posted: Mon Jun 07, 2010 08:55 PM

voce tem algum dados q possamos usar para teste,

se vc me arumar um usuario senha etc dados necessario para teste tento ajudar.

ja trabalho com webservice com a soap e funciona perfeitamente para mim.

qualquer coisa me add no msn suporte@redstarsoft.com.br

abraco

Posts: 58
Joined: Fri Mar 10, 2006 08:13 PM
Re: Web service
Posted: Tue Jun 22, 2010 01:44 PM
fraxzi wrote:Hi,

You can try xBrowse( tokenVO ) to examine the object.


Regards
Frances


I had to update my last version XHB and FWH. Now is working to return.

more variable that I have been reading this as <protected> how do I read?



Clemerson
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Web service
Posted: Thu Jun 24, 2010 01:42 PM

Because the data is "protected" the value could not be read by XBrowse. If we can read it, XBrowse would have read it.

Regards



G. N. Rao.

Hyderabad, India
Posts: 4
Joined: Tue Sep 21, 2010 04:49 PM
Re: Web service
Posted: Mon Sep 27, 2010 06:00 PM

Olá pessoAll

Webservice sempre funcionou perfeitamente com as linhas abaixo: ( exemplo no início do post )

oUp := CreateObject("MSSOAP.SoapClient30")
oUp:MSSoapInit(alltrim(UPurl))

Mas quando passei para Windows 7 parou de funcionar.

Alguem passou por isto ou tem alguma solução ?

Obrigado

Continue the discussion