On Sun, Oct 5, 2008 at 5:16 AM, Bai Shen <[EMAIL PROTECTED]> wrote: > Okay, so I'm working on the tutorial located here. > > Eclipse WTP Tutorials - Creating Top Down Web Service via Apache > Axis2<http://www.eclipse.org/webtools/community/tutorials/TopDownAxis2WebService/td_tutorial.html> > > It uses a parameters object to pass the parameters back and forth. Is that > an Axis2 thing? Or is it just for the example? >
Using a Parameters object is not mandatory, you can even pass in the arguments an individual parameters. > > > Also, I want to pass an array of objects to and from my web service. > What's the best way to do that? I wasn't able to figure out how to create a > WSDL handling an array when I was working with the WSDL editor in Eclipse. > Are you tring to use a code first approach or a contract first approach? You can also have a look at [1], that uses an example where I pass in a array of strings. But it also uses a parameter object (though its not mandatory to do so) Thanks, Keith. [1] http://wso2.org/library/3726 > > > Bai Shen > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org