How to send error message text in ASDL state table to get it in <sa:reason> tag in OrderFailEvent? (Doc ID 1394298.1)

Last updated on DECEMBER 01, 2015

Applies to:

Oracle Communications ASAP - Version: 7.0.2 and later   [Release: 7.0.0 and later ]
Information in this document applies to any platform.

Goal


How to send error message text in ASDL state table to get it in <sa:reason> tag in OrderFailEvent?

OrderFailEvent example where <sa:reason>; tag as null:

<?xml version="1.0" encoding="UTF-8"?>
<mslv-sa:orderFailEvent
   xmlns:co="http://java.sun.com/products/oss/xml/Common"
   xmlns:mslv-sa="http://www.metasolv.com/oss/ServiceActivation/2003"
   xmlns:sa="http://java.sun.com/products/oss/xml/ServiceActivation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <co:applicationDN/>
   <co:eventTime>2011-12-21T09:40:19</co:eventTime>
   <sa:currentState>open.running.suspended.failed</sa:currentState>
   <sa:orderKey>
       <co:applicationDN/>
       <co:type/>
       <sa:primaryKey>NEW_END_USER10</sa:primaryKey>
   </sa:orderKey>
   <sa:reason/>
   <mslv-sa:externalSystemId>DM-PAL</mslv-sa:externalSystemId>
   <mslv-sa:eventId>167</mslv-sa:eventId>
   <mslv-sa:eventStatus>1</mslv-sa:eventStatus>
   <mslv-sa:serviceKey>
       <co:applicationDN/>
       <co:type/>
       <sa:primaryKey>C-NRP:NEW_END_USER</sa:primaryKey>
       <mslv-sa:serviceSequenceNumber>5</mslv-sa:serviceSequenceNumber>
   </mslv-sa:serviceKey>
   <mslv-sa:rollbackExcept>N</mslv-sa:rollbackExcept>
</mslv-sa:orderFailEvent>



Below is an example of ASDL State Table code where error message is set.

2050 ASDL_EXIT 'FAIL: The End User Circuit has not been configured on PVC(VPI).'


This can be seen in logs also as

Sending RPC [asdl_resp] with 12 Parameters
1 : nep_drv_st_tm = 1324440544
2 : srq_id = 10001
3 : status = 0
4 : error = -20
5 : text = The End User Circuit has not been configured on PVC(VPI).
6 : base_exit_type = FAIL
7 : user_defined_exit_type =
8 : start_dts = Dec 21 2011 9:40AM
9 : comp_dts = Dec 21 2011 9:40AM
10 : host_clli = x.x.x.x
11 : primary_connect = 1
12 : ne_avail_start_tm = 1324440614



Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms