https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43674 --- Comment #3 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 207088 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207088&action=edit Bug 43674: Wrap ISO 18626 messages in the ISO18626Message envelope ISO 18626 requires every message to be wrapped in an ISO18626Message element, in the ISO 18626 namespace, with a version attribute. Koha sent and expected the bare message, so schema-conformant partners rejected it. Koha now wraps outgoing messages and unwraps incoming ones. Unwrapped messages are still accepted. Test plan: 1) Apply patch and restart_all 2) Enable the ILLModule system preference 3) Run: curl -s -X POST http://localhost:8081/api/v1/public/ill/iso18626 \ -H "Content-Type: application/xml" \ -d '<ISO18626Message xmlns="http://illtransactions.org/2013/iso18626" xmlns:ill="http://illtransactions.org/2013/iso18626" ill:version="1.2"><request><header><requestingAgencyRequestId>1</requestingAgencyRequestId></header></request></ISO18626Message>' 4) Note the response is wrapped in <ISO18626Message ... ill:version="1.2"> (the BadlyFormedMessage errors are expected, the request above is deliberately minimal) 5) prove t/db_dependent/Koha/ILL/ISO18626.t t/db_dependent/api/v1/iso18626/request.t Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.