- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
William - Thank you, this is helpful. One other thing
though.. a few of the web service operations I need to call have a
parameter defined like this:
<complexType name="Account">
<sequence/>
<attribute name="Name" type="string" use="required"/>
<attribute name="Value" type="string" use="required"/>
</complexType>
Notice that the Name and Value items are attributes, not
sub-elements. If I create an object like:
var param:Object = {Name:"xxxx", Value:"yyyy"};
is there a way to have these properties encoded as attributes
as opposed to sub-elements?
Ryan
though.. a few of the web service operations I need to call have a
parameter defined like this:
<complexType name="Account">
<sequence/>
<attribute name="Name" type="string" use="required"/>
<attribute name="Value" type="string" use="required"/>
</complexType>
Notice that the Name and Value items are attributes, not
sub-elements. If I create an object like:
var param:Object = {Name:"xxxx", Value:"yyyy"};
is there a way to have these properties encoded as attributes
as opposed to sub-elements?
Ryan
Views
Replies
0 Likes
Total Likes