trulia-java-rets-client
trulia-java-rets-client copied to clipboard
Trulia Java RETS Client is library used to access data on RETS compliant servers.
Hi There, I am getting an exception saying "org.realtors.rets.client.InvalidReplyCodeException: 20203 (Miscellaneous search error) Invalid Query Type.", when running the provided sample to do a search. I am using RETS 1.7....
What is the id's used in the given example? I tried all ID's, and the issue persists. Could you please let me know, what is the ID used
when i run this example,i got "Unauthorized Query at org.realtors.rets.client.InvalidReplyCodeHandler$1.invalidRetsReplyCode(InvalidReplyCodeHandler.java:6) at org.realtors.rets.client.SearchResultHandler.startElement(SearchResultHandler.java:78) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:766) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(XMLDocumentScannerImpl.java:1289) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3132) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:852) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)...
The example code from the homepage to get an object is broken for me. req.addObject(id, "*"); // returns a list of the files but when I copy the InputStream to...
Do you have any examples using this client with xml as the response? Thanks.