npr->u.databaseRecord->u.octet_aligned->buf = (unsigned char*)
sru_rec->recordData_buf;
npr->u.databaseRecord->u.octet_aligned->len =
- npr->u.databaseRecord->u.octet_aligned->size =
sru_rec->recordData_len;
-
+#if OCT_SIZE
+ npr->u.databaseRecord->u.octet_aligned->size =
+ sru_rec->recordData_len;
+#endif
if (sru_rec->recordSchema
&& !strcmp(sru_rec->recordSchema,
"info:srw/schema/1/diagnostics-v1.1"))
ODR o = c->odr_in;
Z_SOAP_Handler soap_handlers[3] = {
{YAZ_XMLNS_SRU_v1_response, 0, (Z_SOAP_fun) yaz_srw_codec},
- {YAZ_XMLNS_SRU_v2_response, 0, (Z_SOAP_fun) yaz_srw_codec},
+ {YAZ_XMLNS_SRU_v2_mask, 0, (Z_SOAP_fun) yaz_srw_codec},
{0, 0, 0}
};
ret = z_soap_codec(o, &soap_package,