A good startingpoint would be to use svcutil.exe (it has a help option and google explains a lot). It will generate a class, from which you can fill the properties. After that you can use the xmlformatter to generate and XML file from the class