Forum Discussion

dm690609's avatar
dm690609
New Contributor
8 years ago

ServiceV can not receive a request when I use different data.

When I receive a request from my application with startIndex>0 and recordCount>1 my ServiceV answers correctly. When I receive the request with startIndex>222222 and recordCount>1000 then my ServiceV can not receive a part of request. When I use my request to target application then all work correctly.

What is wrong?

 

A request when startIndex>0 and recordCount>1:

POST /ApiBasic.svc HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/IApiBasic/GetProfileDataSeriesByIndex"
Host: 127.0.0.1:8088
Content-Length: 328
Expect: 100-continue
Accept-Encoding: gzip, deflate

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

<s:Body><GetProfileDataSeriesByIndex xmlns="http://tempuri.org/"><apiKey>93B11E47-F47E-4662-B16E-8CDDCD7443F6</apiKey><profileName>EnergyProfile</profileName>

<startIndex>0</startIndex>

<recordCount>1</recordCount>

</GetProfileDataSeriesByIndex>

</s:Body></s:Envelope>

 

A request when startIndex>222222 and recordCount>1000:

 

POST /ApiBasic.svc HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/IApiBasic/GetProfileDataSeriesByIndex"
Host: 127.0.0.1:8088
Content-Length: 337
Expect: 100-continue
Accept-Encoding: gzip, deflate

No RepliesBe the first to reply