So I'm trying to use PHP to search customer records with a specific value for a custom field. All the examples that I have found do not work. For example this one errors on <serachRecord line with messag "The prefix "xsi" for attribute "xsi:type" associated with an element type "searchRecord" is not bound."
<soap-env:Body>
<search xmlns="urn:messages_2020_1.platform.webservices.netsuite.com">
<searchRecord xsi:type="q1:ContactSearch"
xmlns:q1="urn:relationships_2020_1.lists.webservices.netsuite.com">
<ns4:basic xsi:type="ns5:ContactSearchBasic"
xmlns:ns5="urn:common_2020_1.platform.webservices.netsuite.com">
<ns5:email operator="is" xsi:type="ns6:SearchStringField"
xmlns:ns6="urn:core_2020_1.platform.webservices.netsuite.com">
<ns6:searchValue xsi:type="xsd:string">contact@email.com</ns6:searchValue>
</ns5:email>
</ns4:basic>
<ns4:customerJoin xsi:type="ns7:CustomerSearchBasic"
xmlns:ns7="urn:common_2020_1.platform.webservices.netsuite.com">
<ns7:entityId operator="is" xsi:type="ns8:SearchStringField"
xmlns:ns8="urn:core_2020_1.platform.webservices.netsuite.com">
<ns8:searchValue xsi:type="xsd:string">My Customer</ns8:searchValue>
</ns7:entityId>
</ns4:customerJoin>
</searchRecord>
</search>
</soap-env:Body>
any idea what I'm doing wrong?