Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2007

Tip: Looking for answers? Try searching our database.

Problems with Microsoft WSDL tool?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vips - 26 Dec 2007 07:01 GMT
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?
Spam Catcher - 26 Dec 2007 15:10 GMT
vips <jain.vips@gmail.com> wrote in news:b5b69966-3463-45f4-850c-
cb906f5b5714@s8g2000prg.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
[quoted text clipped - 5 lines]
> 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)?

Signature

spamhoneypot@rogers.com (Do not e-mail)

vips - 27 Dec 2007 10:50 GMT
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.

> vips <jain.vips@gmail.com> wrote in news:b5b69966-3463-45f4-850c-
> cb906f5b5714@s8g2000prg.googlegroups.com:
[quoted text clipped - 14 lines]
> --
> spamhoneypot@rogers.com (Do not e-mail)
John Saunders [MVP] - 29 Dec 2007 00:50 GMT
>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
[quoted text clipped - 5 lines]
> 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?
Signature

--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.