Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 642
 
Appendix III – Sample SOAP Request Response 
 
 
 
 
 
Cisco EPN Manager 2.0.3 MTOSI API Guide for OSS Integration  
 
 
562 
</soap:Envelope> 
9.58 retrieveServiceStates – DWDM / OTN Services 
This is a generic request that can be used to retrieve the service states of all the supported service types. 
The service type should be specified in the ProductNameRDN for the RDN type “SERVICE_TYPE”. 
9.58.1 DWDM/OTN Services SOAP Request 
<?xml version="1.0" encoding="UTF-8"?> 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:v1="http://www.tmforum.org/mtop/fmw/xsd/hdr/v1" 
xmlns:v11="http://www.tmforum.org/mtop/sa/xsd/sai/v1" 
xmlns:v12="http://www.tmforum.org/mtop/fmw/xsd/nam/v1"> 
   <soapenv:Header> 
      <v1:header></v1:header> 
   </soapenv:Header> 
   <soapenv:Body> 
      <v11:retrieveServiceStatesRequest> 
         <v11:rootRequest> 
            <!--Optional:--> 
            <v11:vendorExtensions> 
               <ciscoOptRetrieveServiceStatesRequest 
xmlns="http://www.cisco.com/epnm/mtop/sa/xsd/sai/ext/opt/v1"> 
                  <cfsRef> 
                     <v12:rdn> 
                        <v12:type>MD</v12:type> 
                        <v12:value>CISCO_EPNM</v12:value> 
                     </v12:rdn> 
                     <v12:rdn> 
                        <v12:type>CFS</v12:type> 
                        <v12:value>ochtrail-service-1</v12:value> 
                     </v12:rdn> 
                  </cfsRef> 
               </ciscoOptRetrieveServiceStatesRequest> 
            </v11:vendorExtensions> 
         </v11:rootRequest> 
         <v11:productName> 
            <!--1 or more repetitions:--> 
            <v12:rdn> 
               <v12:type>MD</v12:type> 
               <v12:value>CISCO_EPNM</v12:value> 
            </v12:rdn> 
            <v12:rdn> 
               <v12:type>SERVICE_TYPE</v12:type> 
               <v12:value>OCHTRAIL</v12:value> 
            </v12:rdn> 
         </v11:productName> 
      </v11:retrieveServiceStatesRequest> 
   </soapenv:Body> 
</soapenv:Envelope> 
9.58.2 DWDM/OTN Services SOAP Response 
<?xml version="1.0" encoding="UTF-8"?> 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 
   <soap:Header>