Web service

Web service

Postby clemerson » 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
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

Re: Web service

Postby clemerson » Sun Jun 06, 2010 11:17 am

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

Re: Web service

Postby fraxzi » 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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Web service

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

Re: Web service

Postby Lautaro » Mon Jun 07, 2010 3: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:
User avatar
Lautaro
 
Posts: 322
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile

Re: Web service

Postby lailton.webmaster » Mon Jun 07, 2010 8: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
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: Web service

Postby clemerson » Tue Jun 22, 2010 1: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?

Image

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

Re: Web service

Postby nageswaragunupudi » Thu Jun 24, 2010 1: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
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Web service

Postby leonardoinacio » Mon Sep 27, 2010 6: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
leonardoinacio
 
Posts: 4
Joined: Tue Sep 21, 2010 4:49 pm
Location: Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests