Professional Documents
Culture Documents
V300R005C01
SOAP Interface Instructions
Issue
01
Date
2012-08-30
All other trademarks and trade names mentioned in this document are the property of their
respective holders.
Notice
The purchased products, services and features are stipulated by the contract made between
Huawei and the customer. All or part of the products, services and features described in this
document may not be within the purchase scope or the usage scope. Unless otherwise specified
in the contract, all statements, information, and recommendations in this document are provided
"AS IS" without warranties, guarantees or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been
made in the preparation of this document to ensure accuracy of the contents, but all statements,
information, and recommendations in this document do not constitute a warranty of any kind,
express or implied.
Website:
http://www.huawei.com
Email:
support@huawei.com
Revision Record
Date
Description
Author
Version
2011-07-21
Wangjuhui
V300R005C00
Wangjuhui
V300R005C00
2011-8-2
Wangjuhui
V300R005C00
2011-8-24
Wangjuhui
V300R005C00
2011-8-29
Wangqing
V300R005C00
2011-09-23
Xuezhen
V300R005C00
2011-09-27
Wangqing
V300R005C00
2011-10-14
Wangqing
V300R005C00
2011-11-21
WangJuhui
V300R005C00
2012-1-20
Jiangzhihua
V300R005C10
Jiangzhihua
V300R005C10
2012-3-11
Yubin/3906
7
V300R005C01
2012-3-20
Wangqing/5
4499
V300R005C01
Issue 01 (2012-08-30)
Date
Description
Author
Version
2012-3-28
Xubin/3820
8
V300R005C01
Add usrSMSReceiveFlag of
SPccSubscriber
Add usrLanguage of SPccSubscriber
Add usrIMSI of SPccSubscriber
Add TermInd of SSubscribedService
Add TermInd of SServicePackage
Add TermInd in
unSubscribeServiceRequest
Add TermInd in
unSubscribeServicePackageRequest
2012-5-11
Yangming/6
6961
V300R005C01
2012-06-01
Yangming/6
6961
V300R005C01
2012-06-15
Xubin/3820
8
V300R005C01
Xubin/3820
8
V300R005C01
2012-06-29
Jiangguilan/
67049
V300R005C01
2012-07-05
Jiangguilan/
67049
V300R005C01
2012-07-09
Jiangguilan/
67049
V300R005C01
2012-07-10
Xubin/3820
8
V300R005C01
2012-07-12
Xubin/3820
8
V300R005C01
2012-07-13
Xubin/3820
8
V300R005C01
Jiangguilan/
67049
V300R005C01
Xubin/2241
92
V300R005C01
Add interface:
2012-07-19
subscribeServicePacket,
unSubscribeServicePacket,
getSubscriberAllServicePacket
according CR20120717042
/DTS2012070401202:
2012-07-23
Issue 01 (2012-08-30)
Date
Description
Author
Version
2012-07-23
Jiangguilan/
67049
V300R005C01
2012-07-26
Jiangguilan/
67049
V300R005C01
2012-07-26
Jiangguilan/
67049
V300R005C01
2012-07-31
Xubin/2241
92
V300R005C01
2012-08-09
Jiangguilan/
67049
V300R005C01
2012-10-22
yangming/6
6961
V300R005C01
2012-10-25
yangming/6
6961
V300R005C01
2012-10-26
yangming/6
6961
V300R005C01
Issue 01 (2012-08-30)
Figure list
Con
1 SOAP Overview..........................................................................1-3
1.1 SOAP Interface Description...........................................................................................................................1-3
1.1.1 Concept of the SOAP Protocol..............................................................................................................1-3
1.1.2 SOAP Interfaces....................................................................................................................................1-3
1.1.3 Get WSDL for this SOAP Interfaces.....................................................................................................1-3
1.1.4 Performance of SOAP Interface............................................................................................................1-3
1.1.5 Notice....................................................................................................................................................1-3
1.2 Networking Structure of the UPCC................................................................................................................1-4
1.2.1 Networking............................................................................................................................................1-4
1.2.2 SOAP Implementation..........................................................................................................................1-4
Issue 01 (2012-08-30)
Figure list
3.1 Query Subscriber's Basic Information............................................................................................................3-1
3.2 Query Subscriber's All Services.....................................................................................................................3-1
3.3 Query Subscriber's All ServicePackages........................................................................................................3-2
3.4 Query Subscriber's All Quotas........................................................................................................................3-2
3.5 Query Subscriber's Specific Quota.................................................................................................................3-2
3.6 Query Subscriber's Account Info....................................................................................................................3-3
3.7 Query Subscriber's All Info............................................................................................................................3-3
3.8 Add Subscriber...............................................................................................................................................3-4
3.9 Update Subscriber..........................................................................................................................................3-4
3.10 Delete Subscriber..........................................................................................................................................3-5
3.11 Subscribe Service..........................................................................................................................................3-5
3.12 Update Subscribed Service...........................................................................................................................3-6
3.13 Unsubscribe Service.....................................................................................................................................3-6
3.14 Subscribe ServicePackage............................................................................................................................3-7
3.15 Update Subscribed ServicePackage.............................................................................................................3-7
3.16 Unsubscribe ServicePackage........................................................................................................................3-7
3.17 Update Subscriber's Account........................................................................................................................3-8
3.18 Recharge Subscriber's Quota........................................................................................................................3-8
3.19 Update Subscribers Quota...........................................................................................................................3-9
3.20 Subscribe Accumulation.............................................................................................................................3-10
3.21 Unsubscribe Accumulation.........................................................................................................................3-10
3.22 Clear Accumulated Information.................................................................................................................3-11
3.23 Query Subscribers Accumulation..............................................................................................................3-11
3.24 Recharge Subscriber's Service....................................................................................................................3-12
3.25 Update Subscriber's Custom Level.............................................................................................................3-12
3.26 Query Subscriber's Custom Level..............................................................................................................3-13
3.27 Reset Subscriber's Quota............................................................................................................................3-13
3.28 Add Subscriber Alias..................................................................................................................................3-14
3.29 Update Subscriber Alias.............................................................................................................................3-14
3.30 Delete Subscriber Alias..............................................................................................................................3-15
3.31 Query Subscriber's Alias...............................................................................................................................3-1
3.32 Subscribe ServicePacket...............................................................................................................................3-1
3.33 Unsubscribe ServicePacket..........................................................................................................................3-1
3.34 Query Subscriber's All ServicePackets.........................................................................................................3-2
4 Exception Handling....................................................................4-1
4.1 Mechanism for Handling SOAP Interface Abnormity...................................................................................4-1
4.1.1 Handling Service Flow Abnormity.......................................................................................................4-1
4.1.2 Handling Service Data Abnormity........................................................................................................4-1
4.2 Error Codes for the UPCC SOAP Interface...................................................................................................4-1
5 WSDL........................................................................................ 5-1
5.1 The WSDL File...............................................................................................................................................5-1
[
Issue 01 (2012-08-30)
Figure list
5.2 Samples...........................................................................................................................................................5-1
Issue 01 (2012-08-30)
Figure list
Issue 01 (2012-08-30)
UPCC
SOAP Interface Instructions
5 WSDL
Table list
Issue 01 (2012-08-30)
UPCC
SOAP Interface Instructions
5 WSDL
Issue 01 (2012-08-30)
UPCC
SOAP Interface Instructions
5 WSDL
SOAP Overview
Envelop: It defines the framework for presenting the message contents and how to
deal with messages.
Encoding rules: They define how to express the application-defined data types.
1.1.5 Notice
For input, the Provisioning System may only provide the required attributes and others
will be set default by the UPCC. The length of fields of string type is expressed by byte.
[
Issue 01 (2012-08-30)
UPCC
SOAP Interface Instructions
5 WSDL
For output, the UPCC will always return all attributes in its storage whether value is
default or not, the Provisioning System may only take care of attributes those can be
recognized and just ignore all the others. Any attributes those the Provisioning System
doesn't recognize existing in the response shouldn't cause any abnormal faults or errors.
This interface support SOAP 1.1 or SOAP 1.2, but only support HTTP 1.1, and the
message format must comply with XML 1.0 criterion.
Issue 01 (2012-08-30)
UPCC
SOAP Interface Instructions
5 WSDL
Issue 01 (2012-08-30)
Issue 01 (2012-08-30)
String
The value cannot contain two or more consecutive spaces, or the characters form feed
(\f), line feed(\n), carriage return(\r), horizontal tab(\t), vertical tab(\v), or the symbols , ;
=
Integer
Datetime
The attribute's name defined here (such as srvName, usrIdentifier, usrCategory e.g.) are not case
sensitive, and all attributes names in query response from UPCC are capitalized, so the Provisioning
system must implemented not to be case sensitive.
For the purpose of better compatibility, the Provisioning system must ignore any attributes which is
not defined as below or not cared for service logic in any query response with no error occurs (e.g.
getSubscriberResponse may return attribute not defined in this specification).
In the modification command, any attributes which is defined as "Read only" will be ignored.
MBB stands for Mobile Broadband, FBB stands for Fixed Broadband.
2.3.1 SPccSubscriber
Table 2.3.1.I.1.1.1.1 SPccSubscriber
Name
usrIdentifier
oldusrIdentif
ier
usrMSISDN
Meaning
Subscriber's identifier,
i.e. the IMSI, MSISDN
or internal primary key
of IT system.
Old subscriber's
identifier, i.e. the IMSI,
MSISDN.
Subscriber's MSISDN
number for notification
Opti
onal
Type
String
Range
Default
Value
Read
only
Comm
ent
Length:1~255
Note1
String
Length:1~255
NULL
Note2
String
Length:1~20
NULL
Note3
Issue 01 (2012-08-30)
usrState
subscriber's status.
Integer
1:Normal
1:Normal
Note4
2:Fro
zen
65:SubStatusA
66:SubStatusB
67: SubStatusC
68: SubStatusD
69: SubStatusE
70:
SubS
tatus
F
usrHomeSrv
Zone
usrPaidType
String
Length:1~64
NULL
Integer
0:prepaid
214748364
6:NULL
Note12
1:postpaid
2:prepaid
2147483646:NUL
L
usrCategory
usrStation
usrMasterId
entifier
usrContact
Method
Category of the
subscriber.
String
Length:1~12
NULL
Station of the
subscriber, which
indicate the subscriber
is master or slave.
Integer
1: Master
1: Master
String
Length:1~255
NULL
Note5
Integer
1: SMS
1: SMS
Note6
NULL
Note7
2: Slave
2: E-Mail
3: SMS&E-Mail
128: None
usrEmailAd
dress
String
Length:1~64
Issue 01 (2012-08-30)
usrBillCycle
Date
Integer
1~31
-1: NULL
Note8
usrSubTermi
nalType
The Subscribed
Terminal Type of the
subscriber.
String
Length:1~32
NULL
1byte
usrCreateTy
pe
Integer
0: Provisioning
Create
1:Dynamic Create
4 byte:
0: permanently
save
usrMaxOffli
neDays
Integer
1~30: if the
subscriber offline
days exceed this
value, the
subscriber will be
deleted
yyyymmddhhmm
ss
usrLatestOff
lineTime
Datetim
e
From
19700101000000
To
20371231235959
-1
-1:NULL(means
never online)
0: Mobile
Broadband user
usrSubNetT
ype
Type of subscriber,
fixed broadband user or
mobile broadband user.
Integer
usrCustomer
Attr
Customer Attribute.
Integer
usrExAttr1
Extended attribute 1.
usrExAttr2
Extended attribute 2.
usrExAttr3
Extended attribute 3.
usrExAttr4
Extended attribute 4.
Note9
0
0~65535
Integer
0~254
NULL
Integer
0~254
Integer
0~254
Integer
1: Fixed
Broadband user
0~254
NULL
NULL
NULL
Issue 01 (2012-08-30)
usrExAttr5
Extended attribute 5.
Integer
0~254
usrExAttr6
Extended attribute 6.
Integer
0~254
usrExAttr7
Extended attribute 7.
Integer
0~254
usrExAttr8
Extended attribute 8.
Integer
0~254
usrExAttr9
Extended attribute 9.
Integer
0~254
usrExAttr10
Integer
0~254
usrSMSMSI
SDN
Subscriber's
SMS_MSISDN number
for notification.
String
Length:1~15
usrSMSRec
eiveFlag
Subscriber's SMS
receive flag for
MSISDN and
SMS_MSISDN.
usrLanguage
The language of
notification
(SMS&Email).
Integer
usrIMSI
Subscriber's IMSI.
String
Length:1~15
String
Length:1~20
usrSecondId
entifier
usrDesc
NULL
NULL
NULL
NULL
NULL
NULL
NULL
Integer
0: All
1: None
2: MSISDN Only
3: SMSMSISDN
Only
0:Language1
1:Language2
2:Language3
3:Language4
255:NULL
N
0: All
N
NULL
NULL
NULL
Note10
Description of this
Y
String
Length:0~32
NULL
N
Note11
subscriber.
Note1: The format (such as the country code, length) of its value shall be same as what UPCC gets from the Gx
interface.
Note2: If the oldusrIdentifier and usrIdentifier are taken simultaneously, the old usrIdentifer which is stored in the
database shall be changed into the new usrIdentifier, and all the other attribute including service subscription, service
package subscription, quota, and account will not be affected.
Note3: It is used for SMS notification which may different from the usrIdentifier.
Note4: Normal means the subscriber can access network and Frozen means this subscriber is forbidden to access
network.
Note5: For a subscriber whose Station is "Slave" there must have a usrMasterIdentifier, and the subscriber identified by
usrMasterIdentifier shall be an existing one; For a subscriber whose Station is "Master", the usrMasterIdentifier must be
set to blank or no usrMasterIdentifier indicated.
Note6: The value "128: None" means no notification will be sent for this subscriber.
Note7: The validation of e-mail address shall be assured by the Provisioning System.
Note8: A subscriber will not be able to use services whose usage of quota or account is reset by subscriber's bill day if
no explicit usrBillCycleDate is specified.
Note9: This parameter MUST be carried and set value to 1 when provisioning system adding a fixed broadband user,
otherwise the subscriber will be treated as a mobile broadband user by default.
Note10: The usrSecondIdentifier cannot be inputted if subscriber ID dual index function is turned off. And it must be
inputted if subscriber ID dual index function is turned on in addSubscriber command.
Note11: This parameter is reserved for future use.
Note12: The value "2: prepaid" is reserved for compatibility, it means that the subscribers paid type is prepaid, the
same as "0: prepaid".
Issue 01 (2012-08-30)
2.3.2 SSubscribedService
Table 2.3.2.I.1.1.1.1 SSubscribedService
Name
Meaning
srvName
Service name .
srvpkgName
Optio
nal
N
S
er
vi
ce
P
ac
k
Y
a
g
e
n
a
m
e.
Type
Range
String
Length:1~32
String
Length:1~32
srvUsageState
Usage Status.
Integer
srvSubscribe
Date
Datetime
srvOverdueDa
te
Datetime
1: Normal
2: Level1
3: Level2
4: Level3
5: Level4
6: Exhaust
7: Level5
8: Level6
9: Level7
10: Level8
11: Level9
12: Level10
The format
shall be:
YYYYMMD
Dhhmmss
From
19700101000
000 To
20371231235
959
-1:NULL
The format
shall be:
YYYYMMD
Dhhmmss
From
19700101000
000 To
20371231235
959
-1:NULL
Default
Value
Read
only
Comm
ent
NULL
Note1
1:Normal
Note2,
Note8
-1:NULL
Note3,
Note8
-1:NULL
Note4,
Note8
Issue 01 (2012-08-30)
srvStartDateTi
me
Datetime
srvEndDateTi
me
Datetime
srvRoamingT
ype
Roaming type.
Integer
SubscribedTy
pe
Subscribed type.
Integer
srvValidPerio
d
Valid period.
Integer
TermInd
Termination
of service.
srvStatus
Service status.
identifier
Integer
Integer
The format
shall be:
YYYYMMD
Dhhmmss
From
19700101000
000 To
20371231235
959
-1:NULL
means never
limit
The format
shall be:
YYYYMMD
Dhhmmss
From
19700101000
000 To
20371231235
959
-1:NULL
means never
expire until
removed
explicitly
0: Roaming
1: Local
-1:NULL
0: Subscribed
1:
DynGrp_Basi
cService
2:
DynGrp_Non
ExistSub
3:
DynGrp_Non
Subscription
5:
Subscribed_S
PR_INST
6:
Subscribed_S
y
7:
Subscribed_K
eepUntilQuot
aNextResetDa
te
1~180
-1: NULL
1:Immediate
termination
2:Valid
till
expiry date
3: Valid till
expiry
date
and
allow
quota
accumulated
0: Normal
1: Frozen
-1:NULL
Note5,
Note8
-1:NULL
Note6,
Note8
-1:NULL
Note8
-1: NULL
Note7,
Note11
1:
Immediate
terminatio
n
Note9,
Note11
Note11
Issue 01 (2012-08-30)
srvActivation
Status
Activation status.
1:Active
2:Default
Integer
2:Default
Note10,
Note11
Note1: This parameter is used to specify the service package that the service belongs to.
Note2: This parameter is used to notify the quota usage status by the external system (such as OCS).
Note3: The specified time must be earlier than (or the same as) the srvStartDateTime.
Note4: The specified time must be later than the srvStartDateTime. This parameter is not recommended. Please use
the srvEndDateTime instead.
Note5: When the subscriber is prepaid and subscribes a monthly service, this parameter is used to calculate the next
reset time of quota, we do not consider the srvStartDateTime is null. If this parameter is modified to -1, the Web UI will
be showed as NULL and the next reset time will be cleared.
Note6: The specified time must be later than the system time and the srvStartDateTime. If this parameter is
modified to -1, the Web UI will be showed as NULL and the service will never be expired. If the subscriber subscribed a
new service, all subscribed services before will be checked one by one and deleted if it expires.
Note7: If this parameter is modified to -1 for Update Subscribed Service command, the Web UI will be showed as
NULL.
Note8: If the service belongs to a package, the parameter cannot be changed by SOAP command.
Note9: TermInd is only used for Unsubscribe Service command to indicate how to unsubscribe the recurring service.
Immediate termination means unsubscribe the service at once. Valid till expiry date means the service still can be used
by the subscriber until the latest recurring date. Valid till expiry date and allow quota accumulated means the service
expires at the nearest quota reset time and Subscribed Type of the service changes to
Subscribed_KeepUntilQuotaNextResetDate after the command is executed. If Subscribed Type of the service is
Subscribed_KeepUntilQuotaNextResetDate when Status of one quota is changed to Exhaust, the UPCC withdraws the
service and deletes quotas and account associated with the service.
Note10:This parameter is reserved for future use.
Note11: This parameter is not supported if services are provisioned when add a subscriber or update a subscriber .
2.3.3 SServicePackage
Table 2.3.3.I.1.1.1.1 SServicePackage
Name
Meaning
Optio
nal
Type
Range
Default
Value
Read
only
Comm
ent
srvpkgName
ServicePackage name.
String
Length:1~32
-1:NULL
Note1
The
format
shall be:
YYYYMMD
Dhhmmss
srvpkgSubscr
ibeDate
From
19700101000
000
To
20371231235
959
Datetime
-1:NULL
means never
limit
Issue 01 (2012-08-30)
The
format
shall be:
YYYYMMD
Dhhmmss
srvpkgOverd
ueDate
From
19700101000
000
To
20371231235
959
Datetime
-1:NULL
Note2
-1:NULL
Note3
-1:NULL
Note4
-1:NULL
Note5
1:
Immediat
e
terminati
on
Note6
-1:NULL
means never
limit
The
format
shall be:
YYYYMMD
Dhhmmss
srvpkgStartD
ateTime
From
19700101000
000
To
20371231235
959
Datetime
-1:NULL
means never
limit
The
format
shall be:
YYYYMMD
Dhhmmss
srvpkgEndDa
teTime
From
19700101000
000
To
20371231235
959
Datetime
-1:NULL
means never
limit
0:Roaming
srvpkgRoami
ngType
Roaming type.
Integer
1: Local
-1:NULL
TermInd
Termination identifier
of service package.
1:Immediate
termination
2:Valid
till
expiry date
Integer
Issue 01 (2012-08-30)
Note1: The specified time must be earlier than (or the same as) the srvpkgStartDateTime. This parameter takes
effect on all services of the service package.
Note2: The specified time must be later than the srvpkgStartDateTime. This parameter is not recommended. Please
use the srvpkgEndDateTime instead. The specified time must be later than the system time.
Note3: This parameter takes effect on all services of the service package. When the subscriber is prepaid and subscribed
a monthly service, this parameter is used to calculate the quota's next reset time, we do not consider the
srvpkgStartDateTime is null. If this parameter is modified to -1, the Web UI will be showed as NULL, and the next reset
time will be cleared.
Note4: The specified time must be later than the system time and the srvpkgStartDateTime. If this parameter is
modified to -1, the Web UI will be showed as NULL, the servicepackage will never be expired.
This parameter takes effect on all services of the service package. When the subscriber is subscribed a new service
package, all subscribed services before will be checked one by one and deleted if it expires.
Note5: If this parameter is modified to -1, the Web UI will be showed as NULL.
Note6: TermInd is only used for Unsubscribe ServicePackage command to indicate how to unsubscribe the recurring
service package. Immediate termination means unsubscribe the service package at once. Valid till expiry date means the
service package still can be used by the subscriber until the latest recurring date.
2.3.4 SSubscriberQuota
Table 2.3.4.I.1.1.1.1 SSubscriberQuota
Name
Meaning
qtaName
srvName
qtaValue
qtaBalance
qtaConsump
tion
qtaClass
qtaStatus
Quota class.
Quota status.
Optio
nal
Type
Range
Defaul
t value
Read
only
Comm
ent
String
Length:1~32
String
Length:1~32
Integer
1~2147483645
Integer
0~2147483645
Integer
0~2147483645
Note1
Integer
0: Volume
1: Online
Duration
2: Duration
Integer
0: Normal
1: Level1
2: Level2
3: Level3
4: Level4
5: Exhaust
6: Level5
7: Level6
8: Level7
9: Level8
10: Level9
11: Level10
Note2/N
ote3
Issue 01 (2012-08-30)
10
2.3.5 SSubscriberAccount
Table 2.3.5.I.1.1.1.1 SSubscriberAccount
Name
Meaning
Option
al
Type
Range
Defaul
t value
Read
only
Comm
ent
actValue
Float(3
2 bits)
0~10000000.00
Note1
actBalance
Float(3
2 bits)
0~10000000.00
Note2
actConsumpti
on
Float(3
2 bits)
0~10000000.00
Note:3
0: Normal
1: Level1
2: Level2
3: Level3
4: Level4
actStatus
5: Exhaust
Integer
6: Level5
7: Level6
8: Level7
9: Level8
10: Level9
11: Level10
0: Normal
64: PrivilegeA
actPrivilege
Integer
65: PrivilegeB
66: PrivilegeC
128: Unrestricted
Issue 01 (2012-08-30)
11
YYYYMMDDhh
mmss
actExpireDat
e
Dateti
me
From
19700101000000
To
20371231235959
Note4
Note5
-1:NULL
actPersonaliz
edValue
Personalized initial
value of the account.
Float(3
2 bits)
0~10000000.00
Note1: The actValue is the initialized value of each billing cycle for this subscriber, and it depends on the definition of
this account.
Note2: The actBalance is the remainder value of this account.
Note3: The actConsumption is the consumed value of this account, and its value may be bigger than the actValue.
Note4: After this date the account's value, balance, status, privilege, and consumption will be reset. An example is, set
"ExpireDate" to next financial month of the subscriber.
Note5: When actPersonalizedValue defined and actPersonalizedValue > 0.001, actPersonalizedValue will be used as
initial value of this account.When actPersonalizedValue undefined or actPersonalizedValue < 0.001, actValue will be
used as initial value of this account.
2.3.6 SSubscriberRechargedQuota
Table 2.3.6.I.1.1.1.1 SSubscriberRechargedQuota
Name
Meaning
Option
al
Type
Range
Default
value
Read
only
Comm
ent
qtaName
The Identifier
of the quota ,
String
Length:1~32
rechargedVal
ue
The value to
be recharged,
Integer
1~2147483645
Note1
qtaClass
Quota class,
N
Note1: The unit of this field is KB.
Integer
0: Volume
2.3.7 SSubscriberAccumulation
Table 2.3.7.I.1.1.1.1 SSubscriberAccumulation
Name
accName
accClass
accType
accUsage
CheckInterva
l
Meaning
Name of the
accumulation.
Accumulation
class.
Accumulation
type.
Used value of
the
accumulation.
Check Interval
(Minute).
Option
al
Type
Range
Default
value
Read
only
Comm
ent
String
Length:1~32
Integer
Integer
0: Volume
1:Duration
0:Period
1:Session
Integer
0~2147483645
Note1
Integer
0~1440
Note2
Issue 01 (2012-08-30)
12
WindowLeng
th
CurrentlyCyc
le
accStatus
Length of the
sliding
window.
Number of the
current cycle.
Accumulation
status.
Integer
0~7
Note3
Integer
0~7
Note1
Integer
0: Light Level
1:Heavy Level
Note1
Note4
Next reset
time.
YYYYMMDDhhmmss
Y
Datetime
From 19700101000000
To 20371231235959
-1:NULL
Note1: If Accumulation Type is set to Session, this parameter is invalid, the value always is 0.
Note2: Specifies the interval between two consecutive accumulation status checks in a session. If Accumulation Type is set to
Period, this parameter is invalid, the value always is 0.
Note3: Specifies the number of periods contained in a sliding window for an accumulation. If Accumulation Type is set to
Session, this parameter is invalid, the value always is 0.
Note4: -1 is Invalid value. If Accumulation Type is set to Session, the value of this parameter should be -1.
2.3.8 SSubscriberAccumulationUsageInfo
Table 2.3.8.I.1.1.1.1 SSubscriberAccumulationUsageInfo
Name
Meaning
Option
al
Type
Range
Default
value
Read
only
Comm
ent
UsageValue
Used value of
the
accumulation.
Integer
0~2147483645
Create
accumulation
usage time.
yyyymmddhhmmss
Y
Datetime
From 19700101000000
To 20371231235959
-1:NULL
2.3.9 SSubscriberClearAccumulation
Table 2.3.9.I.1.1.1.1 SSubscriberClearAccumulation
Name
Meaning
Option
al
Type
Range
Default
value
Read
only
Comm
ent
accName
Name of the
accumulation.
String
Length:1~32
accClearType
Accumulation
clear type.
Integer
0: Current
1: History
2: All
2.3.10 SSubscriberRechargedService
Table 2.3.10.I.1.1.1.1 SSubscriberRechargedService
Name
Meaning
Option
al
Type
Range
Default
value
Read
only
Comm
ent
srvName
Service name.
String
Length:1~32
Note1
Issue 01 (2012-08-30)
13
rechargedVal
ue
The value to
be recharged.
Integer
1~2147483645
qtaClass
Quota class.
N
Integer
0: Volume
Note1:The service should associate one and only quota of volume.
Note2: The unit of this field is KB.
Note2
Default
value
Read
only
Comm
ent
2.3.11 SSubscriberCustomLevel
Table 2.3.11.I.1.1.1.1 SSubscriberCustomLevel
Name
Meaning
Option
al
Type
levelType
Level type.
Integer
qtaactName
Quota/Acco
unt Name.
String
Length:1~32
customLev
el1
Custom
Level 1.
Integer
0~500000
customLev
el2
Custom
Level 2.
Integer
0~500000
customLev
el3
Custom
Level 3.
Integer
0~500000
Default
value
Read
only
Comm
ent
-1:NULL
Range
1:Quota
2: Account
2.3.12 SSubscriberAlias
Table 2.3.12.I.1.1.1.1 SSubscriberAlias
Name
Meaning
Option
al
Type
Range
0: MSISDN
1: IMSI
AliasType
Alias type.
Integer
2: SIPURI
3: NAI
4: USERPRIVATE
AliasValue
AliasExpire
Date
Alias value.
Alias expire
date.
String
Datetime
Length:1~255
The format shall be:
YYYYMMDDhhmmss
From 19700101000000
To 20371231235959
-1:NULL
Issue 01 (2012-08-30)
14
Message Description
Table 3.1.1.I.1.1.1.1 Description of messages used by the getSubscriber interface
Message
Description
getSubscriberRequest
getSubscriberResponse
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
Output parameter:
1. Refer to "SPccSubscriber".
Message Description
Table 3.2.1.I.1.1.1.1 Description of messages used by the getSubscriberAllService interface
Message
getSubscriberAllServiceRequest
getSubscriberAllServiceResponse
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
Output parameter:
1. Refer to "SSubscribedService".
[
Issue 01 (2012-08-30)
Message Description
Table 3.3.1.I.1.1.1.1 Description of messages used by the getSubscriberAllServicePackage
interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please
refer to "SPccSubscriber".
Output parameter:
1. Refer to "SServicePackage".
getSubscriberAllServicePackageRequest
getSubscriberAllServicePackageResponse
Message Description
Table 3.4.1.I.1.1.1.1 Description of messages used by the getSubscriberAllQuota interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
Output parameter:
getSubscriberAllQuotaResponse
1. Refer to "SSubscriberQuota".
Note1:If subscriber is slave and has no quota, querying quota for slave subscriber will return success.
Note2:If a quota is shared by multiple services, the getSubscriberSpecQuotaResponse massage includes the
information of multiple quotas and each quota has a service name.
getSubscriberAllQuotaRequest
Issue 01 (2012-08-30)
Message Description
Table 3.5.1.I.1.1.1.1 Description of messages used by the getSubscriberSpecQuota interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
getSubscriberSpecQuotaRequest
"SPccSubscriber".
2. qtaName, i.e. the name of the specific quota, refer to
"SSubscriberQuota".
Output parameter:
getSubscriberSpecQuotaResponse
1. Refer to "SSubscriberQuota".
Note1:In the getSubscriberSpecQuotaRequest, only one SSubscriberQuota object (i.e. qtaName) can be
contained.
Note2:If a quota is shared by multiple services, the getSubscriberSpecQuotaResponse massage includes the
information of multiple quotas and each quota has a service name.
Message Description
Table 3.6.1.I.1.1.1.1 Description of messages used by the getSubscriberAccount interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
Output parameter:
getSubscriberAccountResponse
1. Refer to "SSubscriberAccount".
Note1:If subscriber is slave and has no account, querying account for slave subscriber will return success.
getSubscriberAccountRequest
Issue 01 (2012-08-30)
Message Description
Table 3.7.1.I.1.1.1.1 Description of messages used by the getSubscriberAllInf interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
Output parameter:
1. Refer to "SPccSubscriber" .
2. Refer to "SServicePackage".
3. Refer to "SSubscribedService".
4. Refer to "SSubscriberQuota".
5. Refer to "SSubscriberAccount".
getSubscriberAllInfRequest
getSubscriberAllInfResponse
Message Description
Table 3.8.1.I.1.1.1.1 Description of messages used by the addSubscriber interface
Message
Description
addSubscriberRequest
addSubscriberResponse
Input parameter:
1. Subscriber info. Refer to "SPccSubscriber".
2. parameters of service, refer to "SSubscribedService".
Output parameter:
1. Result code.
Note1: The operator can add subscriber's basic information in this operation.
Note2: This interface also supports to subscribe services when add a subscriber, but this is only for
compatibility, please use the subscribeService interface instead of addSubscriber to subscribe services for a
subscriber.
Issue 01 (2012-08-30)
Message Description
Table 3.9.1.I.1.1.1.1 Description of messages used by the updateSubscriber interface
Message
Description
Input parameter:
1. Subscriber info. Refer to "SPccSubscriber".
2. parameters of service, refer to "SSubscribedService".
Output parameter:
updateSubscriberResponse
1. Result code.
Note1: Operator can modify subscriber's basic information.
Note2: This interface also supports to subscribe or unsubscribe or update services, but this is only for
compatibility, please use the subscribeService or unSubscribeService or updateSubSubscription interface
instead of updateSubscriber to subscribe or unSubscribe or update services for a subscriber.
updateSubscriberRequest
Message Description
Table 3.10.1.I.1.1.1.1 Description of messages used by the deleteSubscriber interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
Output parameter:
delSubscriberResponse
1. Result code.
Note1: The subscription, quota, and account will be deleted when the subscriber is deleted.
Note2: When deleting a nonexistent subscriber, UPCC will return success.
delSubscriberRequest
Message Description
Table 3.11.1.I.1.1.1.1 Description of messages used by the subscribeService interface
Message
Description
subscribeServiceRequest
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
[
Issue 01 (2012-08-30)
Message Description
Table 3.12.1.I.1.1.1.1 Description of messages used by the updateSubSubscription interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
2. parameters of service, refer to "SSubscribedService".
Output parameter:
1. Result code.
updateSubSubscriptionRequest
updateSubSubscriptionResponse
Note1: This interface only supports to update one subscribed service each time.
Message Description
Table 3.13.1.I.1.1.1.1 Description of messages used by the unSubscribeService interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
unSubscribeServiceRequest
"SPccSubscriber".
2. srvName, refer to "SSubscribedService".
3. TermInd, refer to SSubscribedService
Output parameter:
unSubscribeServiceResponse
1. Result code.
Note1: This interface only supports to unsubscribe one service each time.
Note2: When unsubscribing not existing subscriber's service, UPCC will return success.
Note3: The associated quotas and account will be deleted when the service is unsubscribed.
Issue 01 (2012-08-30)
Message Description
Table 3.14.1.I.1.1.1.1 Description of messages used by the subscribeServicePackage interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
subscribeServicePackageRequest
"SPccSubscriber".
2. parameters of service package, refer to "SServicePackage".
Output parameter:
subscribeServicePackageResponse
1. Result code.
Note1: This interface only supports to subscribe one service package each time.
Message Description
Table 3.15.1.I.1.1.1.1 Description of messages used by the UpdateSubscribedServicePackage
interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
updateSubscribedServicePackageRequest
"SPccSubscriber".
2. parameters of service package, refer to
"SServicePackage".
Output parameter:
updateSubscribedServicePackageResponse
1. Result code.
Note1: This interface only supports to update one service package each time.
Issue 01 (2012-08-30)
Message Description
Table 3.16.1.I.1.1.1.1 Description of messages used by the unSubscribeServicePackage interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer
unSubscribeServicePackageRequest
to"SPccSubscriber".
2. parameters of service package, refer to "SServicePackage".
Output parameter:
unSubscribeServicePackageResponse
1. Result code.
Note1: This interface only supports to unsubscribe one service package each time.
Note2: When unsubscribing not existing in the subscriber's service package, UPCC will return success.
Note3: The associated services, quotas, and account will be deleted when the service package is
unsubscribed.
Message Description
Table 3.17.1.I.1.1.1.1 Description of messages used by the updateSubscriberAccount interface
Message
Description
Input parameter:
updateSubscriberAccountRequest
updateSubscriberAccountResponse
Output parameter:
Result code.
Note1: At least one attribute of SSubscriberAccount should be specified which is to be changed, otherwise
UPCC will return resultCode 8201(Illegal parameter).
Issue 01 (2012-08-30)
Message Description
Table 3.18.1.I.1.1.1.1 Description of messages used by the rechargeSubscriberQuota interface
Message
Description
Input parameter:
rechargeSubscriberQuotaRequest
rechargeSubscriberQuotaResponse
Output parameter:
Result code.
Notes:
Now the interface just supports the recharging function for the volume based quota.
After the quota is recharged, the quota usage will be reset accordingly.
After an quota is recharged, the sum of the remaining quota and the consumed quota may differ from the
subscribed quota.
For example, the quota information associated with a subscriber is as follows before the quota is
recharged:
Remaining quota: 0 KB
Consumed quota: 100 KB
Subscribed quota: 100 KB
After the subscriber has recharged the quota for 20 KB data volume usage, the quota information
associated with the subscriber is as follows:
Remaining quota: 20 KB
Consumed quota: 100 KB
Subscribed quota: 100 KB
The UPCC does not allow you to query the recharged quota information, such as the recharge amount
and how many times the quota has been recharged. After the quota is recharged for extra data volume
usage, only the remaining quota can be queried.
Issue 01 (2012-08-30)
Message Description
Table 3.19.1.I.1.1.1.1 Description of messages used by the updateSubscriberQuota interface
Message
Description
Input parameter:
updateSubscriberQuotaRequest
Output parameter:
updateSubscriberQuotaResponse
Result code.
Note1: It is recommended to use the rechargeSubscriberQuota for extra quota add on instead of using the
updateSubscriberQuota.
Note2: If the value of quote is modified, the qtaBalance = qtaValue qtaConsumption.
Message Description
Table 3.20.1.I.1.1.1.1 Description of messages used by the subscribeAccumulation interface
Message
Description
Input parameter:
subscribeAccumulationRequest
subscribeAccumulationResponse
Output parameter:
Result code.
Note1: This interface only supports to subscribe one accumulation each time.
Issue 01 (2012-08-30)
10
Message Description
Table 3.21.1.I.1.1.1.1 Description of messages used by the unSubscribeAccumulation interface
Message
Description
Input parameter:
unSubscribeAccumulationRequest
Output parameter:
unSubscribeAccumulationResponse
Result code.
Note1: This interface only supports to unsubscribe one accumulation each time.
Message Description
Table 3.22.1.I.1.1.1.1 Description of messages used by the clearAccumulation interface
Message
Description
Input parameter:
clearAccumulationRequest
clearAccumulationResponse
Output parameter:
Result code.
Note1: This interface only supports to clear one accumulation each time.
Issue 01 (2012-08-30)
11
Message Description
Table 3.23.1.I.1.1.1.1 Description of messages used by the getSubscriberAccumulation interface
Message
Description
Input parameter:
getSubscriberAccumulationRequest
Output parameter:
getSubscriberAccumulationResponse
Refer to SSubscriberAccumulation.
Refer toSSubscriberAccumulationUsageInfo.
Message Description
Table 3.24.1.I.1.1.1.1 Description of messages used by the rechargeSubscriberService interface
Message
Description
Input parameter:
rechargeSubscriberServiceRequest
rechargeSubscriberServiceResponse
Output parameter:
Result code.
Notes1:The given service should associate one and only quota of volume. If the service associates more
than one quota of volume, UPCC will return resultCode 13064 (More than one quota of a specified type
is associated with the service).
Note2:It is recommended to use the rechargeSubscriberQuota for extra quota add on instead of using the
rechargeSubscriberService.
Issue 01 (2012-08-30)
12
Message Description
Table 3.25.1.I.1.1.1.1 Description of messages used by the updateSubscriberCustomLevel
interface
Message
Description
Input param:
usrIdentifier, i.e. the IMSI or MSISDN, please refer
to SPccSubscriber.
updateSubscriberCustomLevelRequest
Output parameter:
Result code.
Notes1:The customLevel1, customLevel2 and customLevel3 shouldnt be same unless equal to 0.
updateSubscriberCustomLevelResponse
Message Description
Table 3.26.1.I.1.1.1.1 Description of messages used by the getSubscriberCustomLevel interface
Message
Description
Input param:
getSubscriberCustomLevelRequest
getSubscriberCustomLevelResponse
Output parameter:
Refer to SSubscriberCustomLevel.
Issue 01 (2012-08-30)
13
Message Description
Table 3.27.1.I.1.1.1.1 Description of messages used by the resetSubscriberQuota interface
Message
Description
Input param:
resetSubscriberQuotaRequest
Output parameter:
1. Result code.
Note1: This interface only supports to reset one quota of subscriber each time.
resetSubscriberQuotaResponse
Message Description
Table 3.28.1.I.1.1.1.1 Description of messages used by the addSubscriberAlias interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
addSubscriberAliasRequest
"SPccSubscriber".
2. parameters of alias, refer to "SSubscriberAlias".
Output parameter:
addSubscriberAliasResponse
1. Result code.
Note1: This interface cannt be used now, it is reserved only for compatibility.
Issue 01 (2012-08-30)
14
Message Description
Table 3.29.1.I.1.1.1.1 Description of messages used by the updateSubscriberAlias interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
updateSubscriberAliasRequest
"SPccSubscriber".
2. parameters of alias, refer to "SSubscriberAlias".
updateSubscriberAliasRespons Output parameter:
e
1. Result code.
Note1: This interface cannt be used now, it is reserved only for compatibility.
Message Description
Table 3.30.1.I.1.1.1.1 Description of messages used by the deleteSubscriberAlias interface
Message
delSubscriberAliasRequest
delSubscriberAliasResponse
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
2. parameters of alias, refer to "SSubscriberAlias".
Output parameter:
1. Result code.
Note1: This interface cannt be used now, it is reserved only for compatibility.
Issue 01 (2012-08-30)
15
Message Description
Table 3.31.1.I.1.1.1.1 Description of messages used by the getSubscriberAlias
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
"SPccSubscriber".
Output parameter:
getSubscriberAliasResponse
Refer to "SSubscriberAlias" .
Note1: This interface cannt be used now, it is reserved only for compatibility.
getSubscriberAliasRequest
Message Description
Table 3.32.1.I.1.1.1.1 Description of messages used by the subscribeServicePacket interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer to
subscribeServicePacketRequest
"SPccSubscriber".
2. parameters of service Packet, refer to "SServicePackage".
Output parameter:
subscribeServicePacketResponse
1. Result code.
Note1: This interface cannt be used now, it is reserved only for compatibility and is replaced by the
subscribeServicePackage interface.
Issue 01 (2012-08-30)
Message Description
Table 3.33.1.I.1.1.1.1 Description of messages used by the unSubscribeServicePacket interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please refer
unSubscribeServicePacketRequest
to"SPccSubscriber".
2. parameters of service Packet, refer to "SServicePackage".
3. TermInd, refer to SServicePackage.
Output parameter:
unSubscribeServicePacketResponse
1. Result code.
Note1: This interface cannt be used now, it is reserved only for compatibility and is replaced by the
unSubscribeServicePackage interface.
Message Description
Table 3.34.1.I.1.1.1.1 Description of messages used by the getSubscriberAllServicePacket
interface
Message
Description
Input parameter:
1. usrIdentifier, i.e. the IMSI or MSISDN, please
refer to "SPccSubscriber".
Output parameter:
getSubscriberAllServicePacketResponse
1. Refer to "SServicePackage".
Note1: This interface cannt be used now, it is reserved only for compatibility and is replaced by the
getSubscriberAllServicePackage interface.
getSubscriberAllServicePacketRequest
Issue 01 (2012-08-30)
Exception Handling
Issue 01 (2012-08-30)
<key>errorDescription</key>
<value>The user already exists</value>
</paras>
Error Description
Operation succeeded
1001
Invalid command
1003
1004
1009
1010
Parameter conflict
1111
1117
1118
1121
5001
Internal error
5002
5004
5007
8194
8195
8201
12299
12300
12302
12303
12304
12334
12339
12343
Issue 01 (2012-08-30)
UPCC
ErrorCode
Error Description
12351
12352
12354
12362
12422
12478
12482
12500
12510
12511
12519
12524
12600
12601
12608
12626
12627
12631
12632
The expiry date cannot be earlier than (or the same as) the
system time, please check
12801
12802
12803
13056
The subscription date cannot be later than (or the same as) the
expiry date
[
Issue 01 (2012-08-30)
UPCC
ErrorCode
Error Description
13057
The start date cannot be later than (or the same as) the expiry
date
13061
13062
13063
13064
13065
13072
Level conflict
20499
90101
90102
90103
90105
90106
90125
90368
90369
90370
90371
90372
90373
90374
90375
90376
90377
Issue 01 (2012-08-30)
UPCC
ErrorCode
Error Description
90378
90379
90380
98311
98312
98313
98314
98315
Issue 01 (2012-08-30)
WSDL
5.2 Samples
Sample.rar
Issue 01 (2012-08-30)
client.zip
About the method of installing the key store, please refer to the following example code of
JAVA. If the development language is not JAVA, please contact Huawei technical support
engineers.
//Load Key store
private void loadKeyAndTrustStore()
{
try
{
//System.out.println(Constants.ROOT_PATH + Constants.STORE_FILE);
AdminLogger.error("Certificate file: " + Constants.ROOT_PATH
+ Constants.STORE_FILE);
Issue 01 (2012-08-30)
// TrustStore
System.setProperty("javax.net.ssl.trustStore",
Constants.ROOT_PATH + Constants.STORE_FILE);
System.setProperty("javax.net.ssl.trustStorePassword", "123456");
}
catch (Exception ex)
{
AdminLogger.error(ex, "StartupServlet.loadKeyAndTrustStore");
}
Issue 01 (2012-08-30)