Página 1 de 1

Acessing to a webservice via Xailer

Publicado: Mar Ago 18, 2009 3:43 pm
por Pedro Sousa e Faro
Hi.
Is is possible to "consume" a Webservice via Xailer ?
I need to access to A webservice using "SOAP protocol".
Anybody as such experience?
Regards
Pedro Faro

Acessing to a webservice via Xailer

Publicado: Jue Ago 20, 2009 7:07 pm
por Rene Flores
Pedro:
You bet you can, and is SOOOOOOO simple:
> WITH OBJECT ::oSoap := TOleAuto():New("MSSOAP.SoapClient30")
> TRY
> :MsSoapInit("http://Your.URL.with.the.web.service/goes/here.wsdl")
> :ConnectorProperty("UseSSL",.T.)
> :ConnectorProperty("AuthPassword","xt912")
> :ConnectorProperty("AuthUser","M2497")
> :ConnectorProperty("EndPointURL","https://your.end.point/goes/here")
> :ConnectorProperty("SSLClientCertificateName"," Hkey_users.DefaultSoftwareMicrosoftsystemcertificatesmy trust ")
> CATCH
> MsgInfo(:FaultString)
> Msginfo(:detail)
> END
:WebServiceMethod(parameters)
> END
You will need to install the MS Soap ToolKit 3.0 in order to be success
with the webservice connection.
Be aware that working under a SSL webservice you will have to install
the security certificates and you need to knwo where in the Windows
registry is the reference to the certificate, this is the hardest part
because it took us A LOT to guess where was the #@~##|¬~€ cerftificate.
Once connected to the webservice the call to the methods is so simple.
Regards
Rene Flores
http://www.ciber-tec.com
Faro escribió:
> Hi.
>
> Is is possible to "consume" a Webservice via Xailer ?
>
>
> I need to access to A webservice using "SOAP protocol".
> Anybody as such experience?
>
> Regards
>
> Pedro Faro
>
>
>

Acessing to a webservice via Xailer

Publicado: Lun Ago 24, 2009 9:21 pm
por Pedro Sousa e Faro
Hi Rene
Many Tank's
"Rene Flores" <"rflores[nospam]"@ciber-tec.com> escreveu na mensagem
news:[email=4a8d82da@svctag-j7w3v3j....]4a8d82da@svctag-j7w3v3j....[/email]
> Pedro:
>
> You bet you can, and is SOOOOOOO simple:
>
>> WITH OBJECT ::oSoap := TOleAuto():New("MSSOAP.SoapClient30")
>> TRY
>>
>> :MsSoapInit("http://Your.URL.with.the.web.service/goes/here.wsdl")
>> :ConnectorProperty("UseSSL",.T.)
>> :ConnectorProperty("AuthPassword","xt912")
>> :ConnectorProperty("AuthUser","M2497")
>>
>> :ConnectorProperty("EndPointURL","https://your.end.point/goes/here")
>>
>> :ConnectorProperty("SSLClientCertificateName"," Hkey_users.DefaultSoftwareMicrosoftsystemcertificatesmy trust ")
>> CATCH
>> MsgInfo(:FaultString)
>> Msginfo(:detail)
>> END
> :WebServiceMethod(parameters)
>> END
>
> You will need to install the MS Soap ToolKit 3.0 in order to be success
> with the webservice connection.
>
> Be aware that working under a SSL webservice you will have to install the
> security certificates and you need to knwo where in the Windows registry
> is the reference to the certificate, this is the hardest part because it
> took us A LOT to guess where was the #@~##|¬~€ cerftificate.
>
> Once connected to the webservice the call to the methods is so simple.
>
> Regards
>
> Rene Flores
> http://www.ciber-tec.com
>
>
> Faro escribió:
>> Hi.
>>
>> Is is possible to "consume" a Webservice via Xailer ?
>>
>>
>> I need to access to A webservice using "SOAP protocol". Anybody as such
>> experience?
>>
>> Regards
>>
>> Pedro Faro
>>
>>
>>
>