rpc

Upload to Sharepoint using FrontPage RPC

Hi, I am trying to upload documents with their metadata to sharepoint using the RPC method. well it is working fine except some type of files like docx, xlsx.. I don't get any errors or exceptions, they are(docx, xlsx.) uploaded to sharepoint correctly but without the associated metadata. How can i fix this problem? Below is the code i...

Cross-site json rpc : Python server side and Mozilla extension using Javascript client side

hello, I am building a mozilla extension that contacts a python application on a remote server to send and receive data. The python application can be used using xml-rpc from a python console.I am given the task to design a json-rpc that would contact the same application.Making the python server side has been easy which can be accesed u...

RPC Fails but passing in SQL Man. Studios works

I am calling a stored procedure from a web service in an ASP.Net application. And until a few days ago, all was well. However now when i call it I get an error saying The timeout period elapsed prior to the completion of the operation or the server could not be reached. However when i would run SQL SERVER PROFILER, I could see...

Ajax Authentication Response

I have a login form that I am considering if it should be 'ajax'ed or not. The reason I am contemplating this is because if the response of the ajax call is fixed (like 0 for invalid and 1 for valid) I can redirect the ajax request through the javascript console and log into the system maliciously. Is there a way to solve this security i...

multiple Thrift services on one transport

Just seeking confirmation here : apache Thrift protocol does not seem to support running multiple services on one transport endpoint ? ( a socket, file, whatever ) I cant seem to figure out how to do something like this in Thrift: service otherService { void dosomething() } service rootService { otherService getOtherService() ...

C/C++ RPC Tutorial for Linux

Can someone point me to a decent RPC tutorial for (or books) linux, like in this post. I tried looking around myself, I've only found tutorials that are really old. Thanks ...

Java XMLRPC request-String

Hi, I'm using Apache XML-RPC 3.1.2 to talk to an online-service. They have something special, they need a hash over the whole XML with a secret key for some kind of security, like this: String hash = md5(xmlRequest + secretKey); String requestURL = "http://foo.bar/?authHash=" + hash; So I need the XML-request like this: <?xml version=...

Is there a good way of automatically generating javascript client code from server side python

I basically want to be able to: Write a few functions in python (with the minimum amount of extra meta data) Turn these functions into a web service (with the minimum of effort / boiler plate) Automatically generate some javascript functions / objects for rpc (this should prevent me from doing as many stupid things as possible like mis...

QxtRPCPeer networked signal/slot example

While being new to Qt, I'm trying to remote control an GUI application with use of QxtRPCPeer. I'm looking for a simple hello world network slider example (one slider in application1 signals setValue() to slider slot in application2), to get the syntax correct. The main goal is similar to a previous question where QxtRPCPeer was recommen...

Erlang: How to view output of io:format/2 calls in processes spawned on remote nodes.

Hello, I am working on a decentralized Erlang application. I am currently working on a single PC and creating multiple nodes by initializing erl with the -sname flag. When I spawn a process using spawn/4 on its home node, I can see output generated by calls io:format/2 within that process in its home erl instance. When I spawn a proce...

What are the advantages and disadvantages of Remote Procedure Calls.

Hi Can anyone please provide specific links which cite the advantages of RPC over other inter process communication models. Also whether RPC is best suited for TCP/IP or HTML or similar other transfer mediums. Thanks and in advance. ...

What's a good Java-based Master-Slave communication mechanism?

I'm creating a Java application that requires master-slave communication between JVMs, possibly residing on the same physical machine. There will be a "master" server running inside a JEE application server (i.e. JBoss) that will have "slave" clients connect to it and dynamically register itself for communication (that is the master wil...

iPhone + Drupal + JSON RPC Server problem

Hello community I don't have any idea how to post a JSON RPC request using Obj-C. Can anyone help me? So far I have: responseData = [[NSMutableData data] retain]; NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://*************/services/json-rpc"]]; NSString *jsonString = @"{\"jsonrpc\": ...

Flex: client / server messaging question (RPC or socket ?)

hi, I'm building a Flex application, which is going to perform many server requests (let's say, that almost all interactions require an update from server). At the moment I'm using remote procedure calls for it. But I was wondering if using a socket would be better. In other terms, is maybe better to keep the connection alive rather t...

RPC command to initiate a software install

I was recently working with a product from Symantech called Norton EndPoint protection. It consists of a server console application and a deployment application and I would like to incorporate their deployment method into a future version of one of my products. The deployment application allows you to select computer workstations runni...

Unix RPC programming

I needed some help with ONC RPC programming. My task is to create a two-tier client-server architecture wherein one main server (something like a directory) keeps a track of level-two servers and acts as a lookup; the level-two servers expose some trivial functions, and finally, the clients for level-two servers. The clients ask th...

"Tracking" connections with Thrift

I am trying to create a game using Thrift, so that the clients are the players, and the server manages the boards, much like this. However, I cannot figure out how Facebook's Thrift server can "track" the user, i.e. when calling attack() on their service, I do not have to identify myself again. According to what the generated server stu...

rpcbind authorization problems

Hy, I am using rpcbind (SunRPC) on Arch linux and python rpc.py (wich use standard python socket module) interface for comunication with it, but every time I try to send request for registration or unregistration to rpcbind I get message that I am rejected for security reasons. Only situation when everything works is that when I call rp...

What are good RPC frameworks between a Java server and C++ clients?

Hi, I am looking for a RPC stack that can be used between a Java Server and C++ clients. My requirements are: Ease of integration (for both C++ and Java) Performance, especially number of concurrent connections and response time. Payload are mostly binaries (8-100kb) I found some like: http://code.google.com/p/protobuf-socket-rpc...

How can I implement MapReduce using shell commands?

How do you execute a Unix shell command (e.g awk one liner) on a cluster in parallel (step 1) and collect the results back to a central node (step 2)? Update: I've just found http://blog.last.fm/2009/04/06/mapreduce-bash-script It seems to do exactly what I need. ...