Blogs

Cisco Technology Developer Partners,

Cisco is proud to announce the availability of our Cisco Unified Communications System Release 8.6 Not-For-Resale software bundle on Cisco Marketplace (Partner Login Required).

To purchase the latest Unified Communications NFR Software bundle
- Navigate to Cisco Marketplace
- Login using your Cisco.com UserID ...Read More

 



REMINDER! CDN DEVELOPER TECHNICAL SESSION TRACK AT CISCO LIVE LONDON, JANUARY 31 through FEBRUARY 2, 2011
...Read More

 



Cisco Developer Network will be presenting a CDN Developer Track at Cisco Live! London the week of January 31, 2011.

We are presenting technical sessions which highlight Application Programming interfaces (APIs) and Software Developer Kits (SDKs) for Cisco technologies such as Unified Communications, IOS, and Access Routing Technologies ¿ including the new Cisco Cius ...Read More

 

Showing 3 results.

Forums

« Back to Discussion

NullPointerException scheduling new meeting

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello,
 
I'm attempting to call MPSA from Perl code to create a new meeting. When I attempt the add a new meeting with just the required paramaters I'm getting a NullPointerException that isn't very useful.
 
This Perl code:
 
my $res = $mp->scheduleMeeting ( 
   SOAP:emoticonata->name("requesterUserId" => $user )->type('xsd:string'),
   SOAP:emoticonata->name("scheduleParams" => \SOAP:emoticonata->value(
      SOAP:emoticonata->name('schedulerUniqueId' => $user),
      SOAP:emoticonata->name('startDateTime' => '2011-02-28T21:32:52' ),
      SOAP:emoticonata->name('initialPartNum' => '10'),
      )
   )
);
 
Produces the following XML:
 
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<scheduleMeeting xmlns="MeetingService">
<requesterUserId xsi:type="xsd:string">72519</requesterUserId>
<scheduleParams>
   <schedulerUniqueId xsi:type="xsd:int">72519</schedulerUniqueId>
   <startDateTime xsi:type="xsd:dateTime">2011-02-28T21:32:52</startDateTime>
   <initialPartNum xsi:type="xsd:int">10</initialPartNum>
</scheduleParams>
</scheduleMeeting></soap:Body></soap:Envelope>
 
Which returns:
 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<soap:Fault><faultcode>soap:Server</faultcode>
<faultstring>Fault: java.lang.NullPointerException</faultstring></soap:Fault></soap:Body></soap:Envelope>
 
Is there something wrong with my request or some logs on the meetingplace app server I can look at to shed more light on the error?
 
TIA,
Keith.

Collateral


No files available