Hi James,
I am using the following code:
$arguments['szObjectName'] = 'CoalitionContact';
if ($value['form_key'] == 'first_name') {
$arguments['gc1_first_name'] = $submission->data[$key]['value'][0];
}
$coalition_contact_object = netforum_facade_object_parameters('CoalitionContact', $arguments);
$response = netforum_xweb_request('InsertFacadeObject', $coalition_contact_object, '1 min');
The request fails, and this is logged in watchdog:
Could not get response to InsertFacadeObject request: System.Web.Services.Protocols.SoapException: Object reference not set to an instance of an object. at Avectra.netForum.xWeb.xWebSecure.netForumXMLSecure.InsertFacadeObject(String szObjectName, XmlNode oNode).
Any idea?
Comments
Comment #1
kevinquillen commentedComment #2
james.michael-hill commentedLooking at my notes it appears that calling
would work better. I last tested that on an early version of xWeb but I doubt that it has changed significantly.
Comment #3
kevinquillen commentedYeah, I got mixed up. I've got it working now, thanks.