Hi FlexCoders,
I'm getting null values in properties of strongly typed transfer
objects, when using the proxy classes generated from the Web Service
Introspection wizard in Flex Builder 3. I'm wondering if anyone can
help me to resolve this problem? I have used ServiceCapture to
verify that the values exist when the response comes back over the
wire but the values are lost in translation from SOAP to
ActionScript objects. For example listed below are two types of
Transfer Objects. In the result from a call to getCards() which
returns a list of ICardTOs some properties are populated but others
such as 'name' and the ArrayCollection 'tokenServiceCredentials'
always have null values.
I would really like to use these generated proxy classes because
everything else seems right on. Any ideas? Thank you.
public class ICardTO extends BaseTransferObject{
public function ICardTO() {}
public var cuid:String;
public var deleteable:Boolean;
public var expiredTime:Date;
public var id:String;
public var image:ByteArray;
public var imageType:String;
public var issuerName:String;
public var properties:ArrayOf_tns1_PropertyTO;
public var selfIssued:Boolean;
public var
tokenServiceCredentials:ArrayOf_tns1_UITokenServiceCredentialTO;
}
}
public class BaseTransferObject{
public function BaseTransferObject() {}
public var name:String;
}
}