Discussions
Help with an error - department type
This is the error I'm getting:
org.xml.sax.SAXException: Invalid type: {urn:sales_2_6.transactions.webservices.netsuite.com}department
I'm doing an update on a sales order. What am I doing wrong?
Here's the SOAP I'm using:
<?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:update xmlns:platformMsgs="urn:messages_2_6.platform.webservices.netsuite.com">
<tranSales:record xmlns:tranSales="urn:sales_2_6.transactions.webservices.netsuite.com" xsi:type="tranSales:SalesOrder" internalId="59567" >