| .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 ... |
|
| A simple Telnet program and received packets... (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| hi there i just write a program works like a telnet client (with AsyncCallback).... everything works fine but i have a problem with packets received... i set the received packet size to 32768 ( byte[] incoming new byte[32768] ) and then i tried to connect to a pop3 server... i logged in with user and pass cmomands and then i types "list" cmomand which lists all the mails in my mailbox with their f... |
|
| 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 ... |
|
| Another GEM of a question relating to samples that came with Hands-On-Lab of WSE2.0 RTM (VIP replies) |
| microsoft.public.dotnet.framework.webservices.enhancements |
| Hello again, The Hands On Lab of WSE2 RTM came with an example of SecureRouting where they combine WS Policy with SOAP Routing. Everything worked fine for the examples and samples. However, it only works for PasswordOption.SendPlainText for the usernametoken and it therefore uses the Windows local SAM account for authentication. If I am to use PasswordOption.SendHashed for this same example and bu... |
|
| 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 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... |
|
| AsyncCallback / IAsyncResult (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, At the moment, I am using an AsyncCallback to notify that a worker thread completes. The callback is called notificationCallback (a member of the thread). At the end of the work, I do: notificationCallback( asyncResult ); I was wondering, on which thread will the underlying method be called? Thanks, Tom. |
|
| 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 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 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 Performance, (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| In my application the fowing call: workSocket.BeginSend(byteData, 0, byteData.Length,0, new AsyncCallback(SendMesCallBack), null); Takes between 156250 and 312500 Ticks . And when like 20 calls are made at a time, they really sum up to something that I did not exspect att all. Why does I exspirence this thing, is this normal ? (I am 100% sure that the time is consumed by only this single line) ? |
|
| 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... |
|
| Begin and EndInvoke (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Could anyone tell me if the latest NET Compact Framework supports Begin and Endinvoke ?? According to the net compact framework.chm they are supported. ( Go into the namespace System and then System.AsyncCallback "module mscorlib.dll" ). But implementing Begin and Endinvoke makes my pocket pc crash. |
|
| BeginInvoke or custom thread? Best practise? (VIP replies) |
| microsoft.public.dotnet.framework.remoting |
| I want to fill DataSet with remoting. It works just ok, but I want to make this call with threads. So what method is the best BeginInvoke/EndInvoke or creating of custom named thread? Nikolay Unguzov |
|
| 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#? |
|
| 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... |
|