rpc

Making GWT RPC calls to an external service for which you don't have code

I would like to make a small program that scrapes information from a 3rd-party GWT-enabled website. Is it possible to somehow call this RPC directly? What would I need to reverse-engineer to do this (i.e. hopefully not the entire low-level protocol). I am hoping I could somehow just call this from within my own server-side GWT or Servl...

RPC Runtime exception

Hi I am having an application which requires inter process communication between different processes in different machines. Assume i have 2 processes in different machines which communicate usnig RPC. Everything works fine in the normal case. Now if i remove network and reconnect the same my processes still work however what happen...

Easiest RPC client method in PHP

I've been asked to help a friend's company to bring up a web application. I have very limited time and I reluctantly accepted the request, at one condition. As most of the logic goes on in the back-end, I suggested that I would finish the complete back-end only, allowing a front-end developer to simply interface with my backend. I pl...

Git fails when pushing commit to github

I cloned a git repo that I have hosted on github to my laptop. I was able to successfully push a couple of commits to github without problem. However, now I get the following error: Compressing objects: 100% (792/792), done. error: RPC failed; result=22, HTTP code = 411 Writing objects: 100% (1148/1148), 18.79 MiB | 13.81 MiB/s, done...

What is the difference between Java RMI and RPC?

What is the actual difference between Java RMI and RPC? I have read in some places that RMI uses Objects? ...

RPC for java/python with rest support, HTML monitoring and goodies

Here's my set of requirements: I'm looking for an RPC framework such as thrift, avro, protobuf (when adding services to it) which supports: Easy and intuitive IDL. No serial numbers, no manual versioning, simple... avro is a good example for this. Works with Java and Python Supports both fast binary prorocol, as well as HTTP based re...

How to implement a login page in a GWT app?

My WebApp needs to authenticate user before allowing any sort of access. The scenario I'm trying to implement is a login page with username and password fields. Once user hits "send" button, a sign like "Verifing..." should be shown up while an RPC call verifies credentials. In case of success, load the main app screen. What is the best...

Download dynamic file with GWT

I have a GWT page where user enter data (start date, end date, etc.), then this data goes to the server via RPC call. On the server I want to generate Excel report with POI and let user save that file on their local machine. This is my test code to stream file back to the client but for some reason I think it does not know how to stream...

XML-RPC with java

hi, I'm developing a server in XML-RPC using Java , but when i compile it , i get this error ServeurSomDiff.java:33: cannot find symbol symbol : method addHandler(java.lang.String,java.lang.String) location: class org.apache.xmlrpc.webserver.WebServer server.addHandler("SOMDIFF",new ServeurSomDiff ()); here 's my se...

In GWT, how to user Google account authentication along with RPC?

Hi there: I am using Google account as authentication of my application. I am trying to use a RPC call to retrieve the user information using com.google.appengine.api.users.UserServiceFactory. So far I have something like: @SuppressWarnings("serial") public class MyAppImpl extends RemoteServiceServlet implements MyAppService { ...

RPC client structure concurrent use

What happens if a RCP structure obtained by calling clnt_create() is used by several threads versus a remote client? For example... clnt_create() => A: RCP Client structure Thread 1 => Use A and call service_1() versus client 1; Thread 2 => Use A and call service_2() versus client 1; Sometimes thread 2 will use A when thread 1 is still...

GWT on Python App Engine

Hi, I have a python app engine code (matured backend) - and we are now planning to have a front end for that code. I was wondering whether it is possible to implement GWT as the front end. Even though Alex Martelli in this post [1] mentions it is not possible, a comment to that post suggests that it is indeed possible using rpc over...

Do I need RpcEpRegister() for well-known endpoints?

Our native Win32 C++ RPC server application doesn't use RpcEpRegister(), instead it calls RpcServerUseProtseqEp(), then RpcServerRegisterIf(), then RpcServerListen() and that stuff works except for minor problems we still can't solve. I've thoroughly read MSDN and still don't get whether using this function is necessary. What exactl...

Ruby SOAP::RPC::Driver seeing the generated soap request

I'm using ruby's WSDLFactory to create an rpc driver to access the paypoint soap service and i need to see what xml request is being generated is there a way to do this code or should i try and use something like ethereal ...

What library to link for SUN RPC on a SUA/Interix machine?

Hi Folks! I'm porting our Unix-based, in C written software to the SUA/Interix platform on Windows, and run into some undefined references raising up by gcc: xdr_string, xdr_int, etc. Which library is missing to link it correctly? Thanks a lot! ...

Design Decision - Scaling out web based application's architecture

This question is about design decision. I am currently working on a web project that will have 40K users to start with and in couple of month expected to grow 50M users (not concurrent users though). I would like to have a architecture that can be scaled out easily without much effort. In order to explain, I would like to use a trivial ...

Android XMLRPC Fault Code

Hey, We have been using XMLRPC for android and it was working well until we got our hands dirty with Base64 encoding for byte[] (images) -- (we did base64_string.replace("/","$$") for transmission). We have tried undoing the changes and its looking like an XMLRPC error. We are getting the following error in the DDMS: 06-10 23:27:02.97...

GWT-Rpc how to return a file so that the browser pops up with a download dialog.

Does anybody know if it is possible to have a GWT-rpc call cause a file download prompt to appear without having to do a second request to a separate servlet? I was thinking of having a method in the rpc servlet of return type void and then calling the response object directly to change the content type and cause the browser to open a d...

What is the difference between remote procedure call and web service

Is there any clear definition about RPC and Web Service? A quick wikipedia search shows: RPC: Remote procedure call (RPC) is an Inter-process communication technology that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) wit...

gwt - Using List<Serializable> in a RPC call?

I have a RPC service with the following method: public List<Serializable> myMethod(TransactionCall call) {...} But I get a warning when this method is analyzed, and then the rpc call fails Analyzing 'my.project.package.myService' for serializable types Analyzing methods: public abstract java.util.List<java.io.Serializable> myMet...