private/xml/all_contactfromcustomer.xml

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
    <entity name="contact">
        <attribute name="fullname" />
        <attribute name="telephone1" />
        <attribute name="jobtitle" />
        <attribute name="contactid" />
        <attribute name="parentcustomerid" />
        <attribute name="address1_line1" />
        <attribute name="winvs_location" />
        <attribute name="mobilephone" />
        <attribute name="gendercode" />
        <attribute name="emailaddress1" />
        <order attribute="fullname" descending="false" />
        <link-entity name="mw_customer" from="mw_maincontactid" to="contactid" alias="aa">
            <filter type="and">
            </filter>
        </link-entity>
    </entity>
</fetch>