Hi,
SOAP Service fails depending on which record I ask for.
I inserted Invoice #1 (130837) via a SOAP call about an hour ago.
Invoice #2 (130795) was added through the Web UI.
The SOAP Requests are exactly the same except for the internalId:
Request #1:
POST /services/NetSuitePort_2_5 HTTP/1.0 Host: webservices.netsuite.com User-Agent: NuSOAP/0.7.2 (1.94) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "get" Content-Length: 606 Cookie: NS_VER=11.0.6; JSESSIONID=ac112b7a1f430d32e612d6f54abaa482d56d165834c1.e34Sb3aPa3aSai0LaN4ObxyQahyLe0; lastUser=xxxxxx_1658_18; <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <platformMsgs:get xmlns:platformMsgs="urn:messages_2_5.platform.webservices.netsuite.com" xmlns:platformCore="urn:core_2_5.platform.webservices.netsuite.com" > <baseRef internalId="130837" type="invoice" xsi:type="platformCore:RecordRef"/> </platformMsgs:get> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
I get a good Response to the request above.But when I request a different record with the exact same SOAP message, I get the following:Request #2:POST /services/NetSuitePort_2_5 HTTP/1.0 Host: webservices.netsuite.com User-Agent: NuSOAP/0.7.2 (1.94) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "get" Content-Length: 606 Cookie: NS_VER=11.0.6; JSESSIONID=ac112b7a1f43c753ce5a091e42858686c234ca33a7fc.e34Sb3aPa3aSai0LaN4ObxyQahyLe0; lastUser=xxxxxx_1658_18; <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <platformMsgs:get xmlns:platformMsgs="urn:messages_2_5.platform.webservices.netsuite.com" xmlns:platformCore="urn:core_2_5.platform.webservices.netsuite.com" > <baseRef internalId="130795" type="invoice" xsi:type="platformCore:RecordRef"/> </platformMsgs:get> </SOAP-ENV:Body></SOAP-ENV:Envelope> Response to #2: HTTP/1.1 200 OK Date: Fri, 16 Mar 2007 07:46:32 GMT Server: Oracle-Application-Server-10g P3P: CP="CAO PSAa OUR BUS PUR" Vary: User-Agent Set-Cookie: JSESSIONID=ac112b7a1f43c753ce5a091e42858686c234ca33a7fc.e34Sb3aPa3aSai0LaN4ObxyQahyLe0; path=/ Transfer-Encoding: chunked Content-Type: text/xml; charset=iso-8859-1 <?xml version="1.0" encoding="ISO-8859-1"?> <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"> <soapenv:Header> <documentInfo xmlns="urn:messages_2_5.platform.webservices.netsuite.com"> <nsId>WEBSERVICES_xxxxxx_031620071505120627534152893_27400644691d3</nsId> </documentInfo> </soapenv:Header> <soapenv:Body> <getResponse xmlns="urn:messages_2_5.platform.webservices.netsuite.com"> <readResponse xmlns="urn:messages_2_5.platform.webservices.netsuite.com"> <ns1:status isSuccess="false" xmlns:ns1="urn:core_2_5.platform.webservices.netsuite.com"> <ns1:statusDetail type="ERROR"> <ns1:code>UNEXPECTED_ERROR</ns1:code> <ns1:message>An unexpected error occurred.</ns1:message> </ns1:statusDetail> </ns1:status> </readResponse> </getResponse> </soapenv:Body> </soapenv:Envelope>
Can somebody from NS look at this?Thanks,Shanon