Hello,
I am trying to wrap an HTTPService in a custom component and I want to
be able to passe the url parameters in a request property and then
forward them to the HTTPService instance. However it doesn't work.
Here are my setter/getter:
public function set request(params:Object):void
{
this._request = params ;
}
public function get request():Object
{
return this._request ;
}
And here is the declaration of an instance:
<mxml:HTTPServiceGateway id='test' resultFormat="json"
url="http://devsrv/TestApp/launcher.cgi" type="rpc">
<mxml:request xmlns="*">
<p1></p1>
</mxml:request>
</mxml:HTTPServiceGateway>
The problem is that whenever I compile that, I get :
Could not resolve <p1> to a component implementation.
How is it possible to do it for the request property of the
HTTPService component and not for mine whereas I use the same type
(Object).
Thanks in advance.