Home > Uncategorized > WSDL doesn’t work on non standard ports

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&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;


<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://www.someurl.com:809/whatever.asmx?disco&quot; filename="whatever.disco" />



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.



"I before E except after C – Reinvention Being Weighty Science"

Categories: Uncategorized
  1. Eddie
    December 21, 2012 at 12:19 am

    Hi how did you fix this?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: