[Rets-dev] search problems on rapattoni server
Joe Marino
joey.da3rd at gmail.com
Thu Mar 29 17:17:14 CDT 2007
Hello all,
I am somewhat new to RETS and relatively new to software development. I am
building a custom client for a my customer (My Dad). It took me a while and
lots of help from Keith but I finally able to login!! I am having a problem
searching on a rapattoni server. I understand that there are search
requirements for this server in which I have access to only limited search
fields and only in conjunction with certain fields. However, whenever I try
to perform a legal search, I get an error saying I do not have access to a
certain field.
`Search': Unauthorized query. The query could not be executed because
supplied login does not have access to the SearchPrice field.
(ArgumentError)
I've been reading through the documentation and I believe the problem lies
in my understanding of the RETS specification. When I login and request
capability urls, I am given a search but not an action URL. In section
4.10of RETS
1.7 it states: "A URL (action-url) on which the client MUST perform a GET
immediately after login.... A server is not required to supply an action
URL." My client does not perform a GET after logging in because I am not
supplied one. Is this something I need to worry about?
I also noticed the search URL is different than the login URL, which makes
sense, but am I going to have to somehow change the session (using librets
btw) over to this search URL before querying the server in order to perform
a search?
When I called Rapattoni RETS support for assistance, because I believed I
wasn't given the necessary permissions, he mentioned something about a
cookie that I am not receiving. Am I to request this cookie separate from
the login transaction? Maybe this action is what he was talking about? Has
anyone else experienced this problem?
Any help would be greatly appreciated.
Much thanks,
--
Joe W. Marino III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rets.org/pipermail/rets-dev/attachments/20070329/17194149/attachment.html
More information about the Rets-dev
mailing list