# Package be.ehealth.businessconnector.chapterIV

implements the chapter 4 conversations : consulting and asking.

See: Description

## Package be.ehealth.businessconnector.chapterIV Description

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 `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`

Connector Packaging generic 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.