Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > web service and ixmlserializable

Thread Tools

web service and ixmlserializable

Posts: n/a

I have a web service that returns an array of classes which is

However, my visual studio thinks the return is dataset[] instead of
myclass[]. I googled internet, and found this link saying that it is a

But when I changed my code according to the suggestion in that
document, it only returns the 1 data, not the whole data. When I view
my web service using IE, I can see all the data.

[System.Web.Services.Protocols.SoapDocumentMethodAt tribute("http://", RequestNamespace="",
Use=System.Web.Services.Description.SoapBindingUse .Literal,
ParameterStyle=System.Web.Services.Protocols.SoapP arameterStyle.Wrapped)]

public MyTestClass[] GetMyObject() {
object[] results = this.Invoke("GetMyObject", new object
return ((MyTestClass[])(results[0]));

Can someone help me?

Many Thanks

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IXmlSerializable =?Utf-8?B?Ym9iYnk=?= ASP .Net 2 09-29-2007 02:04 PM
IXmlSerializable.GetSchema creates mutiple schema elements in my wsdl Jeremy ASP .Net Web Services 3 07-18-2007 11:35 PM
webservice and IXMLSerializable Frederik Vanderhaegen ASP .Net Web Services 0 10-31-2006 08:25 AM
Desperate please help with XmlSerializer, IXmlSerializable and XmlSchemaProvider ASP .Net Web Services 0 04-10-2006 04:34 PM
IXmlSerializable: return type & difference IE / webservice Thomas D. ASP .Net Web Services 1 09-01-2005 02:29 PM