webtier@glassfish.java.net

Re: [Jersey] PHP consuming RESTful web-services

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Tue, 15 Sep 2009 12:30:00 +0200

thanks........ the other concern seems to be the JSON format returned
by the default JAXB library of Glassfish.. I know I can replace that
with the latest JAXB code, but I am not sure if this latest code is
also available through Maven since it is not yet released.........

miles to go.. :)

On Tue, Sep 15, 2009 at 11:35 AM, Erdinc Yilmazel <erdinc_at_yilmazel.com> wrote:
> Hi Felipe,
>
> The easiest and probably the best way of invoking HTTP requests from PHP is
> by using the cURL extension. This is the php manual page for the curl
> library in php : http://www.php.net/manual/en/ref.curl.php
>
> The thing about the library is that it's API isn't so user friendly. So
> there are some php classes which you may use that wraps the internal curl
> api in a more object oriented and much more user friendly fashion. The one
> that I used in several projects is this: http://github.com/shuber/curl .
>
> Hope this helps.
>
> Erdinc
>
> 2009/9/15 Felipe Gaścho <fgaucho_at_gmail.com>
>>
>> Hi there,
>>
>> I have a group of students motivated to create a PHP client to my
>> Jersey web-service.. and I am quite excited about this possibility.
>>
>> problem is: I have no previous knowledge about PHP, and I have no good
>> references about PHP consuming REST services...
>>
>> so, if you can support us in this integration startup, please let me
>> know.. and if you don't have time but at least you know where are the
>> good references, send to me ..
>>
>> The service is open-source, the PUJ code:
>> http://java.dzone.com/articles/rest-project-glassfish
>> The client so far is a DWR prototype:
>> http://fgaucho.dyndns.org:8080/arena-dwr/
>>
>> and if I can attract these other group to produce a PHP client to my
>> service it would be really nice for everyone..
>>
>> so, please help :)
>>
>>    Felipe Gaścho
>>
>> --
>> Looking for a client application for this service:
>> http://fgaucho.dyndns.org:8080/footprint-service/wadl
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl