Request Builder Error - GWT

2011-10-06 Thread coffeMan
Can anyone tell me what the error might be coming from? I cannot get passed this, Thanks! [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String

Re: Request Builder Error - GWT

2011-10-06 Thread Thomas Broyer
On Thursday, October 6, 2011 1:32:03 PM UTC+2, coffeMan wrote: Can anyone tell me what the error might be coming from? I cannot get passed this, Thanks! [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public

Java Servlet and Same Origin Policy question using GWT Request Builder

2011-10-03 Thread coffeMan
I created a Java Servlet on a test machine, on network. I want to create a gwt app to call that servlet and retrieve XML from it using the request builder from a different machine but on the same network. Is this going to invoke SOP? -- You received this message because you are subscribed

Re: Java Servlet and Same Origin Policy question using GWT Request Builder

2011-10-03 Thread Jens
As long as protocol, domain and port number do not change you wont have a problem regarding same origin policy.If they change you can use JSONPRequstBuilder (requires some changes in your servlet to make it jsonp compliant) or you have to use a reverse proxy to map the external servlet to the

Re: Java Servlet and Same Origin Policy question using GWT Request Builder

2011-10-03 Thread coffeMan
can i change what address is outputted from Eclipse GWT? I believe it is my IP:port/.html?gwt.codes=IP:9997 I am assuming that is what it is comparing to in relation to my java servlet i am trying to parse On Oct 3, 1:06 pm, Jens jens.nehlme...@gmail.com wrote: As long as protocol, domain and

Re: Request Builder

2011-07-04 Thread Robert W
must form complete classes (more work for me now). On Jul 3, 5:05 am, sanjay kanwar sanj.kan...@gmail.com wrote: Hi There, I have a task in which i hav to use Request Builder and JSON to fetch the data frm the php server and show it in the screen in the form of image representating tht data. I

Re: Request Builder

2011-07-04 Thread Elhanan Maayan
be created by gwt Generator but generator must form complete classes (more work for me now). On Jul 3, 5:05 am, sanjay kanwar sanj.kan...@gmail.com wrote: Hi There, I have a task in which i hav to use Request Builder and JSON to fetch the data frm the php server and show it in the screen

Re: Request Builder

2011-07-03 Thread Alisson Prestes
/profiles/javalisson On Sun, Jul 3, 2011 at 12:05 AM, sanjay kanwar sanj.kan...@gmail.comwrote: Hi There, I have a task in which i hav to use Request Builder and JSON to fetch the data frm the php server and show it in the screen in the form of image representating tht data. I am new to jst

Request Builder

2011-07-02 Thread sanjay kanwar
Hi There, I have a task in which i hav to use Request Builder and JSON to fetch the data frm the php server and show it in the screen in the form of image representating tht data. I am new to jst a recent graduate and new to this technology any help about how to proceed would be very helpful

Request Builder and cross domain requests

2011-01-03 Thread byhisdeeds
I am trying to use RequestBuilder to access an xml document that is available on the same server as my GWT 2.1 application but in a different servlet container. Thus my GWT application is accessed via http://localhost:8084/sdv and the xml document is accessed via localhost:8086:/geoserver/rest/...

Re: Request Builder and cross domain requests

2011-01-03 Thread Thomas Broyer
Yes: http://en.wikipedia.org/wiki/Same_origin_policy and http://tools.ietf.org/html/draft-abarth-origin -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To

Request Builder

2010-11-09 Thread swingm
When using GWT RPC mechanism , the proxy class calls the method on RequestBuilder to which it sends the parameterized requestData. I want to make this independently in my presenter. can anyone suggest how to do this RequestBuilder rb = doPrepareRequestBuilderImpl(responseReader, methodName,

Issue with XML object passing using Request Builder

2010-11-08 Thread jayalakshmi jahagirdar
hello all, I have the following requierement: A XML file is at the server side.Need to parse it . I have a nested class . Create a object of this nested class ,add parametres from XML parsing to this object and pass it back to the client. Iam making use of RequestBuilder. Iam able to parse it

Re: Issue with XML object passing using Request Builder

2010-11-08 Thread Fernando
http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideXML On Nov 8, 10:47 am, jayalakshmi jahagirdar jayalakshmi.jahagir...@gmail.com wrote: hello all, I have the following requierement: A XML file is at the server side.Need to parse it . I have a nested class . Create

Re: Issue with XML object passing using Request Builder

2010-11-08 Thread jayalakshmi jahagirdar
Thanks Fernando for the reply. Can u please share a method of sending my object of XML to client (Iam using request builder). I want to know how i can add this object of XML to the response(HttpServletResponse response) in my servlet so that i can navigate it to client. Thanks jaya On Mon, Nov

Re: Issue with XML object passing using Request Builder

2010-11-08 Thread jayalakshmi jahagirdar
On Tue, Nov 9, 2010 at 10:32 AM, jayalakshmi jahagirdar jayalakshmi.jahagir...@gmail.com wrote: Thanks Fernando for the reply. Can u please share a method of sending my object of XML to client (Iam using request builder). I want to know how i can add this object of XML to the response

Crossdomain -POST Request using Request Builder

2010-11-03 Thread Raghunath
Hi I'm trying to post a text message to cross-domain using RequestBuilder. Problem is the remote server is getting the request. But the GWT client is getting empty string iin the response. I tried in several ways but no use. Please suggest me. for (RESTClientListeners

Re: Crossdomain -POST Request using Request Builder

2010-11-03 Thread Raghunath
Actually the status code is always 0 , digging for more. If you have any solution please let me know On Nov 4, 9:25 am, Raghunath visuma...@gmail.com wrote: Hi I'm trying to post a text message to cross-domain using RequestBuilder. Problem is the remote server is getting the request. But the

Re: REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE

2010-10-08 Thread Alessio unibs
Hi guys, i solved my problem using $HTTP_RAW_POST_DATA as Thomas Broyer suggests; Thank you for helping me On 7 Ott, 17:55, Ketan Shah ketan.s...@gmail.com wrote: try trasmettiJSON.setHeader(Content-Type,application/x-www-form- urlencoded); On Oct 7, 1:58 am, Alessio unibs

Re: REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE

2010-10-07 Thread Alessio unibs
Hi andy, thank you for answer; Yes i try setRequestData, and if i'am right, i must use send() method to send the request. I did that but the $_POST php variable was empty again. My php file is for now: ?php $jsonGenerale = $_POST; echo(count($jsonGenerale)); ? THANK YOU IN

Re: REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE

2010-10-07 Thread Thomas Broyer
On Oct 7, 11:30 am, Alessio unibs cecchia...@libero.it wrote: Hi andy, thank you for answer; Yes i try setRequestData, and if i'am right, i must use send() method to send the request. I did that but the $_POST php variable was empty again. My php file is for now: ?php        

Re: REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE

2010-10-07 Thread Ketan Shah
try trasmettiJSON.setHeader(Content-Type,application/x-www-form- urlencoded); On Oct 7, 1:58 am, Alessio unibs cecchia...@libero.it wrote: Hi, i have problem by using gwt requestbuilder to make http request with json object in body messages. In the server side code, i use php, but when i try

REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE

2010-10-06 Thread Alessio unibs
Hi, i have problem by using gwt requestbuilder to make http request with json object in body messages. In the server side code, i use php, but when i try to access request's data, the $_POST variable is empty. I post the code below: String path = GWT.getHostPageBaseURL() + JsonObjectReceiver.php;

Re: REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE

2010-10-06 Thread andy stevko
Did you try public void *setRequestData*(java.lang.String requestData) On Wed, Oct 6, 2010 at 1:58 PM, Alessio unibs cecchia...@libero.it wrote: Hi, i have problem by using gwt requestbuilder to make http request with json object in body messages. In the server side code, i use php, but

I need a little help with request builder

2010-08-16 Thread nacho
Well, the trouble is not exactly with request builder. The thing is like this. I have a class BinFileReader that in the constructor receives an url an read it address file contents. And the class haves some methods, like readString(), readInt, readByte, etc. But, obviusly, first at all

Re: I need a little help with request builder

2010-08-16 Thread André Moraes
If i get it correct: 1- Your file as a file that your server will serve when you make a GET request. 2- You are using RequestBuilder to open a connection to your server and fetch the file 3- If all of this is true, you should do: 3.1 - create the requestbuilder and point it to your file 3.2 - you

Re: I need a little help with request builder

2010-08-16 Thread nacho
Yes, i thought to do in that way. But the trouble is that i need to work with 3 files, and i need to execute more than one method over the file contents, so that was that i was wondering some how to make sure that the content was loaded and then work with it. On 16 ago, 14:45, André Moraes

Request Builder Vs RPC call for File Download

2010-06-02 Thread Tapas Adhikary
a service call at the server side and get the OutputStream. If I am using Request Builder , Approach 1 : I can send all these report Ids as a comm separated string as a part of the request data and then parse them in the servlet to make the service call . But it's failing when I am trying to do

Re: request builder

2010-01-08 Thread ben fenster
?? On Jan 7, 7:30 pm, ben fenster fenster@gmail.com wrote: thats what  i am doing and it works great in hosted but not in compile mode do you have an idea way ?? On Jan 7, 3:55 pm, Jamie jamiesharbor-sou...@yahoo.com wrote: You should then probably install something like TamperData

Re: request builder

2010-01-08 Thread Paul Robinson
Please don't take this the wrong way. I really am trying to help... If you read this: http://catb.org/~esr/faqs/smart-questions.html then you may understand why you've had a poor response and perhaps get some ideas about how to elicit a better response. For example, Jamie tried to help, but it's

Re: request builder

2010-01-08 Thread ben fenster
the thing is there wasnt anything to tell because i used a reequest builder wich sent requests ok in hosted but nor in compile the problem was with the url the problem is with the reequeest builder class that for some reason didnt throw any exception when it considered the diffrence betwen

request builder

2010-01-07 Thread ben fenster
does any one know why would a request sent using equest builder works in hosted mode but dont work in compile mode i am using it to access php scripts running on the same xamp server -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: request builder

2010-01-07 Thread ben fenster
its not cross site and it works ok in hosted more over it doesnt fail in compile but keep getting empty responses and in hosted they are ok i cant understand why On Jan 7, 10:47 am, olivier nouguier olivier.nougu...@gmail.com wrote: SOP ? or some GWT SOP All I known is that when using

Re: request builder

2010-01-07 Thread ben fenster
??? On Jan 7, 11:56 am, ben fenster fenster@gmail.com wrote: its not cross site and it works ok in hosted more over it doesnt fail in compile but keep getting empty responses and in hosted they are ok i cant understand why On Jan 7, 10:47 am, olivier nouguier olivier.nougu...@gmail.com

Re: request builder

2010-01-07 Thread Jamie
You should then probably install something like TamperData or Firebug for firefox, and see if your request is actually being sent from the browser. Or you could use wireshark, but that's not as easy to read. As well, tamperdata or wireshark will let you see the data in the responses. BTW, if you

Re: request builder

2010-01-07 Thread ben fenster
thats what i am doing and it works great in hosted but not in compile mode do you have an idea way ?? On Jan 7, 3:55 pm, Jamie jamiesharbor-sou...@yahoo.com wrote: You should then probably install something like TamperData or Firebug for firefox, and see if your request is actually being

Request Builder and SOP Policy

2009-08-20 Thread Hemal
Hi All, I am building an application where i need to access a service from another domain and pass POST parameter to it. i am using RequestBuilder for the same. The main use of the app would be to provide to many users so that they can include the code and run it . Something like a widget.

Re: Request builder HTTP Method

2009-05-19 Thread Thomas Broyer
On 18 mai, 15:08, Arthik Babu arthikb...@gmail.com wrote: Hi,    In my task I need to build the request for the URL. I am getting Method as a parameter. I dont know how to get the http method name from the Method class. Please help me. See

Request builder HTTP Method

2009-05-18 Thread Arthik Babu
Hi, In my task I need to build the request for the URL. I am getting Method as a parameter. I dont know how to get the http method name from the Method class. Please help me. For ex. doProcess(URL url, Method method){ // here i need to check the HTTP method name like if(method.GET ==

Re: Request Builder problem

2008-12-19 Thread Isaac Truett
You're making an asynchronous request and then you aren't waiting for it to finish. Your getData() method cannot return anything.You have to use the callback to do whatever it is you want done with the data. On Sun, Dec 14, 2008 at 2:32 AM, dhaval dhruva...@gmail.com wrote: Hi guys, I have

Request Builder problem

2008-12-14 Thread dhaval
Hi guys, I have searched the forum and couldn't find the solution. Here is my code. public class Getter { private String url = php/Main.php; //fix url never changes private RequestBuilder builder = null; private String result = null; public Getter()

Request Builder doesn't invoke the server (external)

2008-11-10 Thread Manish Kumar
Hi Everybody, As I have used request builder to make an request to server, this does not even connect to server. Here is my code : public class CommentProviderServlet extends RemoteServiceServlet implements AddCommentService { private class PMRequestBuilder extends RequestBuilder

Http Request Method PUT in GWT Request Builder

2008-10-22 Thread Manish Kumar
Hi Everybody, Thanks all of you for continuous help and support. I have been working on gwt for 1 months back. I have learnt a lot from this Forum. Right now, I am completely stuck off at on point. I have a web server which uploads the file using PUT method only. We have to put the file from

Re: Http Request Method PUT in GWT Request Builder

2008-10-22 Thread Lothar Kimmeringer
Manish Kumar schrieb: Right now, I am completely stuck off at on point. I have a web server which uploads the file using PUT method only. We have to put the file from GWT (using RequestBuilder) client to webserver. At this point of time, this is quite problematic to change the server

Re: Http Request Method PUT in GWT Request Builder

2008-10-22 Thread Lothar Kimmeringer
Thomas Broyer schrieb: AFAIK, this is a Safari-2-only limitation; but there are also broken proxies/firewalls out there that only allows HEAD/GET/POST. A day without learning something new is a bad day. Today is a good day ;-) However, I'd first check that the server accepts some kind of

Re: Http Request Method PUT in GWT Request Builder

2008-10-22 Thread Thomas Broyer
On 22 oct, 14:39, Lothar Kimmeringer [EMAIL PROTECTED] wrote: Manish Kumar schrieb: Right now, I am completely stuck off at on point. I have a web server which uploads the file using PUT method only. We have to put the file from GWT (using RequestBuilder) client to webserver. At this

Re: Http Request Method PUT in GWT Request Builder

2008-10-22 Thread Thomas Broyer
On 22 oct, 17:01, Lothar Kimmeringer [EMAIL PROTECTED] wrote: Thomas Broyer schrieb: AFAIK, this is a Safari-2-only limitation; but there are also broken proxies/firewalls out there that only allows HEAD/GET/POST. A day without learning something new is a bad day. Today is a good day