Here is a very good tut for beginner:
After read above tut, read this one then.
FOR .net Web Service with http authentication, there is more need to attention:
First, somebody write this one:
Then people make a lib for it:
If you choose to use old nusoap lib for PHP, then use this one: