WebService1 myWebservice = New WebService1();

myAnswerXmlDocument = myWebservice.myFunction(mysendXmlDocument);

I think you have to create an instance of it. It has been a few months since I used them, so sorry if I am wrong...