As Promised...

For some reason... do the following...

*Assumptions..*

   - You have the Latest Eclipse(Juno)
   - You have installed all the latest APPEngine SDK 1.70
   - You have Java SDK 1.70 at least..
   - You Created a POJO
   - You Generated your endpoint class by right-clicking on the
   POJO->Google->Generate Cloud Endpoint Class


*The symptoms...you are experiencing*
When you right mouse click on the
project then Google->Generate Cloud Endpoint Client Library...
you get a quick flash and then nothing!!!

*Solution*
1. Click on the menu bar of the IDE
   Window->Show View->Navigator
2. This should take you to the Navigator Window.
3. Expanding the ".settings" folder in the Navigator window
   under your project.
4. double-click the file "org.eclipse.wst.common.project.facet.core.xml"
5. It should look like what I have below... but probably yours says
..version="1.7"
CHANGE IT TO "1.6" just like mine below...and save

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <installed facet="java" version="1.6"/>
</faceted-project>

6. Your Project will the probably start to Complain
    so click on the "Window->Show VIew->Problem" option and
    choose to do the quick fix...
7. Your project will stop complaining...

8. Go back to Package Explorer and Google->Generate Cloud Endpoint Client
Library
   Again this should now work.

BUT YOU WANTED TO TEST THE END POINTS
LOCALLY...RIGHT?

9. Once you are running you projects locally...
enter the following format on the url and..

http://localhost:8888//_ah/api/X/v1/Y
where X = @Api(name = "thenameyouputhere")
and    Y =  your POJO name lowercase
DONT forget the v1
This should yield an empty JSON list!!!!

but because you can do a POST from the url
in your browser...

To test all of the inputs, this is best done with "CURL" even on a Windows
PC
here is the link to get CURL
http://www.paehl.com/open_source/?CURL_7.26.0

9. You only need for now the non-ssl version..
you will need the SSL version when you are
able to deploy to appengine... for now you will be testing locally...

10. once you have downloaded and installed curl ...
      go to the curl folder do the following...

11.
To ADD and Entry
curl --header "Content-Type: application/json" -X POST -d  "{\"X\":\"Some
New Value"}" "http://localhost:888/_ah/api/Yt/v1/Z";
X = "Some Variable in your POJO that you Want to ADD (not the Identity)"
where Y = @Api(name = "thenameyouputhere")
and    Z =  your POJO name lowercase
DONT forget the v1

NOW repeat Step 9 then 11 again...

Hope it helps, let me know either way ...

On Mon, Jul 16, 2012 at 2:03 AM, YatiRaj B <[email protected]> wrote:

> Wowwww! that's an exciting news!
> Eagerly waiting for your reply! And thank you so much!! :)
>
> Best Regards,
> Raj
>
>
> On Mon, Jul 16, 2012 at 11:19 AM, Kevin Moore <[email protected]> wrote:
>
>> I thought so also but that turned out to not be the case, it is is late
>> for me now I promise I will send email tomorrow with exactly how to get it
>> working locally....
>>  On Jul 16, 2012 1:46 AM, "YatiRaj B" <[email protected]> wrote:
>>
>>> Hi Kevin,
>>>
>>> I don't know how you would do that.
>>>
>>> After annotating appropriately as explained in Google IO video, when I
>>> right click and do "generate Cloud Endpoints...", I'm getting and error
>>> which doesn't tell anything about the error.
>>> This is even before deploying.
>>>
>>> I guess it tries to contact Google for the creation of the libraries
>>> (again as explained in Google IO video). And since I'm not granted Trusted
>>> Tester access yet, it fails. Just my initial conclusion.
>>>
>>> If you know how to make it work alternatively, please let me know.
>>>
>>> Thanks in advance,
>>> Raj
>>>
>>>
>>> On Sun, Jul 15, 2012 at 10:14 PM, Kevin Moore <[email protected]>wrote:
>>>
>>>> On Thursday, July 12, 2012 12:05:35 PM UTC-4, Daryl Bergeron wrote:
>>>> > +1. I signed up two days ago. Thought I might at least get a
>>>> confirmation email that my request was received, but have not. Just anxious
>>>> to get started on it, and don&#39;t want my request to fall thru the
>>>> cracks. Thanks.
>>>> >
>>>> > On Tuesday, July 10, 2012 3:14:08 PM UTC-5, AB wrote:<blockquote
>>>> class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc
>>>> solid;padding-left:1ex">
>>>> > How long will it take for Endpoints to be open (at least for
>>>> testers)?</div>
>>>> Daryl, and you could still test it locally with out deploying it...
>>>> >
>>>> >
>>>> > </div></div>
>>>> > </blockquote>
>>>>
>>>>
>>>>
>>>> On Thursday, July 12, 2012 12:05:35 PM UTC-4, Daryl Bergeron wrote:
>>>> > +1. I signed up two days ago. Thought I might at least get a
>>>> confirmation email that my request was received, but have not. Just anxious
>>>> to get started on it, and don&#39;t want my request to fall thru the
>>>> cracks. Thanks.
>>>> >
>>>> > On Tuesday, July 10, 2012 3:14:08 PM UTC-5, AB wrote:<blockquote
>>>> class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc
>>>> solid;padding-left:1ex">
>>>> > How long will it take for Endpoints to be open (at least for
>>>> testers)?</div>
>>>> >
>>>> >
>>>> > </div></div>
>>>> > </blockquote>
>>>>
>>>>
>>>>
>>>> On Thursday, July 12, 2012 12:05:35 PM UTC-4, Daryl Bergeron wrote:
>>>> > +1. I signed up two days ago. Thought I might at least get a
>>>> confirmation email that my request was received, but have not. Just anxious
>>>> to get started on it, and don&#39;t want my request to fall thru the
>>>> cracks. Thanks.
>>>> >
>>>> > On Tuesday, July 10, 2012 3:14:08 PM UTC-5, AB wrote:<blockquote
>>>> class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc
>>>> solid;padding-left:1ex">
>>>> > How long will it take for Endpoints to be open (at least for
>>>> testers)?</div>
>>>> >
>>>> >
>>>> > </div></div>
>>>> > </blockquote>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msg/google-web-toolkit/-/s2K21PwAzywJ.
>>>> To post to this group, send email to
>>>> [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" group.
>>> To post to this group, send email to [email protected]
>>> .
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to