webservice return array of complex items

M

md

Hello

I've created a webservice in .NET and trying to get the results in Word
2003/VBA. I'm using the webservice toolkit (2.01) to create the proxy code.
The toolkit creates the code, but it's not creating the proxy code for the
TestClass. I tried other sample (like the WeatherSample), then it's creating
the correct proxy code. What can be wrong?

[Serializable]
public class TestClass {
public string Test;
}

[WebMethod]
public TestClass[] ReturnItems(){
TestClass[] items = new TestClass[0];
items[0] = new TestClass();
return items;
}


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top