To export N works in a single request, whether via web services or EOD, companies must use an XML file structured in accordance with the EOD method described in section 5.7, as shown below:
<?xml version=”1.0″ encoding=”UTF-8″?>
<EXPORT_CRITERIA>
<QUERY STD_SOCIETY=”314″>
<REFERENCE>
<REF_IDA>145220148353</REF_IDA>
</REFERENCE>
</QUERY>
<QUERY STD_SOCIETY=”314″>
<REFERENCE>
<REF_IDA>145220148005</REF_IDA>
</REFERENCE>
</QUERY>
</EXPORT_CRITERIA>
Currently, some companies use the simplesearch method described in section 5.5 of the documentation. Although this method is designed to search for a single work, it is often misused by calling it N times to retrieve N works. This practice has become widespread over time, but it is strongly discouraged.
<!—In this example, the user requests for a work which IDA reference is: 314188000007, using the valid token bfd5d8b15d4e41ad12d11cc0b5e6781f369607225131b9ce9aa0597a18dc770c75b0126e20c7b2baa6c5ce774dcee8c7964130a2d12d0af6e7fd82cf77cddf3179a231ea80114182318 –>
<?xml version=”1.0″ encoding=”UTF-8″?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:ns1=”urn:idaWS” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/” SOAP-ENV:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/”>
<SOAP-ENV:Body>
<ns1:simplesearch>
<token xsi:type=”xsd:string”>bfd5d8b15d4e41ad12d11cc0b5e6781f369607225131b9ce9aa0597a18dc770c75b0126e20c7b2baa6c5ce774dcee8c7964130a2d12d0af6e7fd82cf77cddf3179a231ea80114182318</token>
<refIda xsi:type=”xsd:string”>314188000007</refIda>
</ns1:simplesearch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
It is recommended to use the EOD method for bulk processing, particularly for performance reasons.