Hi,
I am making a prototype system with Remoting in the bottom of the system. An
XML Web Service is using the remote object on an IIS to present data.
I am using a TcpChannel for communicating between the XML Web Service and
the host for the remote object. Within the host a port is defined and the
channel registered. It starts listening for requests. The destination port is
therefore clearly defined.
However, when using the remote object in the XML Web Service - what is the
outgoing port for the communication with the listening host?
Architecture:
Client
|
|HTTP Port 80
|
XML Web Service
|
Port? |TCP Port 8080
|
Host for remote object
Thanks,
Fredric Ragnar 3 2496
Hello Fredric,
There is no notion of a port on the outbound request... I believe the
..net implementation for tcp/ip just opens a socket to the remoting host.
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com http://www.geniant.com Hi,
I am making a prototype system with Remoting in the bottom of the system. An XML Web Service is using the remote object on an IIS to present data.
I am using a TcpChannel for communicating between the XML Web Service and the host for the remote object. Within the host a port is defined and the channel registered. It starts listening for requests. The destination port is therefore clearly defined.
However, when using the remote object in the XML Web Service - what is the outgoing port for the communication with the listening host?
Architecture:
Client | |HTTP Port 80 | XML Web Service | Port? |TCP Port 8080 | Host for remote object Thanks, Fredric Ragnar
Hello Dilip and everybody else,
Thank you - that explains why I did not found it in the documentation of
remoting.
One intriguing thing I came across with this architecture concerns
HttpChannel. When accessing the host for the remote object, the Windows
Service (NT Service), I did not need to declare a TcpChannel and register it
in the client, i.e. the XML Web Servic. If a TcpChannel is declared and
registered the application will not work.
The ideas for the server/client architecture using Remoting I got from: http://www.mastercsharp.com/chapter_06.htm
There it explicitly says that a declaration of the channel and registration
is needed in the client. However, when I modified the client and uncommented
the declaration and registration of the channel it still worked. This was
illogical and I do not have an explanation! Is there any obvious reason I am
missing concerning Remoting?
Regards,
Fredric Ragnar
I got the
"Dilip Krishnan" wrote: Hello Fredric, There is no notion of a port on the outbound request... I believe the .net implementation for tcp/ip just opens a socket to the remoting host.
HTH Regards, Dilip Krishnan MCAD, MCSD.net dkrishnan at geniant dot com http://www.geniant.com
Hi,
I am making a prototype system with Remoting in the bottom of the system. An XML Web Service is using the remote object on an IIS to present data.
I am using a TcpChannel for communicating between the XML Web Service and the host for the remote object. Within the host a port is defined and the channel registered. It starts listening for requests. The destination port is therefore clearly defined.
However, when using the remote object in the XML Web Service - what is the outgoing port for the communication with the listening host?
Architecture:
Client | |HTTP Port 80 | XML Web Service | Port? |TCP Port 8080 | Host for remote object Thanks, Fredric Ragnar
Hello Dilip and everybody else,
Thank you. That was helpful and it explains why I did not find it in the
documentation.
There is one intriguing fact I came across in this prototype using the
HttpChannel class. I based the client/server architecture idea from: http://www.mastercsharp.com/chapter_06.htm. There it says that the client has
to declare a HttpChannel and register it. When using that concept in my
client, i.e. the XML Web Service, only one call is possible since the service
stops responding after one call to a remote object. Uncommenting the
declaration of the HttpChannel and registration solves the malfunctioning
service.
I went back to the sample client/server solution from http://www.mastercsharp.com/chapter_06.htm and uncommented the declaration of
the HttpChannel and registration of the channel in the client and it worked
anyway.
This seems illogical. However, I must miss something obvius feature in
Remoting. The question is then why does it work to invoke a method on a
remote object without declaring and register a HttpChannel in the client?
Regards,
Fredric Ragnar
"Dilip Krishnan" wrote: Hello Fredric, There is no notion of a port on the outbound request... I believe the .net implementation for tcp/ip just opens a socket to the remoting host.
HTH Regards, Dilip Krishnan MCAD, MCSD.net dkrishnan at geniant dot com http://www.geniant.com
Hi,
I am making a prototype system with Remoting in the bottom of the system. An XML Web Service is using the remote object on an IIS to present data.
I am using a TcpChannel for communicating between the XML Web Service and the host for the remote object. Within the host a port is defined and the channel registered. It starts listening for requests. The destination port is therefore clearly defined.
However, when using the remote object in the XML Web Service - what is the outgoing port for the communication with the listening host?
Architecture:
Client | |HTTP Port 80 | XML Web Service | Port? |TCP Port 8080 | Host for remote object Thanks, Fredric Ragnar This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jaydeep |
last post by:
Hello,
I am facing a strange problem. Problem accessing remote database from
ASP using COM+ server application having VB components (ActiveX DLL)
installed.
Tier 1 : ASP front End (IIS 5.0)
Tire 2 : COM objects
Tier 3 : SQL Server 2000 DB
Flow is : ASP talks with COM objects and COM objects talks with DB
Scenario 1
|
by: Joel Lyons |
last post by:
I have a remote object with a public property (see code below). A client
can use this property to receive a ref to another remote object and use it's
properties.
This works great over a LAN, but over the internet, when the client tries to
use this second object by calling a property or method, the call hangs for
about 30 seconds then throws the following exception:
"A connection attempt failed because the connected party did not properly...
|
by: wan2tri |
last post by:
hello, good day to all of you,
hi, im am new in .net , how can i access two or more
object remotely , because currently im only accessing one
object, windows services is the host, i have a
configuration file, on the host and on the client, but it
only support one object,
------host configuration file------------------------
<configuration>
|
by: Peter Lorz |
last post by:
Hello,
I have a simple problem. I got two visual studio projects, one is an
application, the other a common windows service. The application needs
to get a remote reference of the service. Now the question: How do I
get the application-project known to the referenced classtype of the
remote object in the service-project ?
Thanx for any help!
|
by: Mark |
last post by:
I have a .NET service I wrote running on my web server. I'd like to be able
to make infrequent calls from my my web application to this service. For
example, my service does some work every 30 minutes. I'd like my secure web
page (hosted on the same server) to tell it to "go do your thing right now"
because I can't wait 30 minutes.
I'm assuming that this requires either:
1. Remoting of some form.
2. ASPNET account to have enough...
| |
by: JJ |
last post by:
A current requirement I am facing is the all business objects be stateless
remote components hosted in IIS. I am partial to web services myself.
However, it is insisted that IIS hosted remoting be used. They insist that
it is much, much faster. I don’t necessarily disagree with that point. But
under the circumstances, a web service that is load balanced (as are the
remote objects), though technically slower, would still have a lot of...
|
by: Mike |
last post by:
I'm having trouble accessing SQL2005 Standard Edition as a second
instance of SQL Server where the first instance is SQL 2000 Enterprise
Edition. I installed SQL 2005 as a named instance "SQL2005". The
server is running Windows 2000 SP4 ON A 32-Bit machine. When I look in
Services I see the SQL Server (SQL2005), SQL Server Agent (SQL2005)
services there. I went into SQL Server Configuration manager and
disabled the named pipes protocol...
|
by: 124256 |
last post by:
I'm trying to get an event-handler relationship set up over a remote tcp connection. I have set the security level so that I can serialize any object (full). My server has a "game" object which has an event. The client has a user control that responds to the event through an intermediate "remoteReceiver" object that inherits MarshallbyRefObject. I'm getting "An error occurred while processing the request on the server:...
|
by: John |
last post by:
Hi
We had an sbs 2003 with isa 2000 server. We wre able to access a
remote sql server (hosted at our web host) just fine. We replaced the
server with a new sbs 2003 r2 with isa 2004 server and even though I
have opened port 1433 in isa 2004 we can't access the remote sql
server anymore. Where can I look for any blocks?
Many Thanks
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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,...
|
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...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |