I have 2 mirrored environments. One on my laptop running Adobe CF8 and one at
the University running Blue Dragon 7. I have the same CFCs set to remote, the
same database stucture, and the same <mx:WebService> on both. I am just
switching the wsdl location between the 2 and I am getting COMPLETELY
diffferent responses. The only difference is the actual Servers.
When I return a query via web service with Adobe and render it out with
Alert.show(ObjectUtil.toString(e.result),'Result');, I get this:
(mx.collections::ArrayCollection)#0
filterFunction = (null)
length = 1
list = (mx.collections::ArrayList)#1
length = 1
source = (Array)#2
[0] (Object)#3
DEPARTMENT = "PRMC"
FIRSTNAME = "Wally"
ISACTIVE = 1
LASTNAME = "Kolcz"
POSITION = "Senior ColdFusion Architect"
ROLE = "admin"
UNIQNAME = "wkolcz"
uid = "12003FBD-127E-EEEB-4E25-22A5E6599FF8"
sort = (null)
source = (Array)#2
With Blue Dragon I get this:
(Object)#0
columnList = (mx.collections::ArrayCollection)#1
filterFunction = (null)
length = 8
list = (mx.collections::ArrayList)#2
length = 8
source = (Array)#3
[0] "uniqname"
[1] "lastName"
[2] "firstName"
[3] "position"
[4] "department"
[5] "role"
[6] "isActive"
uid = "A8A6C52F-5FDD-35DA-8364-22A4F7846DEB"
sort = (null)
source = (Array)#3
data = (mx.collections::ArrayCollection)#4
filterFunction = (null)
length = 1
list = (mx.collections::ArrayList)#5
length = 1
source = (Array)#6
[0] (mx.collections::ArrayCollection)#7
filterFunction = (null)
length = 8
list = (mx.collections::ArrayList)#8
length = 8
source = (Array)#9
[0] "wkolcz"
[1] "Kolcz"
[2] "Wally"
[3] "ColdFusion / Flex Developer"
[4] "PRMC"
[5] "admin"
[6] 1
uid = "1226A691-AB75-70F7-DA33-22A4F7A30F01"
sort = (null)
source = (Array)#9
uid = "2A52253B-DDF8-716E-0A74-22A4F7A38643"
sort = (null)
source = (Array)#6
I then added Alert.show(ObjectUtil.toString(e.result.list.source),'source');
and got this with Adobe:
(Array)#0
[0] (Object)#1
DEPARTMENT = "PRMC"
FIRSTNAME = "Wally"
ISACTIVE = 1
LASTNAME = "Kolcz"
PASSWORD = "2113"
POSITION = "Senior ColdFusion Architect"
ROLE = "admin"
UNIQNAME = "wkolcz"
And this with Blue Dragon:
TypeError: Error #1010: A term is undefined and has no properties.
Anyone know a work around to get the same results? I was able to get my
'uniqname' with Adobe by using userData.getItemArt(0).UNIQNAME but it fails in
BD.
Thanks for ANY help in this Blue Disaster.