473,803 Members | 4,400 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Get XSD from ASMX

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
Jul 7 '06 #1
3 6116


Ganesh Muthuvelu wrote:

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?WS DL
then the service returns the WSDL description.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jul 7 '06 #2
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.

"Martin Honnen" wrote:
>

Ganesh Muthuvelu wrote:

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?WS DL
then the service returns the WSDL description.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jul 7 '06 #3


Ganesh Muthuvelu wrote:
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.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jul 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1694
by: Craig G | last post by:
is there any implications of having more than one asmx page in your webservice i was intending to use a new asmx for each of my classes but a colleague in work says there is problems with this. i cant find anything on the net that says not to do this we are using .net v1.1 Cheers,
0
1302
by: Houssam Zeina | last post by:
Hi, I need to write a service to handle web service discovery and requests without statically defining them in asmx files. I have a pluggable remoting infrastructure. I need to exposee all or some of the plug-in classes as web services, but without creating asmx files for them. I'm particularly interested in the possibility to reuse the whole asp.net web services infrastucture except the part when it traslates requests to .asmx files...
1
3309
by: PeterW | last post by:
On my machine I developed a WebService on localhost and if I browse the asmx file I get the usual page that defines the webmethods exposed by the webservice and the opportunity to get the wsdl file using the Service Description link. This is saved into SourceSafe and then another person in the team gets latest from sourceSafe onto his system to try to run the webService on his localhost, all of the solution builds properly, but any...
1
2390
by: jjouett | last post by:
I'm setting up a manually created WSDL file that defines the specifics of the required elements, default values, etc. instead of using the generated WSDL from the asmx?wsdl mechanism. Everything works with my web service, but I would like to have some mechanism that forwards any asmx?wsdl request to the manually created WSDL, to help guarantee that a client is using the WSDL with the restrictions. I can't turn off all documentation in the...
0
1131
by: wc_chan | last post by:
I wrote a web service projects having 2 asmx and 1 dataset, says dsTest1. The amsx will have a parameter of the dataset as follows: in 1st asmx: <Wethod()HelloWorld1 (byval a1 as dsTest1) as string in 2nd asmx: <Wethod()HelloWorld2 (byval a2 as dsTest1) as string When I ran wsdl for the dynamic discovery file, vsdisco, I got the following
2
1677
by: Steve B. | last post by:
Hi, We have build an ASP.Net 2.0 framework for our corporate sites. This framework add some asmx files that are used by all application. The asmx files only contains the directive <%@ WebService Language="C#" Class="OurFrameworkServiceClass" %> The class is defined in a dll (then w/o source code) that is place in the BIN directory.
5
70514
by: =?Utf-8?B?a3Jpcw==?= | last post by:
I created a simple webservice .asmx on Visual Studio 2005. As I plan to deploy it to Sharepoint Portal 2003, I copied asmx to \web server extensions\60\ISAPI directory of the server, where all other general webservices reside. Everything is just fine - i can access the service with the browser, method list is displayed as well as help texts for them. my question is - how do I generate .wsdl and .disco files for the service? I read...
0
4374
by: dankyy1 | last post by:
hi ,i have an asp.net project runs on local intranet ,i use global.asax's onerror section to catch errors.so i got a simpleauth service does not exists error from some network clients .Error details are below.on my iis i have no virtual file such like this and nothing is installed like that. so what this error means? thanks. Error in: /SimpleAuthWebService/SimpleAuth.asmx Url: /SimpleAuthWebService/SimpleAuth.asmx Error Message: The...
2
2029
by: jparulan | last post by:
Hi All, I am developing web service that does not use IIS, I was successful on deploying a normal web service with System.Data and System.Web namespaces. BUT when I added the System.Messaging and deploy my windows service - I am getting this error while accessing the ASMX test form * I have tried the following already. 1. Remove and Add the System.Messaging from "Reference" 2. System.Messaging does exist from the GAC.
13
3771
by: asmx126453 | last post by:
hey peaple i whas looking on the internet for a solution but i cudent find any so i try it here its about my ASMX file wich contains this rule <%@ WebService Language="c#" Codebehind="DataConnection.asmx.cs" Class="DotNet.dbConnection" %> the error is : Could not create type 'DataConnection the file dataconnection.asmx.cs is located at the root in the folder wsdataconnection. I tryd a lot my self and i know that my asp is...
1
10295
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9125
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6842
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2970
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.