Web Service PocketSoap Sample Working !!!

Web Service PocketSoap Sample Working !!!

Postby toninhofwi » Mon Oct 05, 2009 6:11 pm

Hi friends,

Now that Microsoft abandoned MSSOAP, the best is use PocketSoap instead, this is a working sample (tested on Harbour only)

---cut---
local oEnvelope := Win_OleCreateObject( "PocketSOAP.Envelope.2" )
local oHttp := Win_OleCreateObject( "PocketSOAP.HTTPTransport.2" )

oEnvelope:EncodingStyle = ""
oEnvelope:SetMethod( "InvertStringCase", "http://www.dataaccess.com/webservicesserver/" )
oEnvelope:Parameters:Create( "sAString", "THIS IS LOWER - this is upper" )

oHttp:Send( "http://www.dataaccess.com/webservicesserver/textcasing.wso?WSDL", oEnvelope:Serialize() )

oEnvelope:Parse( oHttp )

MsgInfo( oEnvelope:Parameters:Item( 0 ):Value )
---cut---

get pocket soap from: http://www.pocketsoap.com/

Regards,

Toninho.

PS: Thanks Luiz Culick for indicate pocketsoap and for teach me.
toninhofwi
 
Posts: 170
Joined: Tue Oct 18, 2005 10:01 am

Re: Web Service PocketSoap Sample Working !!!

Postby Antonio Linares » Tue Oct 06, 2009 7:46 pm

Toninho,

Thanks! :-)
regards, saludos

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

Re: Web Service PocketSoap Sample Working !!!

Postby leonardoinacio » Mon Sep 27, 2010 6:26 pm

Toninho,

Obrigado pela ótima alternativa !
Funcionou perfeitamente.

O detalhe é que sempre temos que instalar o pacote PocketSopa para que as DLL fiquem registradas correto ?
Você conhece alguma forma de utilizar apenas portando as DLL no diretório da aplicação ?

Obrigado
leonardoinacio
 
Posts: 4
Joined: Tue Sep 21, 2010 4:49 pm
Location: Brasil

Re: Web Service PocketSoap Sample Working !!!

Postby jorjio » Tue Jun 09, 2015 8:43 pm

Hi,
I have set up pocketSOAP on windows 8.1 but it gives

xLINK: error: Unresolved external symbol '_HB_FUN_WIN_OLECREATEOBJECT referenced from

at compile.
jorjio
 
Posts: 14
Joined: Tue Sep 10, 2013 8:08 pm

Re: Web Service PocketSoap Sample Working !!!

Postby Antonio Linares » Wed Jun 10, 2015 7:28 am

Jorjio,

What xharbour version is it ? It seems as an old one.
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Silvio.Falconi and 104 guests