Re: Add Web References problems
From: Russ (russk2_at_eticomm.net)
Date: 05/02/04
- Next message: Matt: "web application definition"
- Previous message: Paul Glavich [MVP - ASP.NET]: "Re: Can a WebService execute a LONG process?"
- Maybe in reply to: Russ: "Re: Add Web References problems"
- Next in thread: [MSFT]: "Re: Add Web References problems"
- Reply: [MSFT]: "Re: Add Web References problems"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 02 May 2004 09:22:26 -0400
Luke, here is some followup information. I have been studying the
problem more...
When I get the error:
> E:\testNet\AuthorsWinClient\Web References\asrv\Reference.map(1): Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated.
It references the file ReferenceMap, line 1. Here is that file:
> <?xml version="1.0" encoding="utf-8"?>
> <DiscoveryClientResultsFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <Results>
> <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://asrv/AuthorsWebService/AuthorsService.asmx?disco" filename="AuthorsService.disco" />
> <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://asrv/AuthorsWebService/AuthorsService.asmx?wsdl" filename="AuthorsService.wsdl" />
> </Results>
> </DiscoveryClientResultsFile>
Is there any problem with the file?
ALSO: You said "I suspect if the VS.NET has been installed
completely", based on the error message above. I took that to mean
that maybe disco.exe was not executing.
First I looked to be sure that Disco.exe exists. I found it at:
E:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Bin\disco.exe
Next, I wanted to see if that directory was included in the execute
dir's of Visual Studio. I found (under tools/options/executable
files, in projects/VC++ Directories): $(FrameworkSDKDir)bin. That is
how I expect VS finds the disco.exe file. (However I did not find any
C# Directories references.)
But when I looked at system or personal environment variables there
was no entry for "FrameworkSDKDir". So I added one, setting it to
E:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\
This did not help, the error message when trying to add a Web
reference is the same. From what I can tell, the problem is not that
disco does not execute, but that it has a problem with the map file.
I tried executing the disco program manually from command line. Here
is what I got:
E:\testNet\AuthorsWinClient\Web
References\asrv>e:\progra~1\micros~1.net\sdk\v1.1\bin\disco
http://asrv/AuthorsWebService/AuthorsService.asmx?disco
Microsoft (R) Web Services Discovery Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Disco found documents at the following URLs:
http://asrv/AuthorsWebService/AuthorsService.asmx?disco
http://asrv/AuthorsWebService/AuthorsService.asmx?wsdl
The following files hold the content found at the corresponding URLs:
.\AuthorsService.disco <-
http://asrv/AuthorsWebService/AuthorsService.asmx?disco
.\AuthorsService.wsdl <-
http://asrv/AuthorsWebService/AuthorsService.asmx?wsdl
The file .\results.discomap holds links to each of these files.
I really don't know where to turn next...
Thanks, Russ
On Fri, 30 Apr 2004 06:32:37 GMT, lukezhan@online.microsoft.com
([MSFT]) wrote:
>Hi Russ,
>
>Can you compile the Web service project and try to run it (A IE windows
>will prompt you to test the web service)? If not, what is the error
>Message? Additionally, from the error message in your message, I suspect if
>the VS.NET has been installed completely. Can you not be able use a dataset
>in any project?
>
>
>Luke
>Microsoft Online Support
>
>Get Secure! www.microsoft.com/security
>(This posting is provided "AS IS", with no warranties, and confers no
>rights.)
- Next message: Matt: "web application definition"
- Previous message: Paul Glavich [MVP - ASP.NET]: "Re: Can a WebService execute a LONG process?"
- Maybe in reply to: Russ: "Re: Add Web References problems"
- Next in thread: [MSFT]: "Re: Add Web References problems"
- Reply: [MSFT]: "Re: Add Web References problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|