Skip to Content
Jun 05, 2014 at 07:35 AM

using preauthentication in SoapConnection


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", "")

double ld_rate

ld_rate = currencyConvertorProxy.conversionrate(1.4,2.5)

destroy conn

destroy currencyConvertorProxy