When I try to navigate to the service it shows me the methods like normal but when I try to see the wsdl I get a file not found error.

I have created both the wsdl.aspx and the disco.aspx. They have been deployed into _vti_bin folder.

I was able to find that an exception was thrown inside of wswsdl.aspx from:

try 
    {
        Server.Execute(newUrl);
    }
    catch (HttpException)
    {
        throw new System.IO.FileNotFoundException(OriginalBaseUrl);
    }

If you need any more information please let me know.

I was able to make some progress. Now it is displaying:


The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Reference to undeclared namespace prefix: 'soap12'. Error processing resource 'http://weivpc:87/_vti_bin/RemoteUpdateWebSer...

<soap12:address location="http://weivpc:87/_vti_bin/RemoteUpdateWebService.asmx" />

With a lot of prayer the answer was finally found :)

This namespace was defined after it was being used. xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"

I moved it to be inside '<wsdl:definitions' and it all started to work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.