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 / General / April 2008

Tip: Looking for answers? Try searching our database.

Cross: How to use XSD

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marko - 14 Apr 2008 10:17 GMT
I work with web services based on WSDL and I can add web reference in visual
studio. After that I can declare objets which are instances of webservices.
I can add values to objest properties and call functions of these objects.
Everithing is fine.

But now, I have to use XSD based web service and I don't know how to start.
How to include functions (classes) of this web service? How to add web
reference... or I need to use some other techniques?

Can somebody help how to start?
Michael Nemtsev [MVP] - 14 Apr 2008 13:43 GMT
Hello marko,

What do u mean by "XSD based" ?!
XSD is good to design your message and then generate and validate all messages
it's widely used in heterogeneous systems for example when u design the canonical
schema and convert all mesages into

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

m> I work with web services based on WSDL and I can add web reference in
m> visual studio. After that I can declare objets which are instances of
m> webservices. I can add values to objest properties and call functions
m> of these objects. Everithing is fine.
m>
m> But now, I have to use XSD based web service and I don't know how to
m> start. How to include functions (classes) of this web service? How to
m> add web reference... or I need to use some other techniques?
m>
m> Can somebody help how to start?
m>
Spam Catcher - 14 Apr 2008 19:36 GMT
> What do u mean by "XSD based" ?!
> XSD is good to design your message and then generate and validate all
> messages it's widely used in heterogeneous systems for example when u
> design the canonical schema and convert all mesages into

I think Marko means schema first design.

You're given an XSD in which you need to generate a matching WSDL. Does
anyone have experience with this? I'm facing the same issue. It seems .NET
tools are designed for function first design?

Signature

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

Hal Rosser - 14 Apr 2008 19:13 GMT
>I work with web services based on WSDL and I can add web reference in
>visual studio. After that I can declare objets which are instances of
[quoted text clipped - 6 lines]
>
> Can somebody help how to start?

I don't know about XML Schema Document (XSD) Based web services - but here
is a good site with good tutorials on XML-related subjects:
www.w3schools.com
Jeff Dillon - 14 Apr 2008 20:22 GMT
Check into xsd.exe

Jeff

>I work with web services based on WSDL and I can add web reference in
>visual studio. After that I can declare objets which are instances of
[quoted text clipped - 6 lines]
>
> Can somebody help how to start?
Spam Catcher - 15 Apr 2008 03:24 GMT
> Check into xsd.exe

XSD.exe is horribly limited and doesn't parse many XSDs. Furthermore, I
don't think it works well in a web service environment - because the
WSDL needs to use the pre-defined XSDs not use class representations of
the source code.


> Jeff
>
[quoted text clipped - 8 lines]
>>
>> Can somebody help how to start?

Signature

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

Dan Rosanova - 30 Apr 2008 19:25 GMT
You can get quite a bit out of XSD.exe, but you may want to make changes by
hand as well, it can tend to make ugly classes.  Personally I use BizTalk a
lot, so XSD is it's native language.  I love the product and it's Visual
Studio based development.

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.