HighTechTalks DotNet Forums  

Problems with Microsoft WSDL tool?

Dotnet Framework (Webservices) microsoft.public.dotnet.framework.webservices


Discuss Problems with Microsoft WSDL tool? in the Dotnet Framework (Webservices) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
vips
 
Posts: n/a

Default Problems with Microsoft WSDL tool? - 12-26-2007 , 02:01 AM






I am trying to generate a proxy class from a WSDL contract file that
has nested levels of elements/attribute groups. It seems the WSDL.exe
tool only reads upto a certain nesting level and then it starts
ignoring the elements/attributes that are further referenced using the
'ref' keyword in the schema types.

Is it a known limitation of WSDL tool? If it is a known limitation, is
there any workaround or any other tool that can generate the proxy
class correctly?

Reply With Quote
  #2  
Old   
Spam Catcher
 
Posts: n/a

Default Re: Problems with Microsoft WSDL tool? - 12-26-2007 , 10:10 AM






vips <jain.vips (AT) gmail (DOT) com> wrote in news:b5b69966-3463-45f4-850c-
cb906f5b5714 (AT) s8g2000prg (DOT) googlegroups.com:

Quote:
I am trying to generate a proxy class from a WSDL contract file that
has nested levels of elements/attribute groups. It seems the WSDL.exe
tool only reads upto a certain nesting level and then it starts
ignoring the elements/attributes that are further referenced using the
'ref' keyword in the schema types.

Is it a known limitation of WSDL tool? If it is a known limitation, is
there any workaround or any other tool that can generate the proxy
class correctly?
Are those references self-referencing (i.e. A refers to B, and B refers to
A)?

--
spamhoneypot (AT) rogers (DOT) com (Do not e-mail)


Reply With Quote
  #3  
Old   
vips
 
Posts: n/a

Default Re: Problems with Microsoft WSDL tool? - 12-27-2007 , 05:50 AM



No. Basically, a top level element references another element and then
the element references another child element and so on. Finally, the
deepest element references an attribute group that in turn references
another attribute group which in turn also references another
attribute group (all are independent of each other). The attributes
from the last attribute group are not reflected in the generated proxy
class. However, if I move the last referenced attribute group to one
level above, then the proxy class correctly shows all the attributes
as public properties.

Spam Catcher wrote:
Quote:
vips <jain.vips (AT) gmail (DOT) com> wrote in news:b5b69966-3463-45f4-850c-
cb906f5b5714 (AT) s8g2000prg (DOT) googlegroups.com:

I am trying to generate a proxy class from a WSDL contract file that
has nested levels of elements/attribute groups. It seems the WSDL.exe
tool only reads upto a certain nesting level and then it starts
ignoring the elements/attributes that are further referenced using the
'ref' keyword in the schema types.

Is it a known limitation of WSDL tool? If it is a known limitation, is
there any workaround or any other tool that can generate the proxy
class correctly?

Are those references self-referencing (i.e. A refers to B, and B refers to
A)?

--
spamhoneypot (AT) rogers (DOT) com (Do not e-mail)

Reply With Quote
  #4  
Old   
John Saunders [MVP]
 
Posts: n/a

Default Re: Problems with Microsoft WSDL tool? - 12-28-2007 , 07:50 PM



"vips" <jain.vips (AT) gmail (DOT) com> wrote

Quote:
I am trying to generate a proxy class from a WSDL contract file that
has nested levels of elements/attribute groups. It seems the WSDL.exe
tool only reads upto a certain nesting level and then it starts
ignoring the elements/attributes that are further referenced using the
'ref' keyword in the schema types.

Is it a known limitation of WSDL tool? If it is a known limitation, is
there any workaround or any other tool that can generate the proxy
class correctly?
We'd have to see an example in order to know which problem you're having.
Can you post the smallest possible WSDL file that reproduces the problem?
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer




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 - 2008, Jelsoft Enterprises Ltd.