Writing code to invoke a web service is usually straightforward, but before you begin, you need to answer several important questions about the particular web service you want to invoke. "Invoking Web Services" by Sharon Hoffman can get you started.