Yeah, that's my plan - turn the XML into a value bean and use it as my form model. However, my question is more related to what happens before that: Make an HTTP call to the external website, retrieve the XML and *then* parse it. Again, my first instinct is to HttpClient, but last time I used it was several years go - was wondering if there's anything in Wicket I should use instead.
Michael -----Original Message----- From: Ryan Sonnek [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 3:36 PM To: [email protected] Subject: Re: Web service call inside Wicket? If your service (http, webservice, whatever) returns some kind of business object, it'll be very easy to bind it to form values. MyObject object = service.find(); add(new TextField("name", new PropertyModel(object, "name")); make sense? On Jan 28, 2008 5:32 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > This is a simple question - I have do make an http call to an external > website inside my DAO - it's like a webservice call. The resulting XML > then needs to be parsed and used to populate my Wicket form. I was > thinking of using the Jakarta Commons HttpClient to retrieve the XML, > but was wondering if there is a preferred way of doing stuff like this > in Wicket. > > Thanks! > > Michael > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
