Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Import/Load XML from Web Service or URL?

Avatar

Former Community Member

Hi,

Like many, I'm new to LCD 8.2.  I have a form with subforms and repeating rows currently bound via a schema, but that can change if need be.  I'm able to import/export file-based XML and that process works well.

However I'd rather not subject my end-users to browsing for an XML file, and loading it, and I'd like to provide something more elegant. In short, I'd like to import XML from either a web service (returning a single value being the XML document) or by loading the XML directly from a URL by a single button click.

Is this possible?

Much appreciated,

Dave

3 Replies

Avatar

Former Community Member

Yes. There are a number of options including a data connection to a WSDL that allows you to bind the response to the form and call a servlet to merge data into the form.

Avatar

Former Community Member

Any chance you could point me towards some examples/documentation?

Thanks, your reply is much appreciated.

Dave