I have a webservice object in my main application (<s:WebService ... ). I have declared all the operations under this webservice as <operation> tags. If a method/service requires an argument to be passed i use the <request> tag to do so.
I also have several custom components. I felt instead of re-defining the webservice method each time inside the custom component, I wld create a webservice variable in the component and then pass the webservice object from the parent application to the component, whenever the component is included in the main application..
Now my problem is this : Within one of my custom component I have to call a web service method that takes 5 arguments. And all my operations (along with the request parameters) are declared in my parent application. How to I pass the arguments from my custom component to the web service method ?