473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Disco Not Compiling?

A Discovery file (residing in C:\Inetpub\wwwroot\ASPX\WEBSERVICES)
named "Calculator.disco" has the following code:

<?xml version="1.0" ?>
<disco:discovery xmlns:disco="http://schemas.xmlsoap.org/disco"
xmlns:scl="http://schemas.xmlsoap.org/disco/scl">
<scl:contractRef ref="Calculator.asmx?WSDL"/>
</disco:discovery>

Note that the ASMX file "Calculator.asmx" also resides in the same
folder. Now when I type the following command in the command prompt (at
the C:\Inetpub\wwwroot\ASPX\WEBSERVICES prompt):

disco http://localhost/ASPX/WEBSERVICES/Calculator.disco

the following error gets generated:

ERROR: http://localhost/ASPX/WEBSERVICES/Calculator.disco
- The document at the url
http://localhost/ASPX/WEBSERVICES/Calculator.disco was not recognized
as a known document type.
The error message from each known type may help you fix the problem:
- Repot from 'DISCO Document' is 'Discovery document at the URL
http://localhost/ASPX/WEBSERVICES/Calculator.disco could not be
found.'.
- The document format is not recognized.
-Report from 'WSDL Document' is 'There is an error in XML document (2,
2).'.
- <discovery xmlns='http://schemas.xmlsoap.org/disco'was not
expected.

What am I doing wrong?

Thanks,

Arpan

Sep 6 '06 #1
3 2418
To access the discovery document of an XML Web service named
Calculator.asmx that is part of an application named WEBSERVICES
on your local machine, use the following URL:

http://localhost/WEBSERVICES/Calculator.asmx?DISCO

If your application root is in /ASPX, then use :

http://localhost/ASPX/WEBSERVICES/Calculator.asmx?DISCO

See a reference thread at :
http://www.mail-archive.com/co******.../msg00901.html


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11*********************@i42g2000cwa.googlegro ups.com...
>A Discovery file (residing in C:\Inetpub\wwwroot\ASPX\WEBSERVICES)
named "Calculator.disco" has the following code:

<?xml version="1.0" ?>
<disco:discovery xmlns:disco="http://schemas.xmlsoap.org/disco"
xmlns:scl="http://schemas.xmlsoap.org/disco/scl">
<scl:contractRef ref="Calculator.asmx?WSDL"/>
</disco:discovery>

Note that the ASMX file "Calculator.asmx" also resides in the same
folder. Now when I type the following command in the command prompt (at
the C:\Inetpub\wwwroot\ASPX\WEBSERVICES prompt):

disco http://localhost/ASPX/WEBSERVICES/Calculator.disco

the following error gets generated:

ERROR: http://localhost/ASPX/WEBSERVICES/Calculator.disco
- The document at the url
http://localhost/ASPX/WEBSERVICES/Calculator.disco was not recognized
as a known document type.
The error message from each known type may help you fix the problem:
- Repot from 'DISCO Document' is 'Discovery document at the URL
http://localhost/ASPX/WEBSERVICES/Calculator.disco could not be
found.'.
- The document format is not recognized.
-Report from 'WSDL Document' is 'There is an error in XML document (2,
2).'.
- <discovery xmlns='http://schemas.xmlsoap.org/disco'was not
expected.

What am I doing wrong?

Thanks,

Arpan


Sep 6 '06 #2
Thanks, Juan, for the suggestion. It worked now.

& thanks for the suggestion to re-install .NET2.0 SDK in my other post
as well. After uninstalling & re-installing the SDK, disco.exe showed
up in C:\Program Files\Microsoft.NET\SDK\v2.0\Bin directory. But the
strange thing is before uninstalling the SDK, the Bin directory had
only 23 files & no folders but after re-installing the SDK, now the Bin
directory houses 66 objects (2 of which are hidden) - 2 directories &
64 files!

Thanks once again,

Regards,

Arpan

Juan T. Llibre wrote:
To access the discovery document of an XML Web service named
Calculator.asmx that is part of an application named WEBSERVICES
on your local machine, use the following URL:

http://localhost/WEBSERVICES/Calculator.asmx?DISCO

If your application root is in /ASPX, then use :

http://localhost/ASPX/WEBSERVICES/Calculator.asmx?DISCO

See a reference thread at :
http://www.mail-archive.com/co******.../msg00901.html


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11*********************@i42g2000cwa.googlegro ups.com...
A Discovery file (residing in C:\Inetpub\wwwroot\ASPX\WEBSERVICES)
named "Calculator.disco" has the following code:

<?xml version="1.0" ?>
<disco:discovery xmlns:disco="http://schemas.xmlsoap.org/disco"
xmlns:scl="http://schemas.xmlsoap.org/disco/scl">
<scl:contractRef ref="Calculator.asmx?WSDL"/>
</disco:discovery>

Note that the ASMX file "Calculator.asmx" also resides in the same
folder. Now when I type the following command in the command prompt (at
the C:\Inetpub\wwwroot\ASPX\WEBSERVICES prompt):

disco http://localhost/ASPX/WEBSERVICES/Calculator.disco

the following error gets generated:

ERROR: http://localhost/ASPX/WEBSERVICES/Calculator.disco
- The document at the url
http://localhost/ASPX/WEBSERVICES/Calculator.disco was not recognized
as a known document type.
The error message from each known type may help you fix the problem:
- Repot from 'DISCO Document' is 'Discovery document at the URL
http://localhost/ASPX/WEBSERVICES/Calculator.disco could not be
found.'.
- The document format is not recognized.
-Report from 'WSDL Document' is 'There is an error in XML document (2,
2).'.
- <discovery xmlns='http://schemas.xmlsoap.org/disco'was not
expected.

What am I doing wrong?

Thanks,

Arpan
Sep 6 '06 #3
Glad to see it worked for you, Arpan!

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Thanks, Juan, for the suggestion. It worked now.

& thanks for the suggestion to re-install .NET2.0 SDK in my other post
as well. After uninstalling & re-installing the SDK, disco.exe showed
up in C:\Program Files\Microsoft.NET\SDK\v2.0\Bin directory. But the
strange thing is before uninstalling the SDK, the Bin directory had
only 23 files & no folders but after re-installing the SDK, now the Bin
directory houses 66 objects (2 of which are hidden) - 2 directories &
64 files!

Thanks once again,

Regards,

Arpan

Juan T. Llibre wrote:
To access the discovery document of an XML Web service named
Calculator.asmx that is part of an application named WEBSERVICES
on your local machine, use the following URL:

http://localhost/WEBSERVICES/Calculator.asmx?DISCO

If your application root is in /ASPX, then use :

http://localhost/ASPX/WEBSERVICES/Calculator.asmx?DISCO

See a reference thread at :
http://www.mail-archive.com/co******.../msg00901.html


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11*********************@i42g2000cwa.googlegro ups.com...
A Discovery file (residing in C:\Inetpub\wwwroot\ASPX\WEBSERVICES)
named "Calculator.disco" has the following code:

<?xml version="1.0" ?>
<disco:discovery xmlns:disco="http://schemas.xmlsoap.org/disco"
xmlns:scl="http://schemas.xmlsoap.org/disco/scl">
<scl:contractRef ref="Calculator.asmx?WSDL"/>
</disco:discovery>

Note that the ASMX file "Calculator.asmx" also resides in the same
folder. Now when I type the following command in the command prompt (at
the C:\Inetpub\wwwroot\ASPX\WEBSERVICES prompt):

disco http://localhost/ASPX/WEBSERVICES/Calculator.disco

the following error gets generated:

ERROR: http://localhost/ASPX/WEBSERVICES/Calculator.disco
- The document at the url
http://localhost/ASPX/WEBSERVICES/Calculator.disco was not recognized
as a known document type.
The error message from each known type may help you fix the problem:
- Repot from 'DISCO Document' is 'Discovery document at the URL
http://localhost/ASPX/WEBSERVICES/Calculator.disco could not be
found.'.
- The document format is not recognized.
-Report from 'WSDL Document' is 'There is an error in XML document (2,
2).'.
- <discovery xmlns='http://schemas.xmlsoap.org/disco'was not
expected.

What am I doing wrong?

Thanks,

Arpan

Sep 7 '06 #4

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

Similar topics

0
by: Martin Bless | last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very much like to use mssql-0.09.tar.gz which is available from http://www.object-craft.com.au/projects/mssql/download.html ...
2
by: microdevsolutions | last post by:
Hello Within the web service architecture can someone briefly explain what the following are used for, how each are created, and whether any are optional :- wsdl file disco file proxy file
31
by: Mike | last post by:
I'm after a *simple* script to log each visitor to a website. All I actually need is the visitor's reported IP address whether genuine, proxied or hidden. Their reported browser type would be an...
4
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error...
3
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types...
0
by: Peter Theill | last post by:
I have these two web services: namespace WebService1 { public class Service1 : System.Web.Services.WebService { public Service1() { } public string HelloWorld() {
5
by: Arpan | last post by:
A Discovery file named "Calculator.disco" exists in "C:\Inetpub\wwwroot\ASPX\WEBSERVICES" folder. Now when I enter the following command in the command prompt (at the...
1
by: archana | last post by:
Hi all, Can anyone tell me what is difference between disco file and uddi file. I know that disco file is discover file where u can specify list of web service. and uddi is like repository. ...
0
by: =?Utf-8?B?TGVraGEgSm9obnNvbg==?= | last post by:
Hi all I created a custom web service, generated XXwsdl.aspx, XXdisco.aspx and copied them to SP server. I can see the webservice while adding Web Reference. But the system showed the classical...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...

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.