# Package be.ehealth.businessconnector.chapterIV

package be.ehealth.businessconnector.chapterIV
implements the chapter 4 conversations : consulting and asking. the interface is `ChapterIVService` , and a easier interface `ChapterIVService` which retrieves the token from the session.

### implementation

the code builds the request objects and navigates the response objects with the necessary sealing and decrypting

since the xsd don't extend from common supertypes , but do have the same interface , wrappers are used to be able to handle the different `ConversationType`s with the same code. (see package wrappers)

the objects are generated with a
invalid reference

    be.ehealth.businessconnector.chapterIV.builders.XmlObjectFactory

, which has different implementation for each conversationtype. most work is done by the builder classes who build the xml objects , do the encrypting and sealing and who call the Validators on the created objects.

retrieving the keys is done by the keyDepotHelper which will retrieve the encryption token via the `KeyDepotManager`

- Related Packages
  Package
  Description
  be.ehealth.businessconnector.chapterIV.builders
  be.ehealth.businessconnector.chapterIV.common
  be.ehealth.businessconnector.chapterIV.domain
  be.ehealth.businessconnector.chapterIV.exception
  be.ehealth.businessconnector.chapterIV.mappers
  be.ehealth.businessconnector.chapterIV.service
  be.ehealth.businessconnector.chapterIV.session
  be.ehealth.businessconnector.chapterIV.utils
  be.ehealth.businessconnector.chapterIV.validators
  be.ehealth.businessconnector.chapterIV.wrapper
  this package contains wrappers for jaxb generated java code that doesn't use common interfaces or superclasses