473,396 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Multiple async web service calls sharing one TCP connection to backend

I have to interface to a third-party application that receives HTTP
POSTs with XML content to a certain port on the server. The server is
*not* a web server, rather some custom server app written by the
third-party, so it's behavior is not predictable or necessarily HTTP
compliant. Therefore, I can't use the much simpler HttpWebRequest.
Also, if I repeatedly open new connections to it, the server gets
bogged down with authentication and crashes.

So, in order for my web service front-end to work properly, I need to
take many incoming requests and consolidate them to one TCP connection
that is already authenticated by parsing some cookie value that gets
returned with the first request and gets sent with all future requests.
I may also have to connect using SSL, so I was thinking of purchasing
the PowerTCP SSL Sockets control from dart.com.

The scenario:
1) Windows Server 2003 Web running IIS
2) Many async requests made to .Net web services
3) All services use one custom SSL TCP connection to talk to back end:
Should I just create a static member to do this?
4) Responses come back over single TCP connection: How will these go
back to the proper web service call?
5) If the response has more than X rows, it sends a continuation cookie
with which I need to make a second request and it'll send the next X
rows. So, I have to do this repeatedly until all rows received and
then return the web service call.

Any ideas for the problems above and clues on where I should look for
more information?

Dec 13 '05 #1
0 1598

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

Similar topics

6
by: Quiet Man | last post by:
Hi all, I'm designing a fairly simple service that will run on W2K/SP4 and W2K3 servers. It's job is to be a very specialized database server that listens on a given IP address / TCP port and...
2
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...
2
by: Lucas Tam | last post by:
Is there a realistic maximum time a client can wait for an async response from a web service? I have requests that may take anywhere from 1 - 5 minutes to complete... maybe even more. Is it safe...
9
by: Graham | last post by:
I have been having some fun learning and using the new Controls and methods in .Net 2.0 which will make my life in the future easier and faster. Specifically the new databinding practises and...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
1
by: Simon Hart | last post by:
Hi, I thought I'd just open a thread in an attempt to get peoples feelers with regards to multithreading vs Async Web Service processing. Of course Web Services makes it easy to do Async...
6
by: Shak | last post by:
Hi all, Three questions really: 1) The async call to the networkstream's endread() (or even endxxx() in general) blocks. Async calls are made on the threadpool - aren't we advised not to...
11
by: atlaste | last post by:
Hi, In an attempt to create a full-blown webcrawler I've found myself writing a wrapper around the Socket class in an attempt to make it completely async, supporting timeouts and some scheduling...
1
by: Ryan Liu | last post by:
Hi, I have a 100 clients/ one server application, use ugly one thread pre client approach. And both side user sync I/O. I frequently see the error on server side(client side code is same, but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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...

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.