Another Javascript problem. I hate Javascript. 

https://issues.apache.org/jira/browse/CXF-1308

Thanks,
Jervis

> -----Original Message-----
> From: YI (William) ZHU [mailto:[EMAIL PROTECTED]
> Sent: 2007年12月18日 3:03
> To: cxf-user@incubator.apache.org
> Subject: RE: sample failure: restfull_http_binding
> 
> 
> Hi Jervis,
> 
> Thanks for your reply.
> 
> I have tested the sample with FireFox 2, it works but not in a correct way:
> 
> Everytime when I click the "Get Customers!" button, the same customers
> were
> appended to the page.
> I think they should be refreshed but not appended.
> 
> Regards,
> YI ZHU
> 
> 
> 
> 
> Liu, Jervis wrote:
> >
> > For your information, CXF-889 has been fixed in CXF2.0.3, though the "Get
> > Customers!" button is still not working with IE (works with Firefox). I
> > created https://issues.apache.org/jira/browse/CXF-1306 to track this.
> >
> > Cheers,
> > Jervis
> >
> >
> >> -----Original Message-----
> >> From: Daniel Kulp [mailto:[EMAIL PROTECTED]
> >> Sent: 2007年12月15日 4:20
> >> To: cxf-user@incubator.apache.org
> >> Cc: YI (William) ZHU
> >> Subject: Re: sample failure: restfull_http_binding
> >>
> >>
> >>
> >> 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":"Wil
> >> l
> >> >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
> >> [EMAIL PROTECTED]
> >> http://www.dankulp.com/blog
> >
> > ----------------------------
> > IONA Technologies PLC (registered in Ireland)
> > Registered Number: 171387
> > Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
> >
> >
> 
> --
> View this message in context:
> http://www.nabble.com/sample-failure%3A-restfull_http_binding-tp143397
> 71p14373995.html
> Sent from the cxf-user mailing list archive at Nabble.com.

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Reply via email to