webmethods not working/ not showing in WSDL
- From: "Oleg Ogurok" <oleg@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 2 Oct 2005 20:40:17 -0400
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>
.
- Prev by Date: Re: The data at the root level is invalid exception
- Next by Date: Re: The data at the root level is invalid exception
- Previous by thread: Re: The data at the root level is invalid exception
- Next by thread: Q
- Index(es):
Relevant Pages
|