navraag = qclient.factory.create('search') print 'Navraag (search): %s' % navraag ========================================== (search){ queryParameters = (queryParameters){ databaseID = "WOS" editions[] = <empty> queryLanguage = "en" symbolicTimeSpan = None timeSpan = (timeSpan){ begin = None end = None } userQuery = "CU = *South Africa* and PY = 1945" } retrieveParameters = (retrieveParameters){ collectionFields[] = <empty> count = 5 fields[] = <empty> firstRecord = 1 options[] = <empty> } ================================================
This seems correct but look at the SOAP request sent to the server where I have indicated the troublesome lines with "Problem -->" which should not be there. How do I solve this? =================================== qclient.service.search(navraag) ERROR:suds.client:<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://woksearch.cxf.wokmws.thomsonreuters.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/%22%3E SOAP-ENV:Header/ ns0:Body ns1:search Problem --> <queryParameters> <queryParameters> <databaseID>WOS</databaseID> <queryLanguage>en</queryLanguage> <userQuery>CU = *South Africa* and PY = 1945</userQuery> </queryParameters> <retrieveParameters> <count>5</count> <firstRecord>1</firstRecord> </retrieveParameters> Problem --> </queryParameters> </ns1:search> </ns0:Body> </SOAP-ENV:Envelope> ======================================
Help will be appreciated.
Regards Johann