wsdl, disco not found or 'You are not authorized to view the page'

dotnet framework

    Next

  • 1. Error to define two messages soap with the same root node of response
    Hi Why is not posible to define two messages soap with the same root node in the response? This code: public class Sample : System.Web.Services.WebService { [System.Web.Services.WebMethodAttribute()] [System.Web.Services.Protocols.SoapDocumentMethodAttribute(ResponseElementName = "X", ResponseNamespace = "N")] public bool initModule(){ return true; } [System.Web.Services.WebMethodAttribute()] [System.Web.Services.Protocols.SoapDocumentMethodAttribute(ResponseElementNa me="X", ResponseNamespace="N")] public bool startActivity() { return true; } } Throws InvalidOperationException exception Thanks In advance Javier
  • 2. how to convert a string conform to xml encoding?
    I have a SOAP request as a string containing a '&'. because of that, the request doesn't work, because I have to replace '&' with '&' . But this is not the only special character I have to consider, right? is there a function in the .NET framework 1.1 that converts the string conform to xml encoding?
  • 3. Is it possible to pass a XML document as a Web Service parameter?
    Hi all. I would like to create two web services: - The first one - ImportData - should take as an input parameter a XML document and return an integer saying if passed XML document was valid and was succesfully processed. - The second one - ExportData - should take as an input parameter an integer an return a XML document. I would like to know if it is possible to do something like that. Do I have to do some conversions e.g. parsing XML document into single strings before sending it? Or maybe all I have to do is simply pass a XML document as a parameter? Any sample code or links would be appreciated. Thanks in advance, placek

wsdl, disco not found or 'You are not authorized to view the page'

Postby TGVraGEgSm9obnNvbg » Wed, 20 Jun 2007 04:59:01 GMT

Hi all
I created a custom web service, generated XXwsdl.aspx, XXdisco.aspx and 
copied them to SP server. I can see the webservice while adding Web 
Reference. But the system showed the classical error msg 'DISCO, wsdl, XML 
element not found etc.' I researched and added 'validate=true' in 
<httpHandlers><add verb="*.asmx"> in machine.config(v1.x) and 
web.config(v2.x). Now I try and get 'You are not authorized to view this 
page' after I enter my SP uid and pwd. I have the Admin rights on the 
account. Actually, I find these 2 error messages on consecutive tries.

Anybody got any ideas, pls share. 

Thanks

Similar Threads:

1.You are not authorized to view this page HTTP Error 403 - Forbidden

Hello.

I developed and tested a web application using VS.NET 2003, VB, .NET
Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1.  It uses a web form.

Development testing works fine on my development computer, but when i take
the files to another computer and install them using the deployment project
files, when i go to execute it on the different computer, it gives the error
"You are not authorized to view this page.  HTTP Error 403 - Forbidden.

I am logged on the computer as Administrator.

I gave all of the following full permissions to the wwwroot folder:
Administrastor
Administrators Group
IUSR
System
Network
ASP.NET user

Any help would be gratefully appreciated.

Thanks,
Tony



2.You are not authorized to view this page - II 6.0/Windows 2003

3."You are not authorized to view this page"

4.You are not authorized to view this page

I just cannot read any more MSDN articles on IIS6 and ASP.Net authentication ...
everything is blurry now, tanks to old eyes.

Here is a topo of my environment:

- W2K3 SP1 (IIS 6)

- Web site is a virtual directory under Default Web Site

- Web site is configured with "Integrated Windows Authentication" and the "Enable
anonymous access" is not checked.

- Web site is using a custom application pool.

- Web.config has:
    <authentication mode="Windows" />
    <identity impersonate="false" />

- The application pool is using a domain account and this account is a member of IIS_WPG
on the IIS server.

Here is what is happenning:

- When I use IE from the IIS server, I can access my web application no problem.

- When I use IE from another server member of the same AD domain, I always get prompted to
enter credentials. I'm logged on with the domain administrators on that other server. The
only credentials that will allow me to use the web site are those that reside on the IIS
server;  <servername>\account.  <domain>\account does not work.

Anyone has a clue which turn I missed in the process?



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 98 guest