You can use a web service for your consumers to use, and tcp
to validate
that your message outbound worked.
Check MSDN for TcpClient or if you dare to be dangerous, try
Socket.BeginSend()
On 9/6/06, J. Ambrose Little <ambrose aspalliance.com> wrote:
>
> I'd say it depends on the needs of your clients, but a
Web service would
> be most versatile.
>
>
> On 9/6/06, Michal Tesar <michal.tesar gmail.com> wrote:
> >
> > How should I look at it from the high level, is
this a serviced
> > component, or is it a webservice?
> > ----- Original Message -----
> > From: J. Ambrose Little
> > To: aspnet-architecture aspadvice.com
> > Sent: Wednesday, September 06, 2006 4:40 PM
> > Subject: [aspnet-architecture] Re: tcp connection
webservice?
> >
> >
> > I've not done much with it myself, but I imagine
you'd need to use the
> > System.Net.Sockets namespace. You can search on
that to find a lot of
> > stuff; here is one such article:
> > http://www.ondotnet.com/pub/a/dotnet/2002/10/21/socke
ts.htm
> >
> >
> > On 9/6/06, Michal Tesar <michal.tesar gmail.com> wrote:
> > Hi All,
> >
> > I have few questions and I couldn't find
anything good on google
> > about this, if someone could point me to some
direction, or give me any
> > advice on this problem I have, I would really
appriciate it.
> >
> > I have to build a system, which will accept a
request(structured xml)
> > from another location, I then have to save some
information from this
> > request into my database, and pass the request on
to another system (another
> > location).
> >
> > The third system (the one my application will
pass the request on)
> > has those specifications:
> > The system features a simple single request
dialogue. Using the
> > connection-oriented feature of the TCP connection
the system is able to
> > detect if the response was successfully delivered
to MySystem. In the event
> > that the response is not successful 3rdSystem will
perform a real-time
> > roll-back of the reserved request.
> >
> > Communication:
> > I need to establish a TCP socket connection to
the 3rdSystem to a
> > designated PORT.
> > The socket is closed after each
Request/Response. Multiple
> > connections can be running
> > at the same time.
> >
> > Security:
> > The IP address and port number will be provided
for each client. A
> > VPN connection needs to be set up.
> >
> > When I receive the response from the 3rdSystem,
I will pass it on to
> > the first client that is waiting for the response
from the begenning.
> >
> > I need to make the middle software, so I am
thinking that I would
> > implement the same thing the 3rdSystem has. And I
would pass on the same
> > requirements to the client, I need something very
simple and fast.
> >
> > I've got no idea how TCP protocol works, and
if I should do this via
> > a .net webservice, or how?
> >
> > Please help!
> >
> > Thank you,
> > Mike
> >
> >
> > Need SQL Advice? http://sqladvice.com
> > Need RegEx Advice? http://regexadvice.com
> > Need XML Advice? http://xmladvice.com
> >
> >
> >
> > Need SQL Advice? http://sqladvice.com Need
RegEx Advice?
> > http://regexadvice.com
Need XML Advice? http://xmladvice.com
> >
> >
> >
------------------------------------------------------------
------------------
> >
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.11.7/434 -
Release Date:
> > 8/30/2006
> >
> >
> >
> > Need SQL Advice? http://sqladvice.com
> > Need RegEx Advice? http://regexadvice.com
> > Need XML Advice? http://xmladvice.com
> >
> >
> Need SQL Advice? http://sqladvice.com Need
RegEx Advice?
> http://regexadvice.com
Need XML Advice? http://xmladvice.com
>
Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com
|