Skip to main content
Mitratech Success Center

Client Support Center

Need help? Click a product group below to select your application and get access to knowledge articles, webinars, training content, and release notes or to contact our support team.

Authorized users - log in to create a ticket, view tickets status and check your success plan details.

 

Code Samples (Java/Apache CXF)

This chapter provides additional code samples (snippets) for using Web Services when writing a JAVA client program and using the Apache CXF SOAP toolkit. Samples for the following Web Services are provided:
  • ContactRepository
  • AccountRepository
  • AppointmentRepository
  • DocumentRepository
  • ExpenseRepository
  • GroupAccountRepository
  • HistoryRepository
  • InvoiceRepository
  • ProjectRepository
  • InvolvedRepository
  • TaskRepository
  • UserAccountRepository

Each TeamConnect Web Service's or repository's sample code is provided by repository name in alphabetic order for ease of navigation. However the object types can be grouped conceptually like the following:

  • System Objects—AccountRepository, AppointmentRepository, ContactRepository, ExpenseRepository, InvoiceRepository, TaskRepository
    • DocumentRepository (this type of record can be stand-alone but is commonly associated with another record)
    • HistoryRepository (this type of record is always associated with another record, for capturing information about changes to the record information)
  • Custom Objects—ProjectRepository
    • InvolvedRepository (although a system object, this type of record is commonly associated with a project record)
  • Account Administration Objects—GroupAccountRepository, UserAccountRepository

Basic overview descriptions for common functions like inserting, updating, reading, searching, and deleting records are in the chapter, Getting Started under Common Functions.

Note: For JAVA code samples provided in this guide, JAX-WS and JAXB methods were used for JAVA XML Binding.

  • Was this article helpful?