When I run wsclient and direct the output to a file, I get non XML stuff in the file - ideally, I would like it to be pure XML with the result. So I propose that we drop all printfs and restrict the output to XML result. Samisa... -- Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal)