Adding routeGroup

Version 1
    This document was generated from CDN thread

    Created by: MIKE WILCOX on 11-02-2010 07:42:17 PM
    I am attempting to add a routeGroup to a 6.1.2-1125-1 cluster using the following request:
     
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
    lns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org
    /2001/XMLSchema">

     <SOAP-ENV:Body>
     <addRouteGroup>
     <routeGroup>
    <name>RG-ICT-FMPREPROD-AMRSS
    </name>
    <dialPlanWizardGenId>0</dialPlanWizardGenId>
    <members>
    <deviceSelectionOrder>1</deviceSelectionOrder>
    <dialPlanWizardGenId>0</dialPlanWizardGenId>
    <deviceName></deviceName>
    </members>
    </routeGroup>
    </addRouteGroup>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
     
    and get the following response:
     
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>Invalid Qsig configuration: at least one QSIG variety must be declared</faultstring>
    <detail><axl:Error xmlns:axl="http://www.cisco.com/AXL/API/1.0">
    <axl:code>1702</axl:code>
    <axl:message>Invalid Qsig configuration: at least one QSIG variety must be declared</axl:message><request>addRouteGroup</request>
    </axl:Error></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
     
    I don't see where to set a QSIG value in the docs and doing a getRouteGroup didn't show it either.
     
    Thanks,
     
    Mike

    Subject: RE: Adding routeGroup
    Replied by: Anitha V on 12-02-2010 06:16:26 AM
    Hi Mike,
     
    You should include <member> tag, inside <members> tag. Also <deviceName> tag should not be empty.
     
    Please find below the working sample:-
     
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
     <SOAP-ENV:Body>
      <axlapi:addRouteGroup sequence="1" xmlns:axlapi="http://www.cisco.com/AXL/API/1.0" xmlns:axl="http://www.cisco.com/AXL/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cisco.com/AXL/API/1.0 axlsoap.xsd">
       <routeGroup>
        <name>TEST</name>
        <dialPlanWizardGenId>3</dialPlanWizardGenId>
        <members>
         <member port="0">
          <deviceSelectionOrder>1</deviceSelectionOrder>
          <dialPlanWizardGenId>3</dialPlanWizardGenId>
          <deviceName>XXX</deviceName>
         </member>
        </members>
       </routeGroup>
      </axlapi:addRouteGroup>
     </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
     
    Hope this help.
     
    Regards,
    Anitha