mulesoft/intacct-connector — Issue #9: connector version 2.4 (not snapshot), execute UpdateCustomer call leads to exception
Author: adrianhsieh
Created: 2012-02-28 23:43:34+00:00
State: open

Getting this exception when trying to update customer. I google it & it seems to be related to leading space at the beginning of the message?

"\n********************************************************************************\nMessage : Failed to invoke execute. Message payload is of type: ArrayList\nCode : MULE_ERROR-29999\n--------------------------------------------------------------------------------\nException stack is:\n1. The processing instruction target matching \"[xX][mM][lL]\" is not allowed. (org.xml.sax.SAXParseException)\n org.apache.xerces.util.ErrorHandlerWrapper:-1 (null)\n2. null (javax.xml.bind.UnmarshalException)\n javax.xml.bind.helpers.AbstractUnmarshallerImpl:315 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/xml/bind/UnmarshalException.html)\n3. javax.xml.bind.UnmarshalException\n - with linked exception:\n[org.xml.sax.SAXParseException: The processing instruction target matching \"[xX][mM][lL]\" is not allowed.] (javax.ws.rs.WebApplicationException)\n com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider:113 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/ws/rs/WebApplicationException.html)\n4. There was an error sending the request to the server. Please check the cause for further information (org.mule.module.intacct.exception.IntacctException)\n org.mule.module.intacct.IntacctCloudConnector:723 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/module/intacct/exception/IntacctException.html)\n5. Failed to invoke execute. Message payload is of type: ArrayList (org.mule.api.MessagingException)\n org.mule.module.intacct.config.ExecuteMessageProcessor:392 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)\n--------------------------------------------------------------------------------\nRoot Exception stack trace:\norg.xml.sax.SAXParseException: The processing instruction target matching \"[xX][mM][lL]\" is not allowed.\n\tat org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)\n\tat org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)\n\tat org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)\n + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)\n********************************************************************************\n"