canuzzi
12-04-2007, 03:05 PM
Hello Everyone,
I am working on a client for a webservice. The webservice expects an list of persons. My idea was to create an XML Object, that is filled by the application and I can bind it to the request object of the webservice operation. But I didn't work this way - do you have any hints for me how to solve this?
short example:
[bindable]
public var myXML:XML =
<parameters>
<person ....>
<person .....>
.....
</parameters>;
<mx:webservice ....>
<mx:operation ....>
<mx:request>{myXML.toXMLString()}<mx:request>
</ ...>
the webervice is working if I put a sample xml list directly in the request tags.
I am working on a client for a webservice. The webservice expects an list of persons. My idea was to create an XML Object, that is filled by the application and I can bind it to the request object of the webservice operation. But I didn't work this way - do you have any hints for me how to solve this?
short example:
[bindable]
public var myXML:XML =
<parameters>
<person ....>
<person .....>
.....
</parameters>;
<mx:webservice ....>
<mx:operation ....>
<mx:request>{myXML.toXMLString()}<mx:request>
</ ...>
the webervice is working if I put a sample xml list directly in the request tags.