WebSphere brand IBM WebSphere IP Multimedia Subsystem Connector, Version 6.2

updateRepositoryDataByXML Web service method

This Web service method is used by an IMS™ Application Server to update the transparent data stored in the HSS for a user.

Usage

This Web service method is used to update the XML string representation of the user profile repository data from the HSS. This format of this data is defined as RepositoryData in ShDataType.xsd. The string contains a result code.

Example

Example of the initial creation of user profile information. Notice the sequence number specified is zero.

String user_data = "<?xml version=\"1.0\" 
encoding=\"UTF-8\"?><Sh-Dataxmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xsi:noNamespaceSchemaLocation=\"ShDataType.xsd\"><RepositoryData><ServiceIndication>IBM-Diameter-SH-1234567</ServiceIndication><SequenceNumber>0</SequenceNumber><ServiceData><Data>email
bjjones@example.com *</Data></ServiceData></RepositoryData></Sh-data>";

String resultCode = service.updateRepositoryDataByXML("aaa://host.example.com;protocol=diameter;-117302099;1", "sipintel10@city.example.com", "realmA.example.com", "sips:carol@ws1234.example.com", user_data);

Parameters

Parameter Name Type Description
sessionID String

Identifies a specific session. All messages pertaining to a specific session must include only one Session-Id AVP and the same value must be used throughout the life of a session. The Session ID must be globally and eternally unique, as it is meant to uniquely identify a user session without reference to any other information. This may be needed to correlate historical authentication information with accounting information. Example: aaa://host.example.com;protocol=diameter;-117302099;1

destinationHost String

The fully qualified domain name of the HSS that the Sh subscriber profile Web service will send this request to. This input parameter is optional. Examples include: sipintel15.city.example.com or diameter.example.com

destinationRealm String

The realm that this subscriber belongs to. The destination realm is a required parameter and must be a fully qualified domain name. The value specified must match the specific realmName property that is defined in one of the routex properties in the Diameter_Sh.properties file. If the value does not match any of the specific routes, and a DEFAULT route entry is defined, the DEFAULT route will be used.

publicIdentity String
Specifies the public user identity or public service identity. This can be either a SIP URL or a TEL URL. Example:
  • sip:Alice.Smith@example.com:transport=tcp
  • sips:carol@ws1234.example.com
  • sip:+358-555-1234567;postd=pp22@example.com;user=phone
  • sip:alice;day=tuesday@example.com
  • tel:+919-123-4567
  • tel:+358-555-1234567;postd=pp22
userData String

The XML string representation of the user profile data which must comply with ShDataType.xsd.




Terms of use
(C) Copyright IBM Corporation 2009. All Rights Reserved.