Expand my Community achievements bar.

Execute Web Service with array of objects as parameter

Avatar

Former Community Member
I am having trouble calling a web service that accepts an array of objects as one of the parameters. I created the connection using the wsdl. I just don't know how to populate the articles array and pass it to the web service from with Adobe.



Here is my web method.



[WebMethod]

public string ReceiveArticles(

[XmlElement(typeof(Article))] ArrayList articles)

{

string s;

foreach(Article article in articles)

{

s = article.Description;

}



return "success";

}
0 Replies