Web service

Post Reply
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

Web service

Post 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?
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

Re: Web service

Post by clemerson »

up
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: Web service

Post by fraxzi »

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
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

Re: Web service

Post 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)
User avatar
Lautaro
Posts: 322
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile
Contact:

Re: Web service

Post 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:
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: Web service

Post 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
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

Re: Web service

Post 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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Web service

Post 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.
Regards

G. N. Rao.
Hyderabad, India
leonardoinacio
Posts: 4
Joined: Tue Sep 21, 2010 4:49 pm
Location: Brasil

Re: Web service

Post 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
Post Reply