[libRETS-users] Strange Error
Bill Linker
blinker at ziprealty.com
Wed Dec 19 12:16:55 CST 2007
It looks like field 290 is the status field which is usually a lookup.
For a lookup, you use a different operator than "=". Instead use "=|".
Bill Linker
-----Original Message-----
From: librets-users-bounces at crt.realtors.org
[mailto:librets-users-bounces at crt.realtors.org] On Behalf Of Russ Perna
Sent: Wednesday, December 19, 2007 10:06 AM
To: 'For discussion and help for and by the users of the libRETS
C++library'
Subject: Re: [libRETS-users] Strange Error
Maybe it could be something else then.
This is the request from RETS Connector:
URI:
/Search.asmx/Search?SearchType=Property&Class=1&Select=217&Format=COMPAC
T&Qu
eryType=DMQL2&Query=(290=%7CACT),(40=%7C440)
This is the request from libRets:
URI:
/Search.asmx/Search?Class=1&Count=1&Format=COMPACT&Query=(290%3dACT),(40
%3d4
40)&QueryType=DMQL2&SearchType=Property&Select=217&StandardNames=0
Does this tell you anything that I might be missing?
Thanks,
Russ
-----Original Message-----
From: librets-users-bounces at crt.realtors.org
[mailto:librets-users-bounces at crt.realtors.org] On Behalf Of Keith T.
Garner
Sent: Wednesday, December 19, 2007 12:59 PM
To: For discussion and help for and by the users of the libRETS C++
library
Subject: Re: [libRETS-users] Strange Error
On 12/19/07 11:07 AM, Russ Perna wrote:
> It looks like it is changing the "=" in my query to "%3d". How would I
> make it so that it didn't change the equal sign?
You need to do that to properly encode the query in URL encoding. There
isn't a way to turn that off, as it breaks HTTP query/posts, if I
remember
correctly.
That's an interesting bug on their server. We really don't have a work
around for that without recompiling libRETS. I'd complain to the
vendor.
Maybe Mark Klien and I will think about putting in a workaround for
this.
"Look at RetsSession, why does it have 50,000 methods? Work arounds for
each RETS server!" I'm really trying to avoid that.
Keith
--
Keith T. Garner - Managing Director - Center for REALTORR Technology
kgarner at realtors.org - 312-329-3294 - http://blog.realtors.org/crt
_______________________________________________
libRETS-users mailing list
libRETS-users at crt.realtors.org
http://mail.crt.realtors.org/mailman/listinfo/librets-users
_______________________________________________
libRETS-users mailing list
libRETS-users at crt.realtors.org
http://mail.crt.realtors.org/mailman/listinfo/librets-users
More information about the libRETS-users
mailing list