cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1191
Views
0
Helpful
0
Replies

Updated API Reference appears to contain errors

Joseph Jacobs
Level 4
Level 4

So i'm trying to play with the PAWS MaintenanceService API.

Using SOAP UI, i push the sample request that is listed in the API document:

<!--startBackup example request--> 

<?xml version="1.0" encoding="UTF-8"?>

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="server_url">

   <soap:Header />

   <soap:Body>

   <ser:startBackup>

   <!--Optional:-->

   <ser:args0>weekly</ser:args0>

   </ser:startBackup>

   </soap:Body>

</soap:Envelope>


This request will fail and i'll get a bunch of errors about namespace mismatch etc....the 'weekly' schedule is the name of the schedule in the CUCM.

After much playing around with it and looking at the PAWS logs in CUCM, I found that the default requests listed in the API Reference won't work.

The following is an example of a request that I used that actually started a backup in the call manager.  This kicks off an asynchronous request, so you'll have to use the getBackupProgress api to see what's happening.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.api.platform.vos.cisco.com">

   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">

      <wsa:Action>urn:startBackup</wsa:Action>

      <wsa:ReplyTo>

         <wsa:Address>http://www.joe.com/</wsa:Address>

      </wsa:ReplyTo>

      <wsa:MessageID>uuid:26634481-3273-4a70-b537-ab4b874e4d6b</wsa:MessageID>   

      <wsa:To/> 

   </soapenv:Header>

   <soapenv:Body>

      <ser:startBackup>

         <!--Optional:-->

         <ser:args0>weekly</ser:args0>

      </ser:startBackup>

   </soapenv:Body>

</soapenv:Envelope>

Does anybody know why the API is not complete with regards to the sample requests that it has listed?

Joe

0 Replies 0