WSDL doesn’t work on non standard ports
If you try to make a web reference to a web service that resides on a non-standard port (i.e. not port 80), you get an error "Unable to download files from …. Do you want to skip these files and continue?"
You get an error if you try to update the reference
Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated.
The reference.map file contains the following
<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://www.someurl.com:809/whatever.asmx?disco" filename="whatever.disco" />
</Results>
</DiscoveryClientResultsFile>
Trying to add a reference manually using WSDL gets the following error
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Warning: no classes were generated.
I worked around the bug, but hopefully word will get out to the Microsoft developers in charge of WSDL.exe to fix this bug.
Fiach,
http://network.programming-in.net
"I before E except after C – Reinvention Being Weighty Science"
Hi how did you fix this?
LikeLike