Go to primary content
Oracle® Communications Diameter Signaling Router Subscriber Database Server Provisioning Interface
Release 8.3
E93213
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

Examples

These examples show the SDS provisioning request and response contents that are stored within the <soapenv:Body> or <SOAP-ENV:Body> tags. See Start Transaction Examples for an example of the whole SOAP request/response text.

Read NAI Routing Entities

This example successfully reads three NAI routing entities.

Request:
<readSubscriberNaiRequest>
  <naiList>
    <host>oracle.com</host>
    <user>John.Smith</user>
    <user>Jane.Doe</user>
    <user>Mike.Jones</user>
  </naiList>
</readSubscriberNaiRequest>
Response:
<ns3:readSubscriberNaiResponse>
  <result affected="3" error="0">
  </result>
  <resultSet>
    <nai host=”oracle.com” user=”John.Smith”>
      <imshss>IMS_HSS_1</imshss>
      <ltehss>LTE_HSS_1</ltehss>
      <aaa>AAA_Texas</aaa>
    </nai>
    <nai host=”oracle.com” user=”Jane.Doe”>
      <imshss>IMS_HSS_1</imshss>
      <ltehss>LTE_HSS_4</ltehss>
      <pcrf>PCRF_Ohio</pcrf>
      <aaa>AAA_Texas</aaa>
    </nai>
    <nai host=”oracle.com” user=”Mike.Jones”>
      <imshss>IMS_HSS_1</imshss>
      <ltehss>LTE_HSS_4</ltehss>
      <pcrf>PCRF_Ohio</pcrf>
      <aaa>AAA_Texas</aaa>
    </nai>
  </resultSet>
</ns3:readSubscriberNaiResponse>

Read NAI Routing Entities

This example successfully reads two NAI routing entities. Other NAI values are not found.

Request:
<readSubscriberNaiRequest>
  <naiList>
    <host>oracle.com</host>
    <user>John.Smith</user>
    <user>Ann.Jones</user>
    <user>Jane.Doe</user>
    <user>Mike.Jackson</user>
  </naiList>
</readSubscriberNaiRequest>
Response:
<ns3:readSubscriberNaiResponse>
  <result affected="2" error="0">
  </result>
  <resultSet>
    <nai host=”oracle.com” user=”John.Smith”>
      <imshss>IMS_HSS_1</imshss>
      <ltehss>LTE_HSS_1</ltehss>
      <aaa>AAA_Texas</aaa>
    </nai>
    <nai host=”oracle.com” user=”Jane.Doe”>
      <imshss>IMS_HSS_1</imshss>
      <ltehss>LTE_HSS_4</ltehss>
      <pcrf>PCRF_OHIO</pcrf>
      <aaa>AAA_Texas</aaa>
    </nai>
  </resultSet>
</ns3:readSubscriberNaiResponse>

Read NAI Routing Entities (Failure)

This example fails because no NAI subscribers are found.

Request:
<readSubscriberNaiRequest>
  <naiList>
    <host>oracle.com</host>
    <user>Kevin.Smith</user>
    <user>John.Doe</user>
  </naiList>
</readSubscriberNaiRequest>
Response:
<ns3:readSubscriberNaiResponse>
  <result description=”nai not found” affected="0" error="2009">
  </result>
</ns3:readSubscriberNaiResponse>