Package com.highdeal.hci
Java package provides the main Java classes and Java interfaces to
implement the management of the communications between your client application
and the connected SAP CC system via the
HTTP Communication Interface (HCI) technical interface of SAP Convergent Charging;
With this package, you can develop a client
application able to send multiple operation requests and handle the results and exceptions.
| Technical Interface | HCI (HTTP Communication Interface) |
| Communication Protocol | XML over HTTP (or HTTPS) |
| Communication Mode | Asynchronous, synchronous |
| Public Endpoints | Dispatcher instances of the SAP CC system (Each dispatcher instance has a communication port relating to the HTTP communications) |
| API Technology |
|
| SAP CC Java Library | core-client.jar
|
| Security | Yes (see the SAP CC Security Guide) |
Technical Interface: HTTP Communication Interface (HCI)
Communication Infrastructure
The HTTP Communication Interface (HCI) technical interface defines a communication infrastructure to exchange messages in envelopes between
your client application and the connected SAP CC system.
Business Services
The HCI technical interface provides the following business services for configuring master data and customer master data.
| Business Service | Master Data Configuration | Customer Master Data Configuration |
|---|---|---|
| Description | Catalog management | Provisioning |
| Services |
|
|
| Environment | Prepaid and postpaid | Prepaid and postpaid |
Recommendation
Refer to the SAP CC Application Help for more information about the catalog management and about the customer data provisioning.
Technical Services
The HCI technical interface provides some technical services for administering the SAP CC systems.
Consider the package com.highdeal.admin.hci
that delivers these technical services and implement the
operations depending on your business requirements.
APIs for the HTTP Communication Interface
To implement some business services available in the HCI technical interface of SAP CC, you can use the following Java packages:
com.highdeal.hcicom.highdeal.catalog.hcicom.highdeal.pnr.hci,com.highdeal.mappingtable.hci, andcom.highdeal.rangetable.hcicom.highdeal.admin.hci
Features
The HCI technical interface provides important features that you can implement in your SAP system landscape.
Note
Consult the SAP CC Application Help for more information about high availability, high volume data, and performances. It details the functions and mechanisms available in SAP Convergent Charging.
Security
The HCI technical interface provides secured communications via the HTTPS channel. Consult the SAP CC Security Guide.Communications
- XML over HTTP (or HTTPS)
- Asynchronous, Synchronous
- Public Endpoints: Dispatcher instances of the SAP CC system
Similar Information
Consider the following technical interfaces of SAP Convergent Charging:
| Technical Interface | Specifications |
|---|---|
| Message TCP | In this SAP product documentation |
| Web Services | SOAP API Reference |
-
ClassDescriptionThis
Java classrepresents a configurable parameter description.TheAdditionalInfoModelrepresents an information used as search criteria to findData.Generic exception thrown when there is an attempt to create an entity with a unique code (such as a product or a business relationship) that already exists.ThisJava classrepresents the description of an audit custom filter as seen by your client applications; This data model allows filtering a list of user operation execution recordings already stored by the SAP CC system.This operation allows you to check the login and password of anSAP CC userand to retrieve theassigned rolesand grantedauthorization objectsresulting from the merge of all the roles assigned to the user.This class represents the result of theAuthenticate User operation; It contains the definition of the authenticatedSAP CC userwith grantedauthorization.Represents a failed authentication attempt, including a record date and a source address.Exception thrown when an error occurs during the authentication of theSAP CC userthat is themessage originator.Exception thrown in your client application when a bad method argument or configuration settings are specified to amessage sender factory.Exception thrown when amessagewith a bad format is received by the SAP CC system.ThisJava classis aBooleancontainer; It extends thejava.lang.Booleanclass by adding features to marshal this object type.Exception thrown when a message cannot be canceled.This operation allows you to check if a new password for theusercalling it will be accepted by theModifyPasswordOpoperation.This operation result contains the list of all the rules which are not satisfied by the new password specified in theCheckPasswordOpoperation request.This model represents the result of the check of a rule against a password.Thisenumerationspecifies all possible rule identifiers of the unsatisfied rules that apply to passwords.This operation allows you to check, as a User Administrator, if a new password for theusercalling it will be accepted by theModifyUserOpoperation.This operation result contains the list of all the rules which are not satisfied by the new password specified in theCheckUserPasswordOpoperation request for the user specified in theCheckUserPasswordOpoperation request.ThisJava interfacedefines a listener that is notified each time a client is notified of an operation stopped, progress, and completed; It extends theMessageListener interface.Exception thrown when the HCI communication between your client application and the SAP CC Core Server system fails; get thehost information(as a string) and thenumerical response code of the HTTP communication layer.This operation allows you to create a newaudit.This class represents the result of theCreate Audit operation; It contains the code and the reference of theauditthat has been created.This operation allows you to create anSAP CC userwith the necessaryroles.This class represents the result of theCreate User operation; It contains the login of thenew SAP CC user.ACrossReferenceableOpis an extension of aMessageOperation.The rootJava interfacefor marshallables that can provide a cross-reference.ThisJava classrepresents a currency as aJava Currencycontainer; This class extends the java.lang.Currency by adding features to marshal the objects.ThisJava classis aJava Datecontainer; This class extends the java.lang.Date by adding features to marshal the objects.This class represents the authentication data used for the "delegated" schema, that is delegated to another user.This operation allows you to remove anauditin data stored in the connected SAP CC system.The class represents the result of theDelete Audit operationand returns the reference and the code of theremoved audit.This operation allows you to remove anSAP CC user; A user cannot delete itself and anNotAuthorizedExceptionwill be thrown by the system.This operation allows you to remove one or severaluser's operationsextracted fromfiltersofauditapplied in a time period; If the audit has no filter, the connected SAP CC system deletes all the user's operations from this time period.The delete user operation result returns the reference and the code of the audit and the time period from which user's operations have been removed.This operation allows you to remove one or several user's operations extracted from filters applied in a time period; If no filter all user's operations are removed from this time period.The delete user operation from filters result returns the filters and the time period from which user's operation have been removed.The class represents the result of theDelete User operation; it contains the login of thedeleted SAP CC user.This class is adescriptioncontainer.This operation allows you to close a user session that has been previously opened using theAuthenticate User operation.This result is sent in response to theDisconnect User operation; It contains the identifier of the SAP CC user session that has been deleted.Generic exception thrown when there is an attempt to access something with a unique code (such as a product or a business relationship) that does not exist.Create an empty xml node using the IXMLMashallable API.This entity resolver prevents the resolution of external/internal entities.Exception thrown when an entity resolution is requested.This class is used for save in and load from file a set ofXMLMarshallableobjects.ThisJava classrepresents all theoperationsthat you can implement in your client application that communicates via the HCI technical interface.Thisenumerationlists all the HCI operations that are available; You can implement these service operations in your client application.This class implements the mapping (forHCI) between Java classes and XML elements; The Java libraries of SAP CC convert the Java classes based onMessageOperationJava interface toXML messages.Adapts HCI models to new interfaceIXMLMarshallable.IExportable<T extends XMLMarshallable>This interface is used for object exportable in XMLMarshallableException thrown when a tag can be safely ignored in a mapping.ThisJava interfacerepresents an HCI operation known by the SAP CC system.Generic exception thrown when the operation is invalid in the context.Generic exception thrown when there was an error in the SAP CC system when attempting to create something that is not valid; The error type specifies the reason.Thisenumerationlists all the categories of errors that may occur during the creation of a master data in the connected SAP CC system: already exists, invalid, incompatible configuration, illegal state, or temporary illegal state.Generic exception thrown when there is an attempt to create something that is not valid.Generic exception thrown when there is an attempt to delete something that is not valid; It specifies the exception category (does not exist, invalid, prerequisite missing, illegal state, or temporary illegal state), the direct cause of the exception, and the optional 'caused by' information that represent an exception stack.Thisenumerationlists all the categories of errors that may occur during the deletion of a master data.Generic exception thrown by the SAP CC system when there is an attempt to delete something that cannot be deleted; The objects can havedifferent types(master data, technical data, system configuration).Thisenumerationlists the types of an object that is still referenced in the SAP CC system.Generic exception thrown when there is an attempt to export something which is not valid.Generic exception thrown when there is an attempt to import something that is not valid.Exception thrown by the SAP CC system.Generic exception thrown when there is an attempt to maintain something which is not valid.Thisenumerationlists all the categories of errors that may occur during the maintenance of a master data.Generic exception thrown when there is an attempt to modify something which is not valid.Thisenumerationlists all the categories of errors that may occur during the modification of a master data.Generic exception thrown when there is an attempt to modify something in an invalid way.Generic exception thrown when a prerequisite of the master data is missing.Exception thrown when an error occurs during the modification of the password of an SAP CC user.ThisJava interfacedefines a marshallable object that provides its XML tag name via thegetTagName() method.ThisJava interfacedefines the methods to marshal the attributes of an element and the child elements of an element.This class represents the authentication data used for the "jwt" schema, that is a token.ThisJava interfacerepresents the authentication data used for a given authentication scheme.ThisJava classrepresents the body of amessage sent via HCIsent by your client application to a connected SAP CC system; it is a set ofoperationsor a set ofoperation results.ThisJava interfacedefines the necessaryJava methodsto handleHCI messagessent via asynchronous communications; A message context is returned by theMessageSender.asyncSend(com.highdeal.hci.MessageEnvelope, com.highdeal.hci.ClientMessageListener)operation to cancel the message or retrieve results of the message when it is completelly processed by the connected SAP CC system.ThisJava classrepresents the header of amessage sent via HCIsent by your client application to a connected SAP CC Core Server system; It includes information about themessage originatorand specifies the processing mode (MessageHeader.TRANSACTION_ALL) of the operation requests that are included in thesent message body.Thisenumerationlists the transaction modes used by the SAP CC system to process the received operation messages and the service operations that are included in thesemessage envelopes.ThisJava interfaceis the basis of all theJava classesthat represent service operations available with the HTTP Communication Interface (HCI) technical interface provided by SAP Convergent Charging; Consider all the Java classes that implement this Java interface.Adapter forHCI operationsto use newXML marshalling.ThisJava classrepresents the originator of amessagesent via the HCI technical interface to a connected SAP CC Core Server system.ThisJava interfaceis the parent interface for all the message senders that you can implement in your client applications depending on your business requirements; it defines the necessary methods for sending (asynchronous,synchronous, orclient-side timeout) the HCI messages that include the operation requests for the connected SAP CC system.ThisJava interfaceenables to be aware of HTTP redirection events in your client application.Thisabstract Java classdefines a factory API that enables your client applications (using the HCI technical interface) to create amessage sender object; Consult thesubclassesthat extend thisJava class.This operation allows you to modify anauditstored in the data of the connected SAP CC system.The modify audit result returns the reference and the code of the modified audit.This operation allows you to modify a user password.
Before any modification, you can check this password by calling theCheckPasswordOpoperation.
AnInvalidPasswordExceptionwill be thrown by this operation if the advanced password management feature is enabled and if the password does not comply with the security requirements.This class represents the result of theModify Password operation.This operation allows you to modify information related to anSAP CC useralready created in the system.This class represents the result of theModify User operation; It contains the login information of themodified SAP CC user.Generic exception thrown when theSAP CC useris not allowed to request an operation for one of the following reasons:Operation not allowed: the SAP CC user is not allowed to call this operation according to hisrole.NotAuthorizedException.CATALOG_RESTRICTION_VIOLATION: the SAP user is associated to apricing catalogand tried to perform an operation on an object from another catalog.This class is aBigDecimalcontainer.ThisJava classrepresents an Object Access Rule.Exception thrown when the operation has been canceled by the SAP CC user.Thisabstract Java classis the base representation of anOperationFailureExceptionthat includes anerror(error code and arguments, comprehensive message, potential causes); Consider thedirect known subclasses:ServerErrorException,InvalidCreationErrorException, and other error exceptions.Thisabstract Java classrepresents the root exception for all the HCI operation exceptions; Consider theknown subclassesdetailed in this page and theOperationFailureErrorExceptionmarshallable exception to design your implementation and its error handling.ThisJava interfaceis the root interface for all the operation results replied by the connected SAP CC Core Server system; Consider theJava classesthat implement this interface: the results of the operation requests and the exceptions that can be thrown by the SAP CC system.Adapter forHCI operation resultto use newXML marshalling.ThisJava interfacedefines a reference handler that is called when a reference has been solved.A reference resolver treats the reference to update the reference handlers that subscribed to a reference.Exception thrown when a SQL request returns an error like a deadlock or another that is retryable; TheSQL error messageis returned.This operation allows you to search anauditfrom a specified code; If you specify anullcode, then all the audits are retrieved.This class represents the result of theSearch Audit operation.This operation allows you to search for aSAP CC userby specifying the login.This operation allows you to extract user's operations from user's operation filters of audit applied in a time period.This class represents the result of theSearch User Operation From Auditoperation.This operation allows extracting user's operations from filters applied in a time period; If no filter all user's operations are retrieved from this time period.This class represents the result of theSearch User Operation From Filtersoperation.This operation allows you to retrieveuser operationsusing aspecialized search filter.This class represents the result of theSearch User Operationoperation; If the corresponding search operation request has been configured to return objects, this operation result contains theuser operations.This class represents the result of theSearch User operation; It contains theSAP CC usersthat match the criteria specified in the corresponding search operation.Exception thrown when a nonbusiness exception occurred in the connected SAP CC Core Server system; If such an exception occurs, it does not relate to a software bug in the SAP CC system (except for the "unsupportedFailure" reason that denotes a potential existing bug).Exception thrown when a nonbusiness exception occurs in the connected SAP CC Core Server system; The initial operation request has failed but no change is stored in the back-end database system.ThisJava classis used in an internal way to translate non business exception comming from the connected SAP CC system into a common representation which is theServer Failure Exception.This class represents the authentication data used for the "simple" schema, that is a password.ThisJava classis aJava Stringcontainer; It extends thejava.lang.Stringclass by adding features to marshal this object type.Helper interface that contains a collection of constants to manage types.Exception thrown when an XML tag (XML element) has no mapping.ThisJava classrepresents a user of SAP Convergent Charging software; A user is any person (individual) or machine (service) allowed to work with SAP CC according to hisassigned rolesand resultingauthorizations.ThisJava classrepresents the user operation filter as seen by your client application.ThisJava classrepresents an audited user operation that has been processed and recorded by the SAP CC system; Your client application can consult the operation results by implement the handling ofauditsor by using the existing user interfaces to audit operations.This class represents asearch filterdedicated to the possibility to specify a set ofcriteriato retrieveuser operationsusing theSearch User Operationoperation.Thisenumerationlists the basic types (string, date, and number) and defines the necessaryJava methods.ThisJava interfaceallows to access to the attributes of an XML tag.Implementation of HCI XML attributes from a SAX 2 parser.ThisJava classsupports the HCI infrastructure and should not be used directly in your implementation code.ThisJava interfacedefines the mapping between XML tags and Java classes; TheJava classesreturned through this mapping must have a default constructor.ThisJava classallows to merge different XML mapping objects into one.ThisJava interfaceserves as a base for objects that can be marshalled and unmarshalled; Consider theJava subinterfacesand theJava classesthat implement this interface.XMLMarshallableComparator<T extends XMLMarshallable>Helper class that can be used during parsing of spurious tags.ThisJava interfaceprovides the necessarymethodsto output XML documents in an event-based manner; Consider theJava classesthat implement this interface.Implementation of an XMLOutputter using a writer.This class supports the HCI infrastructure and should not be used directly in your code.Implementation of an XMLOutputter using a writer.ThisJava classprovides a collectionJava methodsfor XML utilities.