Solved

XSD from C# WebService.

Posted on 2003-10-30
1
798 Views
Last Modified: 2006-11-17
Hi,

From my C# application then I would like to add a ref to a Webservice. This is no a problem. However, I have the need to generate a XSD based on the Webservice that I am calling.
Can you please tell me if this is possible in the VS.NET IDE..?
If not then do you have any suggestions on how I can do this?

Regards
0
Comment
Question by:hollis_uk
1 Comment
 
LVL 1

Accepted Solution

by:
net99online earned 125 total points
ID: 9661964
when you are adding a webrerence you will find 2 links points to the schema of the service which are :

view contract
service description

when you click on either of them the schema will be downloaded
or you can the schema XML by Calling the address of the service and adding "?WSDL" after the service filename

example:
http://localhost/WebService1/Service1.asmx?WSDL

0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now