Google Groups Home
Help | Sign in
Problem with making an RPC call to remote / external server
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dmitri V  
View profile  
 More options May 28 2008, 1:47 pm
From: Dmitri V <dmitri...@gmail.com>
Date: Wed, 28 May 2008 10:47:26 -0700 (PDT)
Local: Wed, May 28 2008 1:47 pm
Subject: Problem with making an RPC call to remote / external server
Hi,

I'm making a login application, and I need to make an RPC call to
authenticate the user. The way things are set up is that there's
already a server with a deployed GWT servlet running, and the client
code that I am running will not be run from a page server by that
server. The "page" that makes the request is actually just JS in a FF
extension. So it's not really a traditional RPC call in the sense that
the client and server sides are on different hosts completely.

The call itself is quite simple - the client passes to the server 3
Strings containing various authentication information, and the server
responds with a String. However, when I do make the call, it executes
fine, but the onFailure function of the callback is called with the
following exception:

[INFO]
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
This application is out of date, please click the refresh button on
your browser

I've asked around about this, but no one has been able to provide me
with a solution. I've been suggested to re-deploy the servlet on the
remote server, but seeing as how it's remote, I'd really like to avoid
doing that unless I was absolutely sure that would solve the problem.

Other suggestions of things to try would be greatly appreciated.

I was running GWT 1.4.61, but tried it on 1.4.62 and it's the same
thing.

If it's helpful to diagnose, I can post the relevant code as well.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dmitri V  
View profile  
 More options May 29 2008, 10:43 am
From: Dmitri V <dmitri...@gmail.com>
Date: Thu, 29 May 2008 07:43:55 -0700 (PDT)
Local: Thurs, May 29 2008 10:43 am
Subject: Re: Problem with making an RPC call to remote / external server
I don't know if bumps are frowned upon here, but I'm really desperate
to get this resolved, soooo

bump!

On May 28, 1:47 pm, Dmitri V <dmitri...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dmitri V  
View profile  
 More options May 29 2008, 4:43 pm
From: Dmitri V <dmitri...@gmail.com>
Date: Thu, 29 May 2008 13:43:02 -0700 (PDT)
Local: Thurs, May 29 2008 4:43 pm
Subject: Re: Problem with making an RPC call to remote / external server
Weirdly enough, when I debug the application instead of running it, I
get this error in Eclipse:

source not found.

NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not
available
Method.invoke(Object, Object…) line: not available
IDispatchImpl.callMethod(CompilingClassLoader, Object, Variant[],
Method) line: 126
MethodDispatch.invoke(int, int, Variant[]) line: 88
MethodDispatch(IDispatchImpl).Invoke(int, int, int, int, int, int,
int, int) line: 293
MethodDispatch(IDispatchImpl).method6(int[]) line: 196
COMObject.callback6(int[]) line: 117
OS.DispatchMessageW(MSG) line: not available [native method]
OS.DispatchMessage(MSG) line: 1925
Display.readAndDispatch() line: 2966
GWTShell.pumpEventLoop() line: 689
GWTShell.run() line: 550
GWTShell.main(String[]) line: 321

Can someone shed some light on what this is saying?

On May 28, 1:47 pm, Dmitri V <dmitri...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dmitri V  
View profile  
 More options May 29 2008, 5:19 pm
From: Dmitri V <dmitri...@gmail.com>
Date: Thu, 29 May 2008 14:19:50 -0700 (PDT)
Local: Thurs, May 29 2008 5:19 pm
Subject: Re: Problem with making an RPC call to remote / external server
Nevermind, the debugging error is simply because the debugger doesn’t
have the sources to step through, because it’s trying to debug the
remote server code. So it doesn’t look there’s anyway to fix that
unless I can add the remote server code as the source, which I don’t
think you can do with a deployed servlet.

On May 29, 4:43 pm, Dmitri V <dmitri...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ben  
View profile  
 More options May 30 2008, 9:56 am
From: ben <sidevi...@gmail.com>
Date: Fri, 30 May 2008 06:56:41 -0700 (PDT)
Local: Fri, May 30 2008 9:56 am
Subject: Re: Problem with making an RPC call to remote / external server
If I'm reading this correctly, you're trying to call from one domain
to another?  Sounds like a cross-domain security issue, where the
browsers don't allow you to call from one server to another outside
it's domain.

On May 29, 5:19 pm, Dmitri V <dmitri...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dmitri V  
View profile  
 More options May 30 2008, 11:45 am
From: Dmitri V <dmitri...@gmail.com>
Date: Fri, 30 May 2008 08:45:44 -0700 (PDT)
Local: Fri, May 30 2008 11:45 am
Subject: Re: Problem with making an RPC call to remote / external server
Hmm.. That's a good possibility. Is there any way around that?

Do you think this would still apply if the call comes from FF
extension JS (to which SOP doesn't apply) instead of webpage JS? I
unfortunately can't test this out because of this error when I try:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...

On May 30, 9:56 am, ben <sidevi...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google