HighTechTalks DotNet Forums  

wsdl /sharetypes and xmlinclude

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss wsdl /sharetypes and xmlinclude in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
deja@2bytes.co.uk
 
Posts: n/a

Default wsdl /sharetypes and xmlinclude - 10-19-2006 , 05:00 AM






hi,

i have 2 web services each with some of the same types but also each
with their own xmlincludes to include types specific to them. I want to
share the types that are common so I used wsdl /sharetypes but it
hasn't included the xmlinclude objects.

So for instance, Service1 and Service2 both have Add methods that take
a baseClass object. This baseClass object is in my sharedtypes proxy so
I could call my Service1 Add method with this baseClass object and also
Service2 with the same object. But I want to call Service1 Add method
with DerivedClass1 object and Service2 Add method with DerivedClass2
object.

You might wonder why I need to share the types at all in this case -
well, as you can imagine the baseObject has a myType property on it. I
want to use the same myType object on DerivedClass1 object and
DerivedClass2 object.

So how do I do this. I can probably manually edit the shared proxy but
I thought this sharetypes was supposed to do this kind of thing and I
figured I probably just wasn't doing it right.

TIA
Phil


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.