webmethods not working/ not showing in WSDL

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,

One of my developers is having this problem. His asmx and asmx.cs files are
good. However, when he launches the web service page in IE, he's not getting
the list of web methods. His WSDL output is always empty, the kind you get
when you add a brand new ASMX file to a project.

What's really weird is that other users don't have this problem with the
same solution (it's under source control, and we've compared files).
I even checked the .DLL under
WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\... with
Reflector, decompiled it and saw the codebehind class has the right methods
in them. The file under bin folder of the IIS directory also has the proper
DLL.

I also tried deleting everything under Temporary ASP.NET Files and
restarting IIS but it didn't help.

Here's the WSDL output:

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns="http://tempuri.org/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
targetNamespace="http://tempuri.org/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
<wsdl:types />
<wsdl:service name="SessionManager">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/"; />
</wsdl:service>
</wsdl:definitions>



.



Relevant Pages

  • Re: Dynamic WSDL?
    ... Actually the auto generation of the asmx may be a way I could go, ... > a new DLL in a specific directory, it starts up, examines each DLL in the ... >> GetUser ... so I would like to have a web service with the following ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Bin directory
    ... Why I don't have a bin directory with a dll when I create a web service project and generate the site web. ... A Web service is not a executable exe or DLL so all the Web server needs to host a Web service is the .asmx, and the .asmx needs the .VB code behind file associated to the .asmx to host the solution. ... The only time you would need a Bin directory is if the Web service had references set to some 3rd party DLL, as an example, that it was using, and the DLLwould be kept in the Bin directory of the Web site's virtual directory for the solution. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Internal access modifier is not working the way I thought it would.
    ... that DLL as a reference and use that class / method / field / etc. ... The programmers I'm referring to, I have never met, ... there is no way to include the web service in the DLL that I want to ... within the AccessUtils web service. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Internal access modifier is not working the way I thought it would.
    ... I'm perfectly willing to let the DLL access the web service. ... within the AccessUtils web service. ... instantiate methods and forms from ProvideWorkFlow, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Implementing a common SOAP Header across multiple Web Service Pages
    ... to set a client up to reference multiple Web ... the Web Service site would ... Your point about leaving the ASMX page as lean as possible and acting just ...
    (microsoft.public.dotnet.framework.webservices)