Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • Lotus Quickr wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Lotus Quickr 8.5 for WebSphere Portal Documentation Lotus Quickr 8.5.1 for Domino Documentation Lotus Quickr Connectors 8.5 Documentation Custom Search Scope...
Search
Community Articles > Enterprise Content Management > Quickr web services stub sample implementation for Java
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Jon Brunn
Contribution Summary:
  • Articles authored: 1
  • Articles edited: 1
  • Comments Posted: 1

Recent articles by this author

Quickr web services stub sample implementation for Java

WSDL can be used to generate serverside stubs that can serve as a skeleton for providing an implementation of the services. This article shows an example J2EE enterprise app that implements one such implementation.

Community articleQuickr web services stub sample implementation for Java

Added by Jon Brunn | Edited by IBM contributor Gregory Melahn on May 17, 2010 | Version 17
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
WSDL can be used to generate server-side stubs that can serve as a skeleton for providing an implementation of the services. This article shows an example J2EE enterprise app that implements one such implementation.
Tags: webservices, WSDL, ECM, integrating
This section is intended for developers implementing the Lotus Quickr web services. A developer can implement the services to extend Lotus Quickr to another backend repository, file-system or other source of data. Developers can extend Lotus Quickr to additional repositories by implementing the web and REST services for Lotus Quickr, allowing the Lotus Quickr Connectors to browse and access additional sources of data.

Consumers or callers of the Lotus Quickr Content Services will be best served by reading the wiki information on the Lotus Quickr Content Services.

The attached Enterprise Archive (EAR) provides a very basic implementation of the first few methods you will need to implement to create a Lotus Quickr web services implementation. These methods include a "get libraries" call (more precisely a "getBusinessComponents" call), and a getFolders method. Implementors should start by looking at the classes LibraryServiceSOAPImpl, DocumentServiceSOAPImpl and ContentServiceSOAPImpl classes. These are the only classes modified for this sample after the automatic code generatation from the WSDL file.

This EAR file can be imported into your IDE, and run in a WebSphere 6.1 test environment or you can import the contentapi.clb.services.sample.zip, which is a Rational Application Developer Project Interchange archive. Use Import > Other > Project Interchange. The Lotus Quickr Connectors can connect to your test environment to run the web services and see the sample libraries and folders in the Lotus Quickr Connectors.

The critical configuration files to consider when modifying the EAR are the web.xml, webservices.xml, and ContentService_mapping.xml. The web.xml files defines the servlets used for the web service implementation. The webservices.xml file defines the interface classes used for each service. The ContentService_mapping.xml file defines the mapping from the WSDL definition of the web services to the source code used to implement the interface classes. If you change package names, class names or method names or signatures, you may need to alter one or more of these files.

Rational Application Developer automatically checks the URL registered with XML namespaces and expects an XML schema at the URL defined for the namespace. Although the sample will function without the schema defined at the namespace, some IDEs will flag this as an error and prevent the application from being published to a test environment. In Rational products, go to Window > Preferences > Server > WebSphere and make sure "Allow application containing errors to be published on a server" is checked. Checking this option tells the IDE that it can publish and run the application in the test environment despite the schema validation error. The error may still be flagged on the problems view for the ContentService.wsdl file.

Open the attachments section below to download the contentapi.clb.services.sample.ear file.

  • Edit
  • More Actions Show Menu▼


expanded Attachments (1)
collapsed Attachments (1)
Edit the article to add or modify attachments.
File TypeSizeFile NameCreated On
application/octet-stream 535 KB contentapi.clb.services.sample.ear 7/6/08 9:21 PM
expanded Versions (17)
collapsed Versions (17)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (17)May 17, 2010 12:09:34 PMGregory Melahn  IBM contributor
16Mar 24, 2010 2:04:36 PMKristopher T Stoddard  IBM contributor
15Mar 24, 2010 1:06:03 PMKristopher T Stoddard  IBM contributor
14Aug 27, 2009 3:15:07 PMKristopher T Stoddard  IBM contributor
13Aug 27, 2009 3:02:01 PMKristopher T Stoddard  IBM contributor
11May 31, 2009 1:04:11 PMDana Liburdi  IBM contributor
11May 31, 2009 1:04:11 PMDana Liburdi  IBM contributor
10Jan 5, 2009 8:59:19 PMJonathan F Brunn  IBM contributor
8Jan 5, 2009 8:54:17 PMJonathan F Brunn  IBM contributor
7Jan 5, 2009 7:49:36 PMJon Brunn  IBM contributor
7Jan 5, 2009 7:49:36 PMJon Brunn  IBM contributor
6Dec 4, 2008 5:55:26 PMJon Brunn  IBM contributor
5Dec 1, 2008 2:21:07 PMGregory Melahn  IBM contributor
4Sep 30, 2008 3:19:18 PMGregory Melahn  IBM contributor
3Jul 13, 2008 8:48:51 PMJonathan F Brunn  IBM contributor
2Jul 6, 2008 9:23:32 PMJon Brunn  IBM contributor
1Jul 6, 2008 9:21:37 PMJon Brunn  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX Blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use