Provider webservice with xmlstring as input

I need to create provider webservice with xml string as input .
What can be the best approach for me to follow for this .
please advice