microsoft.public.dotnet.framework.aspnet.webservices Archive - July 2003
Post a message to this list
Messages
Page: 123
Change the request stream in HttpModule. (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am trying to decrypt the encrypted message that is coming to HttpModule. After decrypting the message, I need to write the decrypted message into request's Inputstream. I tried to add a filter to request object by adding httpApp.Context.Request.Filter new RequestFilter(httpApp.Context.Request.Filter, key, base64data); In the RequestFilter class, I am decrypting the base64data and want to make th...
Doc/literal web services in ASP.NET (newbie) (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, Just getting started playing around with ASP.NET and hit a wall pretty quickly. I am trying to put together some simple doc/literal services for interoperability testing and I hit the wall pretty quickly. If anyone has experience creating doc/literal services in ASP.NET (language doesn't matter, but C# or J# is easier being a Java guy) I would really appreciate a quick tutorial or at least a p...
Behaviour change between 1.0 and 1.1 (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Under 1.0 I've been using the following Javascript to access my web service. It works. var xmlFile "http://localhost/WebServiceNaCl/NaClService.asmx/g etCallerId"; xmlDoc new ActiveXObject("Microsoft.XMLHTTP"); try{ xmlDoc.open("POST", xmlFile, false); }catch(e) { alert("1" e xmlDoc ); return; } xmlDoc.setRequestHeader ("SOAPAction", '"' "http://intervoice.com/webservices/getCa llerId" '"'); xmlDo...
Accessing a file by logical path. (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi All, In an ASP.Net web service applcation (sample.dll), We tried to access a file, as try { // I will have to access the file by logical path StreamReader reader new StreamReader(\com\sample\sample.txt); } catch(Exception e) { Console.WriteLine(e.Message); } We copied the sample.dll in the \Bin directory and under the Bin directory we have com\sample\ directories. Now when we test the web seriv...
wse filter and <wsu> time stamps (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Dear all, Firstly thanks for reading my post. I've added a filter to my web service and for some reason a wsu tag is being added to my output xml header after my filter has finished processing (I know this cos I've written the xml to an output file before the filter completes). Does anyone know how to stop the wsu tag being added to my xml ? My web.config file is ?xml version &quot;1.0&quot; encoding &quot;utf 8...
Transactions in remoting (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Has anyone rolled back a remote transaction from the client? I want to be able to change a piece of data on the server and then change some data on the client, and then rollback on the server if I have to. I am running serviced components on both the client and the server. Thanks. Mike Malter mikemalter@nospam.com (remove the you know what and replace it with maltercorp)
getting the return value of a web form. (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hello all, I have a web form that enables searching for specific terms (a kind of a search engine). This form is used within another winform application, that opens a web browser, then the user search for the specific term, and the result is returned to the win form. currently, the search engine puts the result in a hidden input and the win form uses MSHTML for retrieving it. The problem is that t...
The channel is already registered error (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am getting this error the second time I step into my remote code. Is there some kind of a test to make sure that I do not call ChannelServices.RegisterChannel(http); if http is already registered? Thanks. Mike Malter mikemalter@nospam.com (remove the you know what and replace it with maltercorp)
Error when trying to debug my web service (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I get an error when trying to debug my web service: System.ArgumentException: Error binding to target method. Any ides... Vik
WSE - Very slow decryption of incoming data (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I developed a WSE enabled client side program to consume a WSE enabled web service on a remote server. Both server side and client side use asymmetric cryptography (PKI) to verify the other party and exchange data. The workflow of data exchange is as: 1) Client loads Server's certificate, which contains Server's public key, from the local drive, then uses it to encrypt the SOAP request; 2) Client ...
.NET Web Service / Basic Authentication with Pocket PC client (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am trying to access a VB.NET web service that I have setup with Basic authentication via a VB.NET compact framework Pocket PC application. When I attempt to make the call I get the following message: An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in System.dll Additional information: An existing connection was forcibly closed by the remote host Here is the code I am...
Problem testing web service on local machine (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I'm not sure what I've done wrong but after writting by service I build and try to browse it. I get the description ok but when I invoke the actual service all I get is and http page error 500. All the aspx files work but I can't figure out why the service part isn't working. Larry Larry@froghaven.com
Web service from CE Emulator (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I've &quot;ported&quot; my PPC app over to CE. Since I don't have a CE device, I'm using the CE Emulator. I check for connectivity using the HttpWebResponse's StatusCode property trick. It has connectivity. I then get to the following point in the Reference.map of the web reference and it bombs: Public Sub New() MyBase.New Me.Url &quot;http://simpson1/tezDataAccess/tezAccess.asmx&quot; End Sub ' remarks/ System.Web.S...
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi. I've read several posts on this and the general consensus seems to be if you override the GetWebRequest and set .KeepAlive False it cures the problem. This worked well BUT after setting this I was unable to get proxy authentication working, always getting a 407 Proxy Authentication required. I have tried several ways of getting through the proxy i.e. 1. g PROXY.Credentials New Net.NetworkCrede...
show data from dataset in textbox (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I would like to show the data I have pulled from a dataset in to a textbox.text method: DataTable dt CatDBSet.Tables[&quot;Categories&quot;]; DataRow dr dt.Rows[Cat Index]; Cat Des Text.Text dr[&quot;Cat Des&quot;].ToString(); this is a simple code to get the data from datatable's idnexed row's requested column and show it in a textbox.text method. But I get this error message: Object reference not set to an inst...
Trying again - please help! (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I have a big web project with both classic ASP and ASP.NET mixed and it works perfectly. We have started to make a few web services and the services work just fine and we can use the ?WSDL option, but we cannot get the nicely formatted page, with the description of the web service (when just typing the web service name in the browser). We get the message shown at the end of this message. Pleas...
error connection closed webservice aspx samples (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am trying out the quickstart asp.net samples and I get an webexception error underlying connection is closed example: section webservices created with ASP.net XML Web service Type marshalling the asmx samples like VB datatypes.asmx work fine but the but the VB datatypesclient.aspx gives following webexeception: Any Ideas how to solve this? Cybarber underlying connection closed can't make connett...
Returning a user defined object (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I'm repost this from &quot;framework.webservices&quot; to this one since this newsgroup is managed... I have a class library project that contains a class called Result. This result class is defined in the attachment... The result class is referenced by both a Web service and a Windows app or Web app. The web service receives a call to get a dataset. This function returns an object of the result class. This...
Chaning the moniker on the SOAP response (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi all, Is there any way of setting a moniker for the xmlns on the SOAP response message coming out from a .NET web service, without actually processing the SOAP message itself? For example, if you create a new web service (the default), run it and invoke the HelloWorld method from the test page, the response looks like this: ?xml version &quot;1.0&quot; encoding &quot;utf 8&quot; ? string xmlns &quot;http://tempuri.org/&quot;...
ASP .net impersonation not working (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have a couple of pages that I'm using in an Intranet site. One page accesses a file server to display contents of it and another grabs information and display's it from a SQL database. Now the web server is running Win2K and IIS 5 or above. And when I browse the pages locally the impersonation works just fine. When I try and view the pages from any location other then the server I get access den...
deploying a web service to a different machine (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I'm sure everyone who deploys web services has this problem but I can't find the answer in MSDN. I've developed a web service and client app which work fine in the development environment. Now I want to move it into production. However, the auto generated code (...\Reference.cs) in the client app has the URL for the web service hard coded in it and contains a note saying &quot;changes to this file ...
how to avoid going thru proxy (setup in IE) for referenced web service? (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have a C# app that references a web service. I create the object for the reference: localhost.GetTimeCls cls new localhost.GetTimeCls(); then I change the location from localhost to a fixed ip: cls.Url &quot;http://172.16.0.4/GetTimeService/GetTime.asmx&quot;; This works great UNLESS I have IE setup to use a proxy server (without saving the username, password and domain in IE). Then, it will fail because ...
returning html instead of xml from an ASP.Net web service (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi All, I have written a web service in ASP.Net using VB as a language. Now I have some web methods in it. These methods return XML as output to the client. I want to return html as output. How can I achieve it? Regards, Sriram Mallajyosula
Webservice, add SOAP-Header (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi all I've added a web reference to a simple client application in VS.NET. But I have to add a soap header to each outgoing request. Does there exist a possibility to register an interceptor which adds the soap header??? Need help. Thanks a lot!
Webservices and vb6 client (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi! I have a problem with web service that uses private variables and stores them to context.session. I can call it from .NET application using cookies or cookieless session and it works fine. The problem is that when I try to call it from vb6 client using SOAP I get application defined error. The web service is simple, sample code below: Private prNumber As Integer WebMethod(EnableSession: True) ...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification