Marcelo
8/13/2003 1:13:00 PM
Hello Yanhong and thank you for your response. That was
exactly it. I ended up adding the following lines to the
app. Web.config file
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
and it works fine now.
Can I ask you another question (related topic). Every
time we browse the the production web server to access
the Web Services, we get the following error:
Compilation Error
Description: An error occurred during the compilation of
a resource required to service this request. Please
review the following specific error details and modify
your source code appropriately.
Compiler Error Message: CS1595: 'System.IO.StringWriter'
is defined in multiple places; using definition
from 'C:\winnt\microsoft.net\framework\v1.0.3705
\mscorlib.dll'
Source Error:
Line 45: OperationBinding httpPostOperationBinding;
Line 46: Operation httpPostOperation;
Line 47: StringWriter writer;
Line 48: MemoryStream xmlSrc;
Line 49: XmlTextWriter xmlWriter;
Source File: c:\winnt\microsoft.net\framework\v1.0.3705
\Config\DefaultWsdlHelpGenerator.aspx Line: 47
>-----Original Message-----
>Hello Marcelo,
>
>Thanks for posting in the group.
>
>Based on my understanding, the machine.config file was
changed in .NET framework 1.1. at
>windows direcotry\microsoft.net\framework\v1.1.4322
\config\machine.config
>
>The lines changed:
>
> <webServices>
> <protocols>
> <add name="HttpSoap1.2"/>
> <add name="HttpSoap"/>
> <!-- <add name="HttpPost"/> -->
> <add name="HttpGet"/>
> <add name="HttpPostLocalhost" />
> <add name="Documentation"/>
>
>Please enable those comment parts to see if web methods
are appeared in IE.
>
>If problem is still there, please post here.
>
>Best regards,
>Yanhong Huang
>Microsoft Online Partner Support
>
>Get Secure! - www.microsoft.com/security
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>--------------------
>!Content-Class: urn:content-classes:message
>!From: "Marcelo" <mareal@remember.com>
>!Sender: "Marcelo" <mareal@remember.com>
>!Subject: .NET Framework 1.1
>!Date: Tue, 12 Aug 2003 09:25:44 -0700
>!Lines: 10
>!Message-ID: <003c01c360ee$61029cf0$a401280a@phx.gbl>
>!MIME-Version: 1.0
>!Content-Type: text/plain;
>! charset="iso-8859-1"
>!Content-Transfer-Encoding: 7bit
>!X-Newsreader: Microsoft CDO for Windows 2000
>!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>!Thread-Index: AcNg7mECMYlfz4dNSjeDR+wvbrSb4g==
>!Newsgroups:
microsoft.public.dotnet.framework.aspnet.webservices
>!Path: cpmsftngxa06.phx.gbl
>!Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:18744
>!NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
>!X-Tomcat-NG:
microsoft.public.dotnet.framework.aspnet.webservices
>!
>!We have updated our web server to use .NET Framework
1.1
>!and we have re-compiled our web services under .NET
>!Framework 1.1
>!
>!We have found that the web methods fields DO NOT appear
>!when browsing the asmx page. In other words, the labels
>!and the text boxes we used to see after clicking on a
web
>!method are no longer there.
>!
>!Any ideas?
>!
>
>
>.
>