Revision 3903 branches/v05/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/srw/drivers/SRWMessages.java
SRWMessages.java | ||
---|---|---|
44 | 44 |
* |
45 | 45 |
* $Id$ |
46 | 46 |
* $Log$ |
47 |
* Revision 1.4 2006-01-12 13:52:24 jorpiell |
|
47 |
* Revision 1.4.2.1 2006-02-02 13:44:59 jorpiell |
|
48 |
* Se ha tenido que cambiar el driver SRW para acceder al servidor de cat?logo de la IDEE. Adem?s se ha creado un nuevo filtro para este servidor |
|
49 |
* |
|
50 |
* Revision 1.4 2006/01/12 13:52:24 jorpiell |
|
48 | 51 |
* Se ha a?adido un boton close en las dos pantallas de connect. Adem?s se ha cambiado el comportamiento de las ventanas para adaptarlo a la nueva forma de buscar multihilo |
49 | 52 |
* |
50 | 53 |
* Revision 1.3 2006/01/10 17:23:23 jorpiell |
... | ... | |
59 | 62 |
* |
60 | 63 |
*/ |
61 | 64 |
package es.gva.cit.catalogClient.srw.drivers; |
65 |
import es.gva.cit.catalogClient.csw.filters.CSWFilter; |
|
62 | 66 |
import es.gva.cit.catalogClient.drivers.IProtocolMessages; |
63 | 67 |
import es.gva.cit.catalogClient.protocols.SOAPProtocol; |
64 | 68 |
import es.gva.cit.catalogClient.querys.Query; |
69 |
import es.gva.cit.catalogClient.schemas.Schemas; |
|
70 |
import es.gva.cit.catalogClient.srw.filters.IDEESRWFilter; |
|
65 | 71 |
import es.gva.cit.catalogClient.srw.filters.SRWFilter; |
66 | 72 |
import org.apache.commons.httpclient.NameValuePair; |
67 | 73 |
|
... | ... | |
202 | 208 |
* @param firstRecord |
203 | 209 |
*/ |
204 | 210 |
public String getSOAPRecords(Query query, int firstRecord) { |
205 |
|
|
211 |
|
|
206 | 212 |
String soapMessage = |
207 | 213 |
"<srw:searchRetrieveRequest xmlns:srw=\"http://www.loc.gov/zing/srw/\">" + |
208 |
"<srw:query><![CDATA[" + new SRWFilter().getQuery(query,null) + "]]></srw:query>" + |
|
214 |
"<srw:query><![CDATA[" + new IDEESRWFilter().getQuery(query,null) + "]]></srw:query>" +
|
|
209 | 215 |
"<srw:sortKeys xsi:nil=\"true\"/>" + "<srw:startRecord>" + |
210 | 216 |
driver.getStartPosition() + "</srw:startRecord>" + "<srw:maximumRecords>" + |
211 | 217 |
driver.getMaxRecords() + "</srw:maximumRecords>" + "<srw:recordPacking>" + |
Also available in: Unified diff