SIST ES 202 915-11 V1.2.1:2005
(Main)Open Service Access (OSA); Application Programming Interface (API); Part 11: Account Management SCF (Parlay 4)
Open Service Access (OSA); Application Programming Interface (API); Part 11: Account Management SCF (Parlay 4)
Maintenance update of ES 202 915-11 V1.1.1 to produce ES 202 915-11 V1.2.1 Updated document will also be known as PARLAY 4.1. Only those parts requiring modification will be updated ( most parts require maintenance fixes )
Odprti dostop do storitve (OSA) – Vmesnik za aplikacijsko programiranje (API) – 11. del: Upravljanje obračuna SCF
General Information
Standards Content (Sample)
SLOVENSKI STANDARD
SIST ES 202 915-11 V1.2.1:2005
01-januar-2005
2GSUWLGRVWRSGRVWRULWYH26$±9PHVQLN]DDSOLNDFLMVNRSURJUDPLUDQMH$3,±
GHO8SUDYOMDQMHREUDþXQD6&)
Open Service Access (OSA); Application Programming Interface (API); Part 11: Account
Management SCF (Parlay 4)
Ta slovenski standard je istoveten z: ES 202 915-11 Version 1.2.1
ICS:
33.040.01 Telekomunikacijski sistemi Telecommunication systems
na splošno in general
SIST ES 202 915-11 V1.2.1:2005 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST ES 202 915-11 V1.2.1:2005
---------------------- Page: 2 ----------------------
SIST ES 202 915-11 V1.2.1:2005
ETSI ES 202 915-11 V1.2.1 (2003-08)
ETSI Standard
Open Service Access (OSA);
Application Programming Interface (API);
Part 11: Account Management SCF
(Parlay 4)
�
---------------------- Page: 3 ----------------------
SIST ES 202 915-11 V1.2.1:2005
2 ETSI ES 202 915-11 V1.2.1 (2003-08)
Reference
RES/SPAN-120096-11
Keywords
API, IDL, OSA, UML
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE
Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16
Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88
Important notice
Individual copies of the present document can be downloaded from:
http://www.etsi.org
The present document may be made available in more than one electronic version or in print. In any case of existing or
perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF).
In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive
within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
http://portal.etsi.org/tb/status/status.asp
If you find errors in the present document, send your comment to:
editor@etsi.org
Copyright Notification
No part may be reproduced except as authorized by written permission.
The copyright and the foregoing restriction extend to reproduction in all media.
© European Telecommunications Standards Institute 2003.
© The Parlay Group 2003.
All rights reserved.
TM TM TM
DECT , PLUGTESTS and UMTS are Trade Marks of ETSI registered for the benefit of its Members.
TM
TIPHON and the TIPHON logo are Trade Marks currently being registered by ETSI for the benefit of its Members.
TM
3GPP is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners.
ETSI
---------------------- Page: 4 ----------------------
SIST ES 202 915-11 V1.2.1:2005
3 ETSI ES 202 915-11 V1.2.1 (2003-08)
Contents
Intellectual Property Rights.5
Foreword.5
1 Scope.6
2 References.6
3 Definitions and abbreviations.6
3.1 Definitions.6
3.2 Abbreviations.6
4 Account Management SCF .7
4.1 General requirements on support of methods.7
5 Sequence Diagrams.7
5.1 Standard Transaction History Retrieval .7
5.2 Standard Query Handling.8
5.3 Standard Notification handling.9
5.4 Network Controlled Notifications .10
6 Class Diagrams.11
7 The Service Interface Specifications.12
7.1 Interface Specification Format .12
7.1.1 Interface Class.12
7.1.2 Method descriptions.12
7.1.3 Parameter descriptions.12
7.1.4 State Model.13
7.2 Base Interface.13
7.2.1 Interface Class IpInterface .13
7.3 Service Interfaces.13
7.3.1 Overview.13
7.4 Generic Service Interface .13
7.4.1 Interface Class IpService .13
7.4.1.1 Method setCallback().14
7.4.1.2 Method setCallbackWithSessionID().14
8 Account Management Interface Classes .14
8.1 Interface Class IpAccountManager .14
8.1.1 Method createNotification().15
8.1.2 Method destroyNotification().16
8.1.3 Method queryBalanceReq().16
8.1.4 Method changeNotification().16
8.1.5 Method getNotification().17
8.1.6 Method retrieveTransactionHistoryReq().17
8.1.7 Method <> enableNotifications().17
8.1.8 Method <> disableNotifications().18
8.2 Interface Class IpAppAccountManager .18
8.2.1 Method reportNotification().19
8.2.2 Method queryBalanceRes().19
8.2.3 Method queryBalanceErr().20
8.2.4 Method retrieveTransactionHistoryRes().20
8.2.5 Method retrieveTransactionHistoryErr().20
9 State Transition Diagrams.21
9.1 State Transition Diagrams for IpAccountManager.21
9.1.1 Active State.21
9.1.2 Notifications created State .21
10 Account Management Service Properties .21
ETSI
---------------------- Page: 5 ----------------------
SIST ES 202 915-11 V1.2.1:2005
4 ETSI ES 202 915-11 V1.2.1 (2003-08)
11 Data Definitions.22
11.1 Account Management Data Definitions .22
11.1.1 IpAppAccountManager.22
11.1.2 IpAppAccountManagerRef.22
11.1.3 IpAccountManager.22
11.1.4 IpAccountManagerRef.23
11.1.5 TpBalanceQueryError.23
11.1.6 TpChargingEventName.23
11.1.7 TpBalanceInfo.23
11.1.8 TpChargingEventInfo.24
11.1.9 TpChargingEventCriteria.24
11.1.10 TpChargingEventNameSet.24
11.1.11 TpChargingEventCriteriaResult.24
11.1.12 TpChargingEventCriteriaResultSet.24
11.1.13 TpBalance.25
11.1.14 TpBalanceSet.25
11.1.15 TpTransactionHistory.25
11.1.16 TpTransactionHistorySet.25
11.1.17 TpTransactionHistoryStatus.25
12 Exception Classes.26
Annex A (normative): OMG IDL Description of Account Management SCF .27
Annex B (informative): W3C WSDL Description of Account Management SCF.28
Annex C (informative): Contents of 3GPP OSA Rel-5 Account Management.29
Annex D (informative): Record of changes .30
D.1 Interfaces.30
D.1.1 New.30
D.1.2 Deprecated.30
D.1.3 Removed.30
D.2 Methods.30
D.2.1 New.30
D.2.2 Deprecated.31
D.2.3 Modified.31
D.2.4 Removed.31
D.3 Data Definitions.31
D.3.1 New.31
D.3.2 Modified.31
D.3.3 Removed.32
D.4 Service Properties.32
D.4.1 New.32
D.4.2 Deprecated.32
D.4.3 Modified.32
D.4.4 Removed.32
D.5 Exceptions.33
D.5.1 New.33
D.5.2 Modified.33
D.5.3 Removed.33
D.6 Others.33
History .34
ETSI
---------------------- Page: 6 ----------------------
SIST ES 202 915-11 V1.2.1:2005
5 ETSI ES 202 915-11 V1.2.1 (2003-08)
Intellectual Property Rights
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (http://webapp.etsi.org/IPR/home.asp).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Foreword
This ETSI Standard (ES) has been produced by ETSI Technical Committee Services and Protocols for Advanced
Networks (SPAN).
The present document is part 11 of a multi-part deliverable covering Open Service Access (OSA); Application
Programming Interface (API), as identified below. The API specification (ES 202 915) is structured in the following
parts:
Part 1: "Overview";
Part 2: "Common Data Definitions";
Part 3: "Framework";
Part 4: "Call Control";
Part 5: "User Interaction SCF";
Part 6: "Mobility SCF";
Part 7: "Terminal Capabilities SCF";
Part 8: "Data Session Control SCF";
Part 9: "Generic Messaging SCF";
Part 10: "Connectivity Manager SCF";
Part 11: "Account Management SCF";
Part 12: "Charging SCF";
Part 13: "Policy management SCF";
Part 14: "Presence and Availability Management SCF".
The present document has been defined jointly between ETSI, The Parlay Group (http://www.parlay.org) and the 3GPP,
in co-operation with a number of JAIN™ Community (http://www.java.sun.com/products/jain) member companies.
The present document forms part of the Parlay 4.1 set of specifications.
The present document is equivalent to 3GPP TS 29.198-11 V5.2.0 (Release 5).
ETSI
---------------------- Page: 7 ----------------------
SIST ES 202 915-11 V1.2.1:2005
6 ETSI ES 202 915-11 V1.2.1 (2003-08)
1 Scope
The present document is part 11 of the Stage 3 specification for an Application Programming Interface (API) for Open
Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality
through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Account Management Service Capability Feature (SCF) aspects of the interface. All
aspects of the Account Management SCF are defined here, these being:
• Sequence Diagrams
• Class Diagrams
• Interface specification plus detailed method descriptions
• State Transition diagrams
• Data Definitions
• IDL Description of the interfaces
• WSDL Description of the interfaces
The process by which this task is accomplished is through the use of object modelling techniques described by the
Unified Modelling Language (UML).
2 References
The references listed in clause 2 of ES 202 915-1 contain provisions which, through reference in this text, constitute
provisions of the present document.
ETSI ES 202 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview
(Parlay 4)".
ETSI ES 202 915-2: "Open Service Access (OSA); Application Programming Interface (API); Part 2: Common Data
Definitions (Parlay 4)".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ES 202 915-1 apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations defined in ES 202 915-1 apply.
ETSI
---------------------- Page: 8 ----------------------
SIST ES 202 915-11 V1.2.1:2005
7 ETSI ES 202 915-11 V1.2.1 (2003-08)
4 Account Management SCF
The following clauses describe each aspect of the Account Management Service Capability Feature (SCF).
The order is as follows:
• The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
• The Class relationships clause show how each of the interfaces applicable to the SCF, relate to one another.
• The Interface specification clause describes in detail each of the interfaces shown within the Class diagram
part.
• The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions
are well-defined; either methods specified in the Interface specification or events occurring in the underlying
networks cause state transitions.
• The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods
within the classes. Note that some data types are used in other methods and classes and are therefore defined
within the Common Data types part ES 202 915-2.
4.1 General requirements on support of methods
An implementation of this API which supports or implements a method described in the present document, shall
support or implement the functionality described for that method, for at least one valid set of values for the parameters
of that method.
Where a method is not supported by an implementation of a Service interface, the exception
P_METHOD_NOT_SUPPORTED shall be returned to any call of that method.
Where a method is not supported by an implementation of an Application interface, a call to that method shall be
possible, and no exception shall be returned.
5 Sequence Diagrams
5.1 Standard Transaction History Retrieval
: :
IpAppAccountManager IpAccountManager
1: retrieveTransactionHistoryReq( )
2: retrieveTransactionHistoryRes( )
1: This message is used by the application to retrieve a transaction history for a certain subscriber's account.
2: This method passes the result of the transaction history retrieval request for a specific user to its callback object.
ETSI
---------------------- Page: 9 ----------------------
SIST ES 202 915-11 V1.2.1:2005
8 ETSI ES 202 915-11 V1.2.1 (2003-08)
5.2 Standard Query Handling
: IpAppAccountManager : IpAccountManager
App lication is re que sting to q uery
AApppp llicicatatiioonn iiss r ree qquuee ssttiingng t too q q uuereryy
the balance
ththee b baallaannccee
1: queryBalanceReq( )
2: queryBalanceRes( )
Application is requesting to query the
balance, but there is at least one error in the
parameters that is detected by the
IpAccountManager service.
3: queryBalanceReq( )
Application is requesting to query the
balance, but a network error occurs
4: queryBalanceReq( )
5: queryBalanceErr( )
1: This message is used to query the balance of the account of one or several users.
2: This message passes the result of the balance query for one or several users to its callback object.
3: This scenario shows the case where at least one error in the parameters of the message is detected by the
IpAccountManager object. An exception will be thrown.
4: This scenario shows the case where a network error occurs.
5: This message passes the error of the balance query. No exception is thrown.
ETSI
---------------------- Page: 10 ----------------------
SIST ES 202 915-11 V1.2.1:2005
9 ETSI ES 202 915-11 V1.2.1 (2003-08)
5.3 Standard Notification handling
: IpAppAccountManager
: IpAccountManager
1: createNotification( )
2: reportNotification( )
3: getNotification( )
4: changeNotification( )
5: reportNotification( )
6: destroyNotification( )
1: This message is used by the application to request notifications from the IpAccountManager service on certain
criteria for one or several users.
2: This message is used by the IpAccountManager service to report a charging event that meets the criteria set in the
createNotification message.
3: The application can request the current criteria set in the IpAccountManager service by invoking the getNotification
method.
4: This message is used by the application to change the criteria initially created by createNotification, and previously
obtained by getNotification.
5: This message is used by the IpAccountManager service to report a charging event that meets the new criteria.
6: This method is used by the application to disable the charging notifications.
ETSI
---------------------- Page: 11 ----------------------
SIST ES 202 915-11 V1.2.1:2005
10 ETSI ES 202 915-11 V1.2.1 (2003-08)
5.4 Network Controlled Notifications
The following sequence diagram shows how an application can receive notifications that have not been created by the
application, but are provisioned from within the network.
AppLogic : IpAppAccountManager : IpAccountManager
1: New()
2: enableNotifications( )
3: reportNotification( )
4: 'forward event'
5: reportNotification( )
6: 'forward event'
7: disableNotifications( )
1: The application is started. The application creates a new IpAppAccountManager to handle callbacks.
2: The enableNotifications method is invoked on the IpAccountManager interface to indicate that the application is
ready to receive notifications that are created in the network. For illustrative purposes we assume notifications of type
"B" are created in the network.
3: When a network created trigger occurs the application is notified on the callback interface.
4: The event is forwarded to the application.
5: When a network created trigger occurs the application is notified on the callback interface.
6: The event is forwarded to the application.
7: When the application does not want to receive notifications created in the network anymore, it invokes
disableNotifications on the IpMultiPartyCallConrolManager interface. From now on the gateway will not send any
notifications to the application that are created in the network. The application will still receive notifications that it has
created himself until the application removes them.
ETSI
---------------------- Page: 12 ----------------------
SIST ES 202 915-11 V1.2.1:2005
11 ETSI ES 202 915-11 V1.2.1 (2003-08)
6 Class Diagrams
IpInterface
<>
IpAppAccountManager
reportNotification()
queryBalanceRes()
queryBalanceErr()
retrieveTransactionHistoryRes()
retrieveTransactionHistoryErr()
<>
<>
IpAccountManager
createNotification()
destroyNotification()
queryBalanceReq()
changeNotification()
getNotification()
retrieveTransactionHistoryReq()
<> enableNotifications()
<> disableNotifications()
Figure 1: Application Interfaces
ETSI
---------------------- Page: 13 ----------------------
SIST ES 202 915-11 V1.2.1:2005
12 ETSI ES 202 915-11 V1.2.1 (2003-08)
IpService
setCallback()
setCallbackWithSessionID()
<>
IpAccountManager
(from am)
createNotification()
destroyNotification()
queryBalanceReq()
changeNotification()
getNotification()
retrieveTransactionHistoryReq()
<> enableNotifications()
<> disableNotifications()
Figure 2: Service Interfaces
7 The Service Interface Specifications
7.1 Interface Specification Format
This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified
Modelling Language (UML) is
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.