| .net client + Axis 1.1 server + wrapped param: null result (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have used the following settings in our web services: .net framework 1.1 web services client Axis 1.1 server (in wsdd file, set style "wrapped") Using axis client calls the server, it works fine. However, .net client always returns null, even though the soap message has the result, for example, for the simple function string getSession(string username, string password); The SOAP messages in the ... |
|
| Animation (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hi, I want to show an animated picture while I'm synchronising data. I'm using the C# language on a Pocket PC 2003. I tried to use a thread but when I saw that a thread can be started but not aborted I changed my mind. So I went to the timer control of a form, this did'nt work. The last try was with the Timer class using the timerdelegate where I changed the Image of a picture box every 200 ms. I ... |
|
| Asycnch file reading ? (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| All I'm trying to use the asynchronous method of reading a big file and outputting it but somehow it prints out the whole file before running the main routine. Here's the code. using System; using System.IO; using System.Threading; using System.Text; class AsynchFile { private FileStream fs; private byte[] buffer; const int bufSize 256; private AsyncCallback myCallback; AsynchFile() { buffer new b... |
|
| async call to ActiveX is still blocking UI (VIP replies) |
| microsoft.public.dotnet.general |
| Hello, I am using asynchronous delegates to make a call to a COM ActiveX object, but even though the call occurs on a separate thread, my UI is still blocking. If i put the thread to sleep in my delegate call, the application is well behaved (no UI freeze), but the call to the com object causes the UI to lock up. Do I have to manage calls to an ActiveX object differently than using the BeginInvoke... |
|
| Async DIME call seem to drop randomly (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have a web service using WSE 1.0SP DIME attachment to transfer files in production. The synchronous call works great and pretty stable. I have been trying to add the asyncrhonous calls. On the surface it works but then I realized that when multiple async calls are made to the server in a loop, some callbacks never happen (no exception either). Here's a piece of simplified test code on the client... |
|
| Async DIME call seem to drop randomly (VIP replies) |
| microsoft.public.dotnet.framework.webservices |
| I have a web service using WSE 1.0SP DIME attachment to transfer files in production. The synchronous call works great and pretty stable. I have been trying to add the asyncrhonous calls. On the surface it works but then I realized that when multiple async calls are made to the server in a loop, some callbacks never happen (no exception either). Here's a piece of simplified test code on the client... |
|
| Async DIME call seem to drop randomly (VIP replies) |
| microsoft.public.dotnet.framework.webservices.enhancements |
| I have a web service using WSE 1.0SP DIME attachment to transfer files in production. The synchronous call works great and pretty stable. I have been trying to add the asyncrhonous calls. On the surface it works but then I realized that when multiple async calls are made to the server in a loop, some callbacks never happen (no exception either). Here's a piece of simplified test code on the client... |
|
| async http upload (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hi, below is the code I sort of adapted from an async http download example I found so that I could upload files to the server. It seems to be doing it asynchronously and the file makes it to the server but it is going all in one shot. How can trap it at every 1024 bytes to trigger an event like progress bar advance as it does in the download version of this code? When the code calls back uReadCal... |
|
| ASYNC SOCKET and FREEZE (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| i have implemented socket(async) program with pocketpc 2003 and vb.net. After PDA received a message from server, program show this message on MenuItem in Form. but when message is written on MenuItem, program freeze without any error msg i really don't know why. i spent almost a week and get no result. please help! following is brief of my code thanks in advance... clsSocket.readFromServer receiv... |
|
| Async Sockets (VIP replies) |
| microsoft.public.dotnet.general |
| I've written a fair amount of sockets code using the Winsock2 API, but I am having some trouble converting to the .Net Sockets API, specifically asynchronous sockets. What I have is a form that is both a client and a server. When the form starts I create a listening socket and call Socket.BeginAccept(). When a client connects my accept function is called, and it is on a separate thread. After I ac... |
|
| Async Timeout events for TCP connections. (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi , Is it possible in .Net to define a async timer callback. What I am wanting to do is declare a time out condition that gets executed should the something timeout. The reason I want to do this is to handle host being down that I am trying to connect to using TCPIP. Then after a timeout automatically try another host and just continue trying hosts until someone accepts a connection, varying my t... |
|
| Asynchronous Callback Not Updating Web Page? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello, I am making an asynchronous call to a webservice and trying to update the web page with the results. The page is not updating. Does anybody know why??? Below is my code: public class ASPNetSuperhero : System.Web.UI.Page { protected System.Web.UI.WebControls.DropDownList drplstFilePaths; protected System.Web.UI.WebControls.TextBox txtMessage; protected System.Web.UI.WebControls.Button btnSta... |
|
| Asynchronous Callback Not Updating Web Page? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hello, I am making an asynchronous call to a webservice and trying to update the web page with the results. The page is not updating. Does anybody know why??? Below is my code: public class ASPNetSuperhero : System.Web.UI.Page { protected System.Web.UI.WebControls.DropDownList drplstFilePaths; protected System.Web.UI.WebControls.TextBox txtMessage; protected System.Web.UI.WebControls.Button btnSta... |
|
| Asynchronous Delegate w/ Callback Parameters (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi all, Is there an easy way to get the parameters of an asynchronous delegate call from the callback function? Here's an example of what I'm trying to do: private delegate ArrayList AsyncDelegate (string server); private void GetServerInfo (string server) { AsyncDelegate ad new AsyncDelegate(GetServerArray); IAsyncResult iar ad.BeginInvoke(server, new AsyncCallback(EndGetServerInfo), ad); } priva... |
|
| Asynchronous Delegates always using same worker thread (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I've been running many tests of the Asynchronous Delegate technique and I find that although BeginInvoke() does queue the method delegate onto a worker thread, it always does so on the same thread. So if I call BeginInvoke() three times in a row, the method delegates are queued to the same thread and the second method doesn't begin until the first method completes, and the third doesn't begin unti... |
|
| Asynchronous method call never fires when running under the debugger. (VIP replies) |
| microsoft.public.vsnet.debugging |
| I'm having trouble running the following code under the debugger (although it works correctly when it runs normally). The code calls a simple "Hello World" web service asynchronously and prints "Hello World" to the screen. My problem is that when I run it under the debugger the HelloWorldCallback method never fires. Can anyone tell me why? Bill using System; namespace WebServiceDebugTest { /// sum... |
|
| Asynchronous Methods and Delegates (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello All, I just started learning about Delegates, and was wondering if someone could point me at some useful, straightforward examples of how to use delegates to make method calls asynchronously. I've been told that this is possible, and works similar to callbacks in C , but cannot find any straightforward examples in C#. Thanks, theBoringCoder |
|
| Asynchronous Socket BUG - System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback (VIP replies) |
| microsoft.public.dotnet.framework.performance |
| I have a client and server which communicate via ascynchronous sockets. If I am sending a large file from the client to the server and I just kill the client app during mid transfer (either by closing the form or just killing the process) the server then kicks up an untrappable error in "System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback". This error cannot be caught by try..catch and... |
|
| Asynchronous socket problem (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| To All Networking/.NET/C# gurus out there: Can anyone explain the behavior of what's happening under the covers when the following client intereacts with the following server (code below)? This code is basically a stripped down version of a system I'm trying to put together that is having major stability issues. Basically, the client connects to the server and starts pouring information onto the s... |
|
| Asynchronous web methods (VIP replies) |
| microsoft.public.dotnet.general |
| Hi I am using the articles by Matt Powell about server side asynchronous web methods (as well as the client side article). However i dont see any improvements to the speed of my application. I'm experiencing the slow speed on the server side. I read that using a delegate to call an asynchronous method would be ineffecient and maybe causing the problem. Can someone give me some advice on what i can... |
|
| Asynchronous web service (VIP replies) |
| microsoft.public.dotnet.framework.webservices |
| Let's suppose we have a client application, pushing a button we call a webmethod asynchronously and inside the callback function we manage the operation result. Something like this for instance: private void button Click(object sender, System.EventArgs e) { Service1 s new Service1(); AsyncCallback cb new AsyncCallback(this.HelloCallback); IAsyncResult ar s.BeginHello(textBox1.Text, cb, s); } priva... |
|
| BeginInvoke and Invoke (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi all, Are the two snippets below equivelent, since they both only continue once the ShowForm method returns??? 1. delShowForm del new delShowForm(ShowForm); //show form shows a form IAsyncResult asyncResult this.BeginInvoke(del); asyncResult.AsyncWaitHandle.WaitOne(); this.EndInvoke(asyncResult); 2. delShowForm del new delShowForm(ShowForm); //show form shows a form this.Invoke(del); Thanks for ... |
|
| BeginInvoke() and EndInvoke() not available in delegates for asynchronous execution of methods (VIP replies) |
| microsoft.public.dotnet.vjsharp |
| Hi, The following code does not work in J#. IAsyncResult ar1 sampleDelegate.BeginInvoke(new AsyncCallback(AsyncResultSample.MyCallback), new Object[] { (Int32)param, (Int32)param }); It gives compilation error as BeginInvoke not available for delegates. Anybody knows a way to handle asynchronous execution of methods in J#? |
|
| BeginInvoke, plz help (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I have some problems with understand how to call BeginInvoke properly so I need your help... I have a "worker" thread in my app where I download a website, and after some processing on html code I want to fire event from the "worker" thread (my EventArg is a object which describles some data extracted from html code), whose body (event body) must update datagrid control (which should be done i... |
|
| BeginReceive Async network socket example (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Dear Readers, I am in the process of implementing a non blocking ASYNC TCP client using the .Net socket class. I am a little confused by the MSDN example. I have pasted the code here. private static void ReceiveCallback( IAsyncResult ar ) { try { // Retrieve the state object and the client socket // from the asynchronous state object. StateObject state (StateObject) ar.AsyncState; Socket client st... |
|