mmalik15
asked on
how to find record count via web service in c#
From the webserivce http://www.nhs24.com/nhs24_supportgroups.asmx?op=GetGroupById if you enter integer values between 1-6000 in nGroupId field. we get a valid xml record but if we try an integer above 6000 i.e. 6001 or more we get invalid response like below
<groupdetails>
<group>
<errorCode>1</errorCode>
<errorMessage>No results found</errorMessage>
</group>
</groupdetails>
How can we possibly find the valid values for this field or record count
<groupdetails>
<group>
<errorCode>1</errorCode>
<errorMessage>No results found</errorMessage>
</group>
</groupdetails>
How can we possibly find the valid values for this field or record count
ASKER
thanks for the comment.
Are you saying that there is no way to find the record count from the client end before starting the loop to retrieve values?
Are you saying that there is no way to find the record count from the client end before starting the loop to retrieve values?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This has nothing related to sending valid values. i.e more than a certain number(6000 in this case).
If the no. of groups present in the Database is 6000, you will get an such a result when you enter a value more than 6000.