473,765 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HowTo: Asynch Web Service on top of asynch layer?

I have a messaging API which creates notification responses for multiple
requests ( interfacing a device on SerialPort class).
So I created a layer following the event-based asynchronous pattern. The
request is sent to RS-232 using MethodNameAsync h() and the response creates
an event.
There are multiple methodnameAsync h() calls and events, each of them can be
called multiple times using userState objects.

Now I want to wrap this layer in a web service in order to be reachable in
the LAN.
How can I do this?
Cause the VS.2005 Web Service code generator is made to create an asynch
proxy around a synchronous method call. It is not made to extend the EBAP
across the network.

thank you very much
herbert
Feb 26 '07 #1
0 1152

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3274
by: MM | last post by:
Hi, First off, I'm just beginning .NET and GUI stuff and am very inexperienced. I have worked through a number of GUI tuts in books but all the GUI code to handle events for all the controls in these examples is always in the single file of the main form. What is the correct way to 'sub-divide' various GUI sections into differnet files? For instance, with all my anticipated controls, this one file would be hundreds if not thousands of...
2
1191
by: Tim Marsden | last post by:
HI Firstly, I am new to ASP.NET and struggling with the following concepts. I have a win form which gathers information, eg date range , product code etc. when I press a button, a request is sent to the server (using sockets) after the request is complete, the server calls back the win form (which is listening on the port) with the response, and the form reacts to the response.
2
1565
by: ghost | last post by:
As the Subject indicates I have written a web page that makes use of several web service calls. Some of the web service calls are very fast so they called synchronously. Some web service calls are longer running so I call them asynch so that they can all run concurrently. The user base for the application that I am creating demands the partial response of the faster calls and a gradual update of their web page info from the balance of...
1
2525
by: Matthew Frederick | last post by:
Hope this is the best forum for this, any suggestions for another are appreciated. I have a simple Compact Framework (2) app that sends some data to a web service and acts despending on the response. I added the web service as a web reference (in VS2005 VB) and then have a bit of code that calls the service like this: Dim webService As New com.companynamehere.webservices.CheckList
0
1375
by: sameem.samad | last post by:
Hi, I have a solution which has 3 layers - GUI, Interface Layer and web service layer. GUI layer is referencing Interface Layer and Web service layer also pointing to interface layer. GUI layer has following Code: Dim obj as IFedService = IFedService.BrokerHelper.GetAddress Dim str as string = obj.GetAddress(ObjData)
6
3990
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public string UID; public string PWD; }
1
1229
by: S Moran | last post by:
i have to rewrite a VBScript in C#. the VBS is currently using Microsoft.XMLHTTP to POST data and then the ResponseText property to check if the POST was successful. can this be done simply in C#?
5
2747
by: ludwig_stuyck | last post by:
I'm in the process of designing a Service Oriented Architecture. At the moment I based the design on the Web Service Software factory guidelines - so a services layer, business layer and resource access layer. The services layer contains WCF services, which use the business layer, which uses the resource access layer. I'm using data contracts for data that is passed via the WCF services, and these are converted to business entitities that...
6
2620
by: Frank Hauptlorenz | last post by:
Hello out there, I have 2 services running. The first one runs in session mode and the 2nd not. The first one should call an operation of the 2nd one asynchronously, because this is doing some long running calculations. If this call is synchronously, everything is running okay. If it's call async the operation does not even start. (I've setup up some event log message at the entry point).
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.