Anyone
On Jan 20, 3:43 pm, shahid shahidza...@gmail.com wrote:
Using GWT 2.1, I have a WCF web service with a simple interface and I
am trying to call it using RequestBuilder as follows:
String url = http://localhost/EmployeeService/Service1.svc/web/
GetEmployees;
RequestBuilder
Using GWT 2.1, I have a WCF web service with a simple interface and I
am trying to call it using RequestBuilder as follows:
String url = http://localhost/EmployeeService/Service1.svc/web/
GetEmployees;
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET,
URL.encode(url));
try
The easiest way by far is to use RestyGWT
http://restygwt.fusesource.org/documentation/index.html
With it, you just create GWT RPC style service interfaces to access
restful JSON resources.
For example, lets say you want to post some JSON to a URL of /blog/
comments:
{
author:Hiram,
hi ,
converting the java object to JSON Done using
SONObject json_obj = new JSONObject();
json_obj.put(Member_Email,new JSONString(symbol));
json_obj.put(Member_type, new JSONString(type));
and send it using post method using RequestBuilder
try {
On 7 juil, 20:47, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote:
hi ,
converting the java object to JSON Done using
SONObject json_obj = new JSONObject();
json_obj.put(Member_Email,new JSONString(symbol));
json_obj.put(Member_type, new JSONString(type));
and send it using post method
i don't know how to get the parameter from RequestBuilder
i tried
rb.sendRequest(json_mem=+json_obj.toString(), new RequestCallback()
{
... }
and on ther server
req.getparameter(json_mem) ;
and the result is null
how i can get the parameter in post method
On Jul 7, 11:08 pm, Thomas
I don't think that the Gson project can be used as a GWT module.
Looks like it is for pure java development, not GWT development.
Take a look at: http://code.google.com/p/piriti/
http://code.google.com/p/piriti/This project is a GWT library that provide
JSON and XML facilities.
On Tue, Jul 6,
Hi all,
(As mentioned on the following post:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b7c280baf2375841#
)
With the latest versions of GWT you don't have to use any other
libraries.
GWT now comes with something known as Javascript Overlays that you can
utilise to
Dear Friends ,
i face a problem when trying to send and receive json object between
client and server in GWT application
so i want a simple example that show me how to do this
Thanks,
ahmed shoeib
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
re = rb.sendRequest(jsonrpc-call= +
JsonHelper.jsoToString(call),
new RequestCallback() {
@Override
public void onResponseReceived(Request request,
Response response)
{
i want a simple example to describe it
cause i need it as soon as possible
On Jul 5, 6:18 pm, André Moraes andr...@gmail.com wrote:
re = rb.sendRequest(jsonrpc-call= +
JsonHelper.jsoToString(call),
new RequestCallback() {
@Override
This code is quite simple
The line:
re = rb.sendRequest(jsonrpc-call= + JsonHelper.jsoToString(call),
new RequestCallback()
prepare a AJAX call to the server and make your javascript object to a
string using JsonHelper.jsoToString.
In ther server the json-string will be accessible by the
you told me how to send request from client to server
now i want how yo get data from server to use it in client
and the data in json
On Jul 5, 8:12 pm, André Moraes andr...@gmail.com wrote:
This code is quite simple
The line:
re = rb.sendRequest(jsonrpc-call= +
The response comes async.
When the response from the server arrives at the client the method
onResponseReceived in the RequestCallback object is called, if an
error hapens the the onErrormethod is called.
The RequestCallback object is the second parameter in the sendRequest
function call.
Thanks a lot My Friends
it is easy way
thanks for your support
On Jul 5, 9:33 pm, André Moraes andr...@gmail.com wrote:
The response comes async.
When the response from the server arrives at the client the method
onResponseReceived in the RequestCallback object is called, if an
error hapens
15 matches
Mail list logo