Author Message
StevenMartin2
Joined: Mar 25, 2011
Messages: 0
Offline
XML Based - Web Service Request Form
https://ip.address.omitted/smsxml/smsxml_test.php

FAILS SOAP

Fault: Call to a member function addChild() on a non-object

<?xml version="1.0"?>
<modelFields>
<BCMSTrunkReport/>
</modelFields>

list
qualifier 11 (or Trunk Group) time or day

[java] [ list BCMSTrunkReport ]
[java] via https://name.onitted
[java]
[java]
[java] ---> SOAP message: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Call to a member function addChild() on a non-object</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
[java] ---> FAULT: Call to a member function addChild() on a non-object
[java] ---> FAULT CODE: SOAP-ENV:Server
[java] A SOAP fault was raised:
[java] Cause: java.lang.RuntimeException: [SOAP-ENV:Fault: null]
[java] Message: javax.xml.ws.WebServiceException: java.lang.RuntimeException: [SOAP-ENV:Fault: null]
[java]
[java] Releasing SessionID[]...
[java] The SMS session was released. result_code=0
JohnBiggs
Joined: Jun 20, 2005
Messages: 1139
Location: Rural, Virginia
Offline
problems with this model were reported in this thread
https://devconnect.avaya.com/public/forum/d_forum_3.jsp?t=12027&f=57

ultimately a development MR was written wi01046402 fixes to the issues are not yet available (as of oct 2012) in a GA or patch release.
StevenMartin2
Joined: Mar 25, 2011
Messages: 0
Offline
Thank you very much for your support.

I am able to complete what I need for Trunk Groups.

This XML works just fine w/o including Group and/or Date fields.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:submitRequest xmlns:ns2="http://xml.avaya.com/ws/SystemManagementService/2008/07/01" xmlns:ns3="http://xml.avaya.com/ws/session">
<modelFields>
<BCMSTrunkReport>
<Incoming_Calls/>
<Incoming_Abandoned/>
<Incoming_Time/>
<Incoming_Usage_CCS/>
<Interval/>
<Outgoing_Calls/>
<Outgoing_Completed/>
<Outgoing_Time/>
<Outgoing_Usage_CCS/>
<Pct_All_Busy/>
<Pct_Time_Maintenance/>
</BCMSTrunkReport>
</modelFields>
<operation>list</operation>
<objectname></objectname>
<qualifier>~TRUNKGROUP~ time 00:01 23:59</qualifier>
</ns2:submitRequest>

Go to:   
Mobile view