Tuesday, December 17, 2024

Is there a way to force the base url of RPC calls?

Hello all:

I am having a problem with an RPC call.

My server side is available and responds to requests. I put a doGet
method in the implementation class and you can see its response
at this url:
https://dev.3dmathpuzzles.com/3dmp/DiagonalSlitherlink/GetPuzzle

When I load my client code:
https://dev.3dmathpuzzles.com/3dmp/diagonalSlitherlink.html
The RPC call fails with a 404 error.

I think the RPC call is using a different URL than what my server is
expecting.

I called GWT.getModuleBaseURL() and it gave me
https://dev.3dmathpuzzles.com/play/DiagonalSlitherlink/

So I think it might be trying to access the RPC at
https://dev.3dmathpuzzles.com/play/DiagonalSlitherlink/GetPuzzle

That is not going to work since that request will only go to Apache
and not make it to Tomcat.

Is there a way to force the base URL for the RPC call?

Thank you,
Neil

--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/79d46a28f2c3f31f7d71afff2a75ca36%40mail.gmail.com.

No comments:

Post a Comment