On Apr 29, 2008, at 8:49 AM, Johnathon Sanders wrote:
> There seems to be something wrong with the demo server. I can log in
> fine, but the queries just return a 20513. For example, try
>
http://demo.crt.realtors.org:6103/rets/search?SearchType=Property&Class=ResidentialProperty&Query=(LP=300000-) > Is there something i should be doing differently?
It looks like there are two things at work here. One, you missed a
required parameter as specified in Section 7.3 of the RETS spec. You
need to have a QueryType=DMQL2 in there.
The second problem is the error message, but its a non-issue after you
take care of the above. However, we should still change it to give a
better message. On the server, we're getting a NullPointerException
due to traving to evaluate the missing (required) QueryType header.
We should maybe test that first before trying to evaluate on it.
Outside of this, I also recommend doin
g queries as POST as many http
client and server libraries do DIGEST-AUTH wrong in the presence of
the query parameters on the URL.
Keith
--
Keith T. Garner - Managing Director - Center for REALTOR� Technology
kga...@realtors.org -
312-329-3294 -
http://blog.realtors.org/crt