rpc

Asynchronous Remoting calls

We have a remoting singleton server running in a separate windows service (let's call her RemotingService). The clients of the RemotingService are ASP.NET instances (many many). Currently, the clients remoting call RemotingService and blocks while the RemotingService call is serviced. However, the remoting service is getting complicated...

Is SOAP now a legacy technology?

Are people still writing SOAP services or is it a technology that has passed its architectural shelf life? Are people returning to binary formats? ...

Meaning/cause of RPC Exception 'No interfaces have been exported.'

We have a pretty classic client-server app built using MS RPC, with both ends implemented in C++. The client establishes a session to the server, and makes calls to it over a long period before closing the session. Periodically, particularly under heavy load, we get an RPC exception via code 1754 (RPC_S_NOTHING_TO_EXPORT). This happen...

Where can I find thorough DCOM documentation?

I work on an application that uses DCOM to communicate between what are essentially several peers; in the course of normal use, instances on separate machines serve a variety of objects to one another. Historically, for this to work we have used some magic incantations, chief among which is that on every machine the user must log into a...

How to avoid temporary file creation on server-side when pushing back full HTML content to clients?

In a server-side application running on Tomcat, I am generating full HTML pages (with header) based on random user-requested sites pulled down from the Internet. The client-side application uses asynchronous callbacks for requesting processing of a particular web page. Since processing can take a while, I want to inform the user about pr...

What are the advantages and disadvantages of DTOs from a website performance perspective?

What are the advantages and disadvantages of DTOs from a website performance perspective? (I'm talking in the case where the database is accessed on a different app server to the web server - and the web server could access the database directly.) ...

Would you architect the control API of the next-gen Mars rover to be RESTful instead of an RPC?

Forgive me if this verges on being a "discussion" question, but I really would appreciate a yes/no answer, with an appropriate explanation. Suppose you have to design and implement a control API for a robot, say the next generation Mars Rover. Do you architect this API according to RESTful principles, or do you use a classic RPC, ...

Design question: How can I access an IPC mechanism transparently?

I want to do this (no particular language): print(foo.objects.bookdb.books[12].title); or this: book = foo.objects.bookdb.book.new(); book.title = 'RPC for Dummies'; book.save(); Where foo actually is a service connected to my program via some IPC, and to access its methods and objects, some layer actually sends and receives messag...

Simple java client code for Web Service - something to do with QName?

I am getting the following error when I get to the line that invokes a REALLY BASIC web service I have running on Tomcat/Axis. Element or attribute do not match QName production: QName::=(NCName':')?NCName Have I got something wrong with QName?- I can't even find any useful information about it. My client code is below: import javax...

Microsoft Async RPC crash in Vista

Hi, I am working on a program that makes RPC calls where the client and the server are running on the same machine. I want the client have a timeout on it's calls to the server because we ran into problems of it becoming unresponsive waiting on the server. To solve this problem we used an asynchronous RPC call and canceled it if timed o...

Socket Exception: "There are no more endpoints available from the endpoint mapper"

I am using winsock and C++ to set up a server application. The problem I'm having is that the call to listen results in a first chance exception. I guess normally these can be ignored (?) but I've found others having the same issue I am where it causes the application to hang every once in a while. Any help would be greatly appreciate...

Different output from midl.exe 6 and midl.exe 7

I'm tyring to convert a MSVC project from VS 2005 to VS 2008. It contains a IDL file that outputs a header and stubs used for RPC. The VS 2005 project uses MIDL.exe version 6.00.0366. The VS 2008 project uses MIDL.exe version 7.00.0500. Here's the problem: MIDL v6 outputs the following prototype for me to implement in my server code: ...

Domain Logic and Data Access of MVC at Remote API/Web Service Layer

Hi all, In our system, we have a Remote API layer (e.g. SOAP, XML-RPC, REST, etc.) to handle the domain logic and data access for web application and any client applications that're developed on top of it. Unlike in the past, I do not have business logic code and DB connectivity at the web application, all user actions are translated to...

Connecting to WMI: 0x800706ba errors on some machines (but not all)

When I try to connect to WMI from Powershell, ConfigMgr, or WMI explorer, I can talk to the majority of my computers, but some (maybe 30%?) return an 0x800706ba (RPC server is unavailable). If I turn the firewall off on the remote machine, the queries start working. I have tried a bunch of different configurations of firewall settings,...

Is RPC disguised as REST a bad idea?

Our whole system is being designed around REST and are now considering how processes which are quite clearly RPC in intent can be mapped to RESTful resources without using verbs in the URL. Our remote procedure call is used to rebuild our search index when a content listing has been modified elsewhere. What we are thinking about doing i...

Simplest way to use JPA with my GWT application.

I'd like to create a simple Google Web Toolkit application which makes uses RPCs. For persistence, I'd like to use something like the Java Persistence API. Does this mean I have to use an application server like Glassfish? or can I stick with a simple web container? In terms of concrete libraries, how should I proceed? TopLink? Hib...

Why use Web Services instead of RPC between two internal processes?

Can anyone suggest a good reason to use web services instead of RPC (not xml-rpc) as a comms channel between two C++ processes both of which will be developed by the same team? Note: Web services do not guarantee ordered delivery! ...

Examples of the best SOAP/REST/RPC web APIs? And why do you like them? And what's wrong with them?

At my company we're starting to branch into web APIs to access and update our data; initially for partners but then likely to the public in future. At the moment the way the API will look (e.g. SOAP, REST, RPC) is completely open and we haven't made any decisions yet, so I'm interested in both examples of web APIs people think are good, ...

Why is exactly once semantics infeasible?

In RPC semantics where Erlang has hope for the best, SUN RPC with at-least once and Java RMI with at-most-once but no one has exactly once semantics. Why does it seem infeasible to have exactly once semantics? For example if the client keeps resending a uniquely tagged request until a reply is received and a server keeps track of all...

remote procedure calls

Does any one know a good way to do remote procedure calls in windows (non .net) environmental? I cant find much information on how to do it and the msdn only has the .net version. . Edit: Thanks for the answers so far. What i need it for is to communicate with a service on the same computer which will send progress reports back to th...