Hi
We seem to be having issues with a customer's web services access.
Here's what happens when we work with NS webservices
1) we are creating a new itemSearch
2) we are executing the search - everything is OK for 1st page of data. our search works fine.
3) When we try to get next page of data, either with searchMore() or with searchNext() functions
4) we get an exception from netsuite
com.netledger.dto.v2_5.faults.InvalidSessionFault: Your connection has timed out. Please log in again.
this exception started to appear recently. When we were doing our testing 2 weeks ago nothing along these lines happened.
More importantly, when we use our app against our demo account and against another production account, things work well.
When we use other apps against this clients account, we get the same error. Seems like the error is restricted to this account and may have somethign to do with
We also noticed that a new setting appears on the Client's account under the employee record "Concurrent Web services User". Is this something that needs to be enabled for this account and does it have a charge/fee associated with it?
---------
same errors happens on Client's account with all types of entities, for example with customers
same errors don't happen on any other accounts
soap requests are here
1st request
<?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"><soap:Header><searchPreferences xmlns="urn:messages_2_5.platform.webservices.netsuite.com"><bodyFieldsOnly>false</bodyFieldsOnly><pageSize>20</pageSize></searchPreferences></soap:Header><soap:Body><search xmlns="urn:messages_2_5.platform.webservices.netsuite.com"><searchRecord xmlns:q1="urn:relationships_2_5.lists.webservices.netsuite.com" xsi:type="q1:CustomerSearch"><q1:basic><dateCreated operator="after" xmlns="urn:common_2_5.platform.webservices.netsuite.com"><searchValue xmlns="urn:core_2_5.platform.webservices.netsuite.com">2001-01-01T00:01:00+02:00</searchValue></dateCreated></q1:basic></searchRecord></search></soap:Body></soap:Envelope>
results are in searchResult1.txt
valid searchResults with 20 items on first page
2nd request
<?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"><soap:Header><searchPreferences xmlns="urn:messages_2_5.platform.webservices.netsuite.com"><bodyFieldsOnly>false</bodyFieldsOnly><pageSize>20</pageSize></searchPreferences></soap:Header><soap:Body><searchNext xmlns="urn:messages_2_5.platform.webservices.netsuite.com" /></soap:Body></soap:Envelope>
results are failure message:
HTTP/1.1 500 Internal Server Error
Date: Tue, 17 Jul 2007 10:33:47 GMT
Server: Oracle-Application-Server-10g
Set-Cookie: NS_VER=11.0.6; path=/
P3P: CP="CAO PSAa OUR BUS PUR"
Vary: User-Agent
Set-Cookie: JSESSIONID=ac112b1a1f430e39ee36f3184a00b317f26782e1596c.e34Sb3aOcheMai0Lbh0Mch0MbhaOe0; path=/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset=utf-8
31c
<?xml version="1.0" encoding="utf-8"?><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:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>com.netledger.dto.v2_5.faults.InvalidSessionFault: Your connection has timed out. Please log in again.</faultstring><detail><invalidSessionFault xmlns="urn:faults_2_5.platform.webservices.netsuite.com"><code>SESSION_TIMED_OUT</code><message>Your connection has timed out. Please log in again.</message></invalidSessionFault><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">partners-java005.svale.netledger.com</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
0