Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cross: How to use XSD

0 views
Skip to first unread message

Marko

unread,
Apr 14, 2008, 5:17:03 AM4/14/08
to
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]

unread,
Apr 14, 2008, 8:43:10 AM4/14/08
to
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>


Hal Rosser

unread,
Apr 14, 2008, 2:13:26 PM4/14/08
to

"Marko" <mar...@hotmail.com> wrote in message
news:ftv7jf$ilj$1...@sunce.iskon.hr...

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


Spam Catcher

unread,
Apr 14, 2008, 2:36:27 PM4/14/08
to
Michael Nemtsev [MVP] <nem...@msn.com> wrote in
news:900895ec37a308...@msnews.microsoft.com:

> 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?

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

Jeff Dillon

unread,
Apr 14, 2008, 3:22:32 PM4/14/08
to
Check into xsd.exe

Jeff

"Marko" <mar...@hotmail.com> wrote in message
news:ftv7jf$ilj$1...@sunce.iskon.hr...

Spam Catcher

unread,
Apr 14, 2008, 10:24:40 PM4/14/08
to
"Jeff Dillon" <jeffd...@hotmailremove.com> wrote in
news:#L#siTmnI...@TK2MSFTNGP03.phx.gbl:

> 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.

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

Dan Rosanova

unread,
Apr 30, 2008, 2:25:01 PM4/30/08
to
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.
0 new messages