err.number
New member
- Joined
- Oct 23, 2006
- Messages
- 1
- Programming Experience
- 5-10
Ok, i've got a web services that returns
WidgetCollection
which just inherits CollectionBase.. it's a collection of Widget objects (obviously) ..
simple .asmx with a webmethod that returns a WidgetCollection
Now, when I view the WSDL, it serializes my WidgetCollection type to a complex type
I create a simple test client .aspx page, and when I add the web reference, I need to create a local object to hold the output of my service.. it will pickup the service.Widget class in intellisense, but not the WidgetCollection type.. I try using ArrayList, but that wouldn't compile..
I hope I'm making sense here.. Thanks in advance
WidgetCollection
which just inherits CollectionBase.. it's a collection of Widget objects (obviously) ..
simple .asmx with a webmethod that returns a WidgetCollection
Now, when I view the WSDL, it serializes my WidgetCollection type to a complex type
HTML:
</s:complexType>
<s:complexType name="ArrayOfWidget">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Widget" nillable="true" type="tns:Widget" />
</s:sequence>
</s:complexType>
I create a simple test client .aspx page, and when I add the web reference, I need to create a local object to hold the output of my service.. it will pickup the service.Widget class in intellisense, but not the WidgetCollection type.. I try using ArrayList, but that wouldn't compile..
I hope I'm making sense here.. Thanks in advance
Last edited by a moderator: