> There isn't anything I know that deals with webservices in Tapestry, but I > guess any webservice package would be easily integrated with Tapestry-IoC > (and thus Tapestry itself. An example of this would be great Thiago, to me this seems harder than it should be, currently the best way I know of is to join the web service context with Tapestry's, which might not be ideal but at least it works... is there a better way?
cheers, Peter ----- Original Message ----- From: "Thiago H. de Paula Figueiredo" <thiag...@gmail.com> To: "Tapestry users" <users@tapestry.apache.org> Sent: Friday, 22 January, 2010 14:25:58 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry 5 and external web service On Fri, 22 Jan 2010 09:10:58 -0200, abangkis <abang...@gmail.com> wrote: > Hello, Hi! > I have 2 question concerning tapestry and web service. > > 1. I have a service that being exposed as a web service using open > esb. What is the easiest way to invoke the web service from tapestry ? > do i need another library or is there some kind of tapestry-webservice > plugin that tapestry already provide ? There isn't anything I know that deals with webservices in Tapestry, but I guess any webservice package would be easily integrated with Tapestry-IoC (and thus Tapestry itself. > 2. If i want to show the data in a grid, is there any way i can do > this without turning the xml data to Pojo and insert it to a list to > be used by the grid ? Yes. Create a dummy BeanModel with BeanModelSource (or implement BeanModel yourself) and then add the columns using beanModel.add("columnId", propertyConduit). You'll need to implement PropertyConduit itself in this case. Regarding its set() method, you can give it a blank implementation, as you're just displaying data, not editing it. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org