Hi

I am trying to create a document based webservice on axis 1.4.

I want to build a WebService that integrates with an ERP. I want to fetch data from X articles in the database.

I have no problem creating a simple document based webservice that fetches data about ONE article in the database.
How can I extend this WebService so that a client can request data for example 10 articles in the same WebService?

Array? List? It needs to be a String Bean Object I guess.

Lets say a client wants data about 10 articles. How would I return data as a "nested" (array,list??) response?

public class Article{
public String getArticle(){
return articleNumber;
}
public void setArticle(String artikelNummer){
this.articleNumber= artikelNummer;
}
}

class ArticleWS{
private ArticleAdapter adapter = new ArticleAdapter();
public Article getProductByArticleID(String company,String productID){
return adapter.getProductByArticleID(company,productID);
}
}

class ArticleAdapter{
public Article getProductByArticleID(String company,String artId){
Article prod = new Article();
.
.
.
.
return prod;
}
}