|
-
Apr 3rd, 2003, 12:59 PM
#1
Thread Starter
Junior Member
web services and custom types
I am trying to return a custom type from a web service. This is a fairly huge solution, with lots of projects within it, and I am writing a web service to expose one tiny part of it.
Anyway, in the solution there are several namespaces, and within those, some of the class names are the same. ie.
NameSpace.Widget
SomeOtherNameSpace.Widget
When I try to return a 'NameSpace.Widget' from the web service, I get an error saying "Types NameSpace.Widget and SomeOtherNameSpace.Widget both use the XML type name, Widget, from namespace http://TheNameSpaceMyWebServiceIsIn.com. Use XML attributes to specify a unique XML name and/or namespace for the type."
Where do I add these XML attributes so that it can tell them apart?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|