on 2014 Jun 05 8:35 AM
We have the code below. When it runs form A simple PB client (a button) preauthentication is working. When it runs from EAServer it does not. Any ideas?
Powerbuilder 12.5.2 build 5609
Long ll_ret
SoapConnection conn
currencyConvertor currencyConvertorProxy
Conn = CREATE SoapConnection
ll_ret = conn.enablepreauthentication( )
ll_ret = conn.setbasicauthentication("", "user", "password")
ll_ret = conn.createinstance( currencyConvertorProxy, "currencyConvertor", "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL")
double ld_rate
ld_rate = currencyConvertorProxy.conversionrate(1.4,2.5)
destroy conn
destroy currencyConvertorProxy
Hi Kimon,
Is it working on Easerver without preauthentification?
May be you have some missing dll in your Easerver\bin directory:
EasySoap125.dll, ExPat125.dll, libeay32.dll, ssleay32.dll, pbsoapclient125.pbx, pbwsclient125.pbx,
pbnetwsruntime125.dll, xerces-c_2_6.dll, xerces-depdom_2_6.dll, Sybase.PowerBuilder.WebService.Runtime.dll,
Sybase.PowerBuilder.WebService.RuntimeRemoteLoader.dll
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
11 | |
10 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.