Web Service PocketSoap Sample Working !!!

Post Reply
toninhofwi
Posts: 161
Joined: Tue Oct 18, 2005 10:01 am

Web Service PocketSoap Sample Working !!!

Post by toninhofwi »

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/webservicesse ... g.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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Web Service PocketSoap Sample Working !!!

Post by Antonio Linares »

Toninho,

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
leonardoinacio
Posts: 4
Joined: Tue Sep 21, 2010 4:49 pm
Location: Brasil

Re: Web Service PocketSoap Sample Working !!!

Post by leonardoinacio »

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
jorjio
Posts: 14
Joined: Tue Sep 10, 2013 8:08 pm

Re: Web Service PocketSoap Sample Working !!!

Post by jorjio »

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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Web Service PocketSoap Sample Working !!!

Post by Antonio Linares »

Jorjio,

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

Antonio Linares
www.fivetechsoft.com
Post Reply