We are getting an error on searches we do with customers using code that we have been using all along. What is odd is that if we put in an entityid that doesn’t exist, it tells me the record doesn’t exist, when we search for a specific id we get UNEXPECTED_ERROR.
Here is the soap. Any ideas?
[FONT=Arial][FONT=Arial][FONT=Arial]Customer Search By EntityID[/FONT]
[FONT=Arial]-----SoapRequest at 8/18/2006 12:02:02 PM[/FONT]
[FONT=Arial]<?xml version="1.0" encoding="utf-8"?>[/FONT]
[FONT=Arial]<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">[/FONT]
[FONT=Arial]<soap:Body>[/FONT]
[FONT=Arial]<get xmlns="urn:messages_2_0.platform.webservices.netsuite.com">[/FONT]
[FONT=Arial]<baseRef xmlns:q1="urn:core_2_0.platform.webservices.netsuite.com" xsi:type="q1:RecordRef" internalId="2269493" type="customer" />[/FONT]
[FONT=Arial]</get>[/FONT]
[FONT=Arial]</soap:Body>[/FONT]
[FONT=Arial]</soap:Envelope>[/FONT]
[FONT=Arial]-----SoapResponse at 8/18/2006 12:02:03 PM[/FONT]
[FONT=Arial]<?xml version="1.0" encoding="utf-8"?>[/FONT]
[FONT=Arial]<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">[/FONT]
[FONT=Arial]<soapenv:Header>[/FONT]
[FONT=Arial]<documentInfo xmlns="urn:messages_2_0.platform.webservices.netsuite.com">[/FONT]
[FONT=Arial]<nsId>WEBSERVICES_423040_081820065815196622056372447_c4f540b72d7fc</nsId>[/FONT]
[FONT=Arial]</documentInfo>[/FONT]
[FONT=Arial]</soapenv:Header>[/FONT]
[FONT=Arial]<soapenv:Body>[/FONT]
[FONT=Arial]<getResponse xmlns="urn:messages_2_0.platform.webservices.netsuite.com">[/FONT]
[FONT=Arial]<readResponse xmlns="urn:messages_2_0.platform.webservices.netsuite.com">[/FONT]
[FONT=Arial]<ns1:status isSuccess="false" xmlns:ns1="urn:core_2_0.platform.webservices.netsuite.com">[/FONT]
[FONT=Arial]<ns1:statusDetail type="ERROR">[/FONT]
[FONT=Arial]<ns1:code>UNEXPECTED_ERROR</ns1:code>[/FONT]
[FONT=Arial]<ns1:message>An unexpected error occurred.</ns1:message>[/FONT]
[FONT=Arial]</ns1:statusDetail>[/FONT]
[FONT=Arial]</ns1:status>[/FONT]
[FONT=Arial]</readResponse>[/FONT]
[FONT=Arial]</getResponse>[/FONT]
[FONT=Arial]</soapenv:Body>[/FONT]
[FONT=Arial]</soapenv:Envelope>[/FONT]
[/FONT][/FONT]