Create a method on your web service page marked with the WebMethod method attribute. Have this method accept a string as an argument and your web service will accept a string. Like Ganesh said, how you consume this web service is separate. You can't post a textbox to a web service.
-
Peter