0 Replies Latest reply on Nov 29, 2010 8:00 AM by linrsvp

    Calling a webservice method within a custom component



      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 ?