provider function changes for xml/soap response