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 / .NET Framework / XML / July 2006

Tip: Looking for answers? Try searching our database.

Get XSD from ASMX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ganesh Muthuvelu - 07 Jul 2006 15:32 GMT
Hello,
I have web service written in .NET and if I go the browser and type in the
.asmx file I get to see all the methods/routines.  Now, is there a way I can
get a XSD of every web method/routine?. The consumer of my web service (third
party) requires me to give a XSD file of every request and response contained
in the web service. Is there a tool that can produce the XSD with the ASMX as
input?.

Thanks,
Ganesh
Martin Honnen - 07 Jul 2006 15:40 GMT
> I have web service written in .NET and if I go the browser and type in the
> .asmx file I get to see all the methods/routines.  Now, is there a way I can
> get a XSD of every web method/routine?. The consumer of my web service (third
> party) requires me to give a XSD file of every request and response contained
> in the web service. Is there a tool that can produce the XSD with the ASMX as
> input?.

If you load/request
  service.asmx?WSDL
then the service returns the WSDL description.

Signature

    Martin Honnen --- MVP XML
    http://JavaScript.FAQTs.com/

Ganesh Muthuvelu - 07 Jul 2006 15:50 GMT
Yes, but that does not seem to be valid XSD file.. When I save it to a file
and try to open with a Altova XSD reader, it produces lots of errors.. Is the
WSDL file supposed to be a valid XSD file?.

Thanks.

> > I have web service written in .NET and if I go the browser and type in the
> > .asmx file I get to see all the methods/routines.  Now, is there a way I can
[quoted text clipped - 6 lines]
>    service.asmx?WSDL
> then the service returns the WSDL description.
Martin Honnen - 07 Jul 2006 16:21 GMT
> Yes, but that does not seem to be valid XSD file.. When I save it to a file
> and try to open with a Altova XSD reader, it produces lots of errors.. Is the
> WSDL file supposed to be a valid XSD file?.

No, a WSDL document describes the web service, it uses XSD inside to
describe the types used but there are additional elements to completely
describe the web service in a way that clients can be generated from the
WSDL document.

Signature

    Martin Honnen --- MVP XML
    http://JavaScript.FAQTs.com/


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.