cancel
Showing results for 
Search instead for 
Did you mean: 

using preauthentication in SoapConnection

kimon_moschandreou
Contributor
0 Kudos
67

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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