Page 1 of 1

Web service

Posted: Thu Jun 03, 2010 12:39 pm
by clemerson
Hi,

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

? tokenVO
Image


In return Object shows, how do I read the contents?

Re: Web service

Posted: Sun Jun 06, 2010 11:17 am
by clemerson
up

Re: Web service

Posted: Sun Jun 06, 2010 12:54 pm
by fraxzi
Hi,

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


Regards
Frances

Re: Web service

Posted: Mon Jun 07, 2010 12:35 pm
by clemerson
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)

Re: Web service

Posted: Mon Jun 07, 2010 3:26 pm
by Lautaro
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:

Re: Web service

Posted: Mon Jun 07, 2010 8:55 pm
by lailton.webmaster
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

Re: Web service

Posted: Tue Jun 22, 2010 1:44 pm
by clemerson
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?

Image

Clemerson

Re: Web service

Posted: Thu Jun 24, 2010 1:42 pm
by nageswaragunupudi
Because the data is "protected" the value could not be read by XBrowse. If we can read it, XBrowse would have read it.

Re: Web service

Posted: Mon Sep 27, 2010 6:00 pm
by leonardoinacio
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