The following SOAP used to work fine to initialise a new Item Fulfillment from a Sales Order. It now fails with "org.xml.sax.SAXException: Invalid type: {urn:core_2_5.platform.webservices.netsuite.com}reference" and I cannot see why:
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding"> <soap:Body> <platformMsgs:initialize xmlns:platformMsgs="urn:messages_2_5.platform.webservices.netsuite.com"> <platformMsgs:initializeRecord> <platformCore:type xmlns:platformCore="urn:core_2_5.platform.webservices.netsuite.com">itemFulfillment</platformCore:type> <platformCore:reference xmlns:platformCore="urn:core_2_5.platform.webservices.netsuite.com" xsi:type="platformCore:reference" type="salesOrder" internalId="666"/> </platformMsgs:initializeRecord> </platformMsgs:initialize> </soap:Body> </soap:Envelope>
The sales order in question - id 666 - transforms fine in the UI from the Fulfill Sales Orders page.Can anyone shed some light on this? Perhaps there is an issue with the Initialize operation?Thanks.