
Audit reports are emailed to various people and then manually saved on SharePoint.īecause the engines used for monitoring have a pluggable output writer concept, it was natural to consider setting up a writer for SharePoint. Audits ensure that data is in a consistent state, both across marts and within the mart where it resides. Various kinds of monitoring take place in this environment, including automated audits and reports that are run against the data housed in data-marts. Consumers, both internal and external to the company, consume the data in order to make business and personal decisions. I work in a group that performs information management for large volumes of data that eventually is housed in various data-marts (service, export, report, and so on). My demonstration code is very simple: I've used no open source code other than for logging and my implementation has no dependencies on Java EE technology, so you can run the source code directly from Eclipse in a standard Java application. Hopefully, this tip will convince you that there are CAMLs that you can use to get business documents from point A to point B, without relying on four legs and a hump. You'll learn how to construct valid CAML structures that are passed as method parameters or assigned to object properties, which are in turn passed as parameters to these services. For the CRUD operations we'll use CAML (Collaborative Application Markup Language), an XML-based language utilized in many of the methods exposed by Copy and Lists. The demonstration will focus on some of the more popular methods that any SharePoint web service consumer is likely to invoke, which are found in Microsoft's Copy and Lists services. In this I'll show you how to perform basic CRUD operations on a SharePoint document folder from a Java client.

But there were quite a few hurdles along the way, which I'd like to help other JavaWorld readers avoid. Well, as it turns out I did get the job done, and as with many things it ended better than it started. I used to think that a Camel was something to smoke or ride in the desert, but that was before I opened my mouth at work one day and said, "Sure I can automatically save these documents up to SharePoint." SharePoint has been around for a long time, so I assumed that there must be a Java API or possibly some exposed web services that I could consume.
