G
Gary C
Greetings,
I have been working on this problem for over a week and I cant find
any resource or person who has been able to help. I am hoping there is
a developer out here that may have run into a similar problem.
I am having a problem in Visual Studio 2003 using disco.exe to
generate a proxy class for my csharp program.
I can't share all of the data openly but here is the basics: I am
running disco to generate the proxy class.
---
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>disco /
o:"C:\Source\Application\Web References\WSValidate"
http://ServerName:7400/CustomWSDLRequest?userName=AppUser
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://ServerName/SharedResources/Schemas/Container/Public/InquireCustomerResponse.xsd
http://ServerName/SharedResources/Schemas/Container/Public/InquireDeviceRequest.xsd
http://ServerName/SharedResources/Schemas/Container/Public/GenericAsyncResponse.xsd
http://ServerName/SharedResources/Schemas/Container/Public/EchoResponse.xsd
http://ServerName/CustomWSDLRequest?userName=AppUSer
http://ServerName/SharedResources/Schemas/Container/Public/InquireCustomerRequest.xsd
http://ServerName/SharedResources/Schemas/Container/Public/SoapFaultDetails.xsd
http://ServerName/SharedResources/Schemas/Container/Public/RequestAcknowledgement.xsd
http://ServerName/SharedResources/Schemas/Container/Public/InquireDeviceResponse.xsd
http://ServerName/SharedResources/Schemas/Container/Public/EchoRequest.xsd
http://ServerName/SharedResources/Schemas/Types/Public/OurDataModel.xsd
http://ServerName/SharedResources/Schemas/Container/Public/MessageHeader.xsd
http://ServerName/SharedResources/Schemas/Container/Public/GenericAsyncRequest.xsd
The following files hold the content found at the corresponding URLs:
ERROR: Object reference not set to an instance of an object.
If you would like more help, please type "disco /?".
---
The error tells me this is a problem with a NULL Object assignment.
Right? but the log before it tells me that it is FINDING the WSDL and
the referenced XSD's. So where is the empty object coming from?
If I use disco.exe from dotNet 2.0 THIS WORKS. (but it generates
csharp 2005 code which is not compatible with 2003 (obviously) and I
am maintaining code written in csharp 2003 with the dotnet 1.1
framework)
Has this happened to anyone else?
I have tried:
1) manually locating the WSDL and XSD's and they are all available via
an IE browser.
2) re-install of Visual Studio .net 2003
3) using disco.exe from dotNet 2.0 (THIS WORKS)
4) removing ALL dotnet runtimes and SDKs and reinstalling JUST dotnet
v1.1
5) massive amounts of research on the net.
There aren't any special characters in any of the paths
There aren't any errors on loading the WSDL or XSD's
I have full permissions to the local files as an Admin
I am a pretty seasoned developer but I am fairly new to dotnet and
csharp. Can anyone help me???
I am at a loss. this may be something simple. I am open to any
suggestions at this point.
Thank you,
Gary C
I have been working on this problem for over a week and I cant find
any resource or person who has been able to help. I am hoping there is
a developer out here that may have run into a similar problem.
I am having a problem in Visual Studio 2003 using disco.exe to
generate a proxy class for my csharp program.
I can't share all of the data openly but here is the basics: I am
running disco to generate the proxy class.
---
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>disco /
o:"C:\Source\Application\Web References\WSValidate"
http://ServerName:7400/CustomWSDLRequest?userName=AppUser
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://ServerName/SharedResources/Schemas/Container/Public/InquireCustomerResponse.xsd
http://ServerName/SharedResources/Schemas/Container/Public/InquireDeviceRequest.xsd
http://ServerName/SharedResources/Schemas/Container/Public/GenericAsyncResponse.xsd
http://ServerName/SharedResources/Schemas/Container/Public/EchoResponse.xsd
http://ServerName/CustomWSDLRequest?userName=AppUSer
http://ServerName/SharedResources/Schemas/Container/Public/InquireCustomerRequest.xsd
http://ServerName/SharedResources/Schemas/Container/Public/SoapFaultDetails.xsd
http://ServerName/SharedResources/Schemas/Container/Public/RequestAcknowledgement.xsd
http://ServerName/SharedResources/Schemas/Container/Public/InquireDeviceResponse.xsd
http://ServerName/SharedResources/Schemas/Container/Public/EchoRequest.xsd
http://ServerName/SharedResources/Schemas/Types/Public/OurDataModel.xsd
http://ServerName/SharedResources/Schemas/Container/Public/MessageHeader.xsd
http://ServerName/SharedResources/Schemas/Container/Public/GenericAsyncRequest.xsd
The following files hold the content found at the corresponding URLs:
ERROR: Object reference not set to an instance of an object.
If you would like more help, please type "disco /?".
---
The error tells me this is a problem with a NULL Object assignment.
Right? but the log before it tells me that it is FINDING the WSDL and
the referenced XSD's. So where is the empty object coming from?
If I use disco.exe from dotNet 2.0 THIS WORKS. (but it generates
csharp 2005 code which is not compatible with 2003 (obviously) and I
am maintaining code written in csharp 2003 with the dotnet 1.1
framework)
Has this happened to anyone else?
I have tried:
1) manually locating the WSDL and XSD's and they are all available via
an IE browser.
2) re-install of Visual Studio .net 2003
3) using disco.exe from dotNet 2.0 (THIS WORKS)
4) removing ALL dotnet runtimes and SDKs and reinstalling JUST dotnet
v1.1
5) massive amounts of research on the net.
There aren't any special characters in any of the paths
There aren't any errors on loading the WSDL or XSD's
I have full permissions to the local files as an Admin
I am a pretty seasoned developer but I am fairly new to dotnet and
csharp. Can anyone help me???
I am at a loss. this may be something simple. I am open to any
suggestions at this point.
Thank you,
Gary C