* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
#if HAVE_XML2
{"http://www.loc.gov/zing/srw/", 0,
(Z_SOAP_fun) yaz_srw_codec},
#if HAVE_XML2
{"http://www.loc.gov/zing/srw/", 0,
(Z_SOAP_fun) yaz_srw_codec},
const char *p0 = hreq->path, *p1;
Z_SRW_PDU *sr = soap_package->u.generic->p;
const char *p0 = hreq->path, *p1;
Z_SRW_PDU *sr = soap_package->u.generic->p;
srw_bend_search(assoc, req, sr->u.request,
res->u.response, &http_code);
srw_bend_search(assoc, req, sr->u.request,
res->u.response, &http_code);
yaz_srw_get(assoc->encode, Z_SRW_explain_response);
sr->u.explain_request->database = db;
yaz_srw_get(assoc->encode, Z_SRW_explain_response);
sr->u.explain_request->database = db;
srw_bend_explain(assoc, req, sr->u.explain_request,
res->u.explain_response, &http_code);
if (http_code == 200)
srw_bend_explain(assoc, req, sr->u.explain_request,
res->u.explain_response, &http_code);
if (http_code == 200)
z_soap_error(assoc->encode, soap_package,
"SOAP-ENV:Client", "Bad method", 0);
}
z_soap_error(assoc->encode, soap_package,
"SOAP-ENV:Client", "Bad method", 0);
}
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,