Supplying domain for -proxyUserid

schaapie

Member
I am trying to access a webservice from ABL (OE10.1c) through a proxyserver. I can get the following code to work on a machine which doesn't route this through the proxy, but when I want to add the proxy-credentials I get a 407 error (proxy authentication). When I access this webservice from soapUI, it asks me for a proxyUserID, proxypassword AND DOMAIN.
Where can I enter this domain against which the userid/password should be verified?

Code:
[LEFT]define variable hWebService as handle no-undo.
define variable hVolumeUnitSoap as handle no-undo.[/LEFT]
 
/*
session:proxy-userid = 'aaa'.
session:proxy-password = 'bbb'.
WHERE TO PUT THE DOMAIN 
d100:aaa doesn't work
d100/aaa doesn't work
d100\aaa doesn't work
aaa@d100 doesn't work
*/
 
[LEFT]create server hWebService.
hWebService:connect
("-WSDL http://www.webservicex.net/convertVolume.asmx?WSDL -Service VolumeUnit")
/* ("-WSDL C:\temp\wsdlAnalyzer\ConvertVolume\convertVolume.wsdl -Binding VolumeUnitSoap -SOAPEndpoint http://www.webservicex.net/convertVolume.asmx")*/
.
message hwebservice:connected() view-as alert-box. [/LEFT]
 
[LEFT]run VolumeUnitSoap set hVolumeUnitSoap on server hWebService.[/LEFT]
 
[LEFT]DEFINE VARIABLE VolumeValue AS int64 no-undo init 5000.
DEFINE VARIABLE fromVolumeUnit AS CHARACTER no-undo init 'deciliter'.
DEFINE VARIABLE toVolumeUnit AS CHARACTER no-undo init 'liter'.
DEFINE VARIABLE ChangeVolumeUnitResult AS CHARACTER NO-UNDO.[/LEFT]
 
 
[LEFT]FUNCTION ChangeVolumeUnit RETURNS CHARACTER
(INPUT VolumeValue AS int64,
INPUT fromVolumeUnit AS CHARACTER,
INPUT toVolumeUnit AS CHARACTER)
IN hVolumeUnitSoap.[/LEFT]
 
 
[LEFT]/* Function invocation of ChangeVolumeUnit operation. */
ChangeVolumeUnitResult = ChangeVolumeUnit(VolumeValue, fromVolumeUnit, toVolumeUnit).[/LEFT]
 
[LEFT]message ChangeVolumeUnitResult
view-as alert-box.[/LEFT]
 
 
[LEFT]delete object hVolumeUnitSoap no-error.
hWebservice:disconnect() no-error.
delete object hWebservice.[/LEFT]

Thanks for any help
 
Top