A Discovery file (residing in C:\Inetpub\wwwr oot\ASPX\WEBSER VICES)
named "Calculator.dis co" has the following code:
<?xml version="1.0" ?>
<disco:discover y xmlns:disco="ht tp://schemas.xmlsoap .org/disco"
xmlns:scl="http ://schemas.xmlsoap .org/disco/scl">
<scl:contractRe f ref="Calculator .asmx?WSDL"/>
</disco:discovery >
Note that the ASMX file "Calculator.asm x" also resides in the same
folder. Now when I type the following command in the command prompt (at
the C:\Inetpub\wwwr oot\ASPX\WEBSER VICES 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 3 2429
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\B in 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******@hotma il.comwrote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
A Discovery file (residing in C:\Inetpub\wwwr oot\ASPX\WEBSER VICES)
named "Calculator.dis co" has the following code:
<?xml version="1.0" ?>
<disco:discover y xmlns:disco="ht tp://schemas.xmlsoap .org/disco"
xmlns:scl="http ://schemas.xmlsoap .org/disco/scl">
<scl:contractRe f ref="Calculator .asmx?WSDL"/>
</disco:discovery >
Note that the ASMX file "Calculator.asm x" also resides in the same
folder. Now when I type the following command in the command prompt (at
the C:\Inetpub\wwwr oot\ASPX\WEBSER VICES 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
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******@hotma il.comwrote in message
news:11******** *************@e 3g2000cwe.googl egroups.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\B in 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******@hotma il.comwrote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
A Discovery file (residing in C:\Inetpub\wwwr oot\ASPX\WEBSER VICES)
named "Calculator.dis co" has the following code:
<?xml version="1.0" ?>
<disco:discover y xmlns:disco="ht tp://schemas.xmlsoap .org/disco"
xmlns:scl="http ://schemas.xmlsoap .org/disco/scl">
<scl:contractRe f ref="Calculator .asmx?WSDL"/>
</disco:discovery >
Note that the ASMX file "Calculator.asm x" also resides in the same
folder. Now when I type the following command in the command prompt (at
the C:\Inetpub\wwwr oot\ASPX\WEBSER VICES 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
Unfortunately the binary for Python-2.4 isn't available yet and I'd
hate to step back to a previous version.
I'm glad I managed to set up my XP machine to being able to compile
extensions using the VC++ toolkit which freely availbale from MS. See
|
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
|
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 advantage, regardless of what browser is actually used.
Anyone know of anything simple and preferably free that will do
this? The site is hosted on a FreeBSD server with access to
CGI-Bin but it does not seem to have a server-side stats log.
...
|
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 LNK2020: unresolved token (0A000007) memset
LINK : error LNK2020: unresolved token (0A000008) free
LINK : error LNK2020: unresolved token (0A00000A) atexit
LINK : error LNK2020: unresolved token (0A000028) wcscpy
LINK : error LNK2020: unresolved...
|
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
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service07162002.asp)
but I don't want clients to have to add two web references and then
manually have to edit the proxy classes. After doing some searching I
found that putting references to multiple web services in a .disco...
| |
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() {
|
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
C:\Inetpub\wwwroot\ASPX\WEBSERVICES prompt):
disco http://localhost/ASPX/WEBSERVICES/Calculator.disco
the following error gets generated:
|
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.
But is there any relationship between these two?
|
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 error msg 'DISCO, wsdl, XML
element not found etc.' I researched and added 'validate=true' in
<httpHandlers><add verb="*.asmx"in machine.config(v1.x) and
web.config(v2.x). Now I try and get 'You are not authorized to view this
page' after I enter...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |