I found out what was causing my problem.

My RequestBuilder was originally constructed as: new RequestBuilder
(RequestBuilder.POST, "http://localhost/appdir/somefile.aspx";);

Once I used either a specific machine name or relative path then it no
longer switched the from POST to OPTIONS. I now have the following:
new RequestBuilder(RequestBuilder.POST, "/appdir/somefile.aspx");

On Jan 5, 7:49 am, Derek <dealy...@hotmail.com> wrote:
> I'm having a very similar problem, but don't have an answer yet.
>
> I'm using the RequestBuilder to do an HTTP POST to our IIS server.
> Everything seems fine when I'm in the Java debugger in hosted mode,
> but when I compile to Javascript, my POST is changed to OPTIONS in FF
> and Chrome, but it works properly in IE.
>
> I've been stuck on this problem for days now.
>
> On Jan 4, 4:51 pm, lfrohman <lfroh...@gmail.com> wrote:
>
> > After upgrading my application to GWT 2.0, I am getting a
> > com.google.gwt.user.client.rpc.StatusCodeException on an rpc call in
> > Development mode.
> > This only happens in Development mode, and only in Chrome and FF, it
> > works fine in IE.
> > When I look at the apache logs for production mode (and development
> > mode in IE), the rpc
> > call becomes an http POST:
>
> > 127.0.0.1 - - [04/Jan/2010:16:25:56 -0800] "POST /parvia/piece.rpc
> > HTTP/1.1" 200 1943 "http://localhost:8888/commerce/hosted.html?
> > commerce" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
> > Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> > 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; OfficeLiveConnector.
> > 1.4; OfficeLivePatch.1.3)"
>
> > but in Firefox and Chrome Development mode, the rpc call results in an
> > http OPTIONS:
>
> > 127.0.0.1 - - [04/Jan/2010:16:28:24 -0800] "OPTIONS /parvia/piece.rpc
> > HTTP/1.1" 200 - "http://localhost:8888/commerce/hosted.html?commerce";
> > "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5
> > (KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5"
>
> > anyone have an idea what is causing this?
>
> > Thanks,
> > Lance
-- 
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 unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to