cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YI (William) ZHU" <zhu_yi_2...@yahoo.com>
Subject Re: sample failure: restfull_http_binding
Date Thu, 20 Dec 2007 14:44:28 GMT

Hi,

I have done some testing to the page "test.html".

Two fixes: 
1) works with IE 6 and FireFox 2 now;
2) customers table is refreshed, not appended.

Please validate.

Cheers,
YI ZHU


http://www.nabble.com/file/p14437670/test.html test.html 


dkulp wrote:
> 
> 
> 
> I think these are logged as:
> 
> https://issues.apache.org/jira/browse/CXF-873
> https://issues.apache.org/jira/browse/CXF-889
> 
> Patches are most welcome.  
> 
> Dan
> 
> 
> On Friday 14 December 2007, YI (William) ZHU wrote:
>> Hi,
>>
>> I found that there two issues in the CXF 2.0.2 sample
>> "restfull_http_binding":
>>
>> 1) the "test.html" page to test the "Jettison/CXF AJAX Demo" is not
>> working, I found that the javascript has problem.
>>
>> 2) if I change the "CustomerServiceImpl.java" file to let the web
>> service to return two customers, not the  original 1 customer. Then
>> following links work fine:
>>    http://localhost:8080/xml/customers
>>    http://localhost:8080/xml/customers/123
>>    http://localhost:8080/json/customers/123
>>
>> but this link "http://localhost:8080/json/customers" return:
>>
>> {"acme.Customers":{"acme.customer":[{"acme.id":"789","acme.name":"Will
>>iam Zhu"},{"acme.id":"123","acme.name":"Dan Diephouse"}]}}
>>
>> I thought that's not correct, they should return two "acme.customer"
>> items.
>>
>> Can someone check the implementation of JSON on CXF is OK?
>>
>>
>> Thanks,
>> YI ZHU
> 
> 
> 
> -- 
> J. Daniel Kulp
> Principal Engineer, IONA
> dkulp@apache.org
> http://www.dankulp.com/blog
> 
> 

-- 
View this message in context: http://www.nabble.com/sample-failure%3A-restfull_http_binding-tp14339771p14437670.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message