Hi.
You can use Java code in your script, using the Set or Do steps (or, actually, in any script step that accepts an Expression).
If by "web services" you mean SOAP, take a look at the documents I have written:
https://supportforums.cisco.com/docs/DOC-23899
https://supportforums.cisco.com/docs/DOC-26957
Or, take a look at this thread:
https://supportforums.cisco.com/thread/2221893?tstart=30
Can you give me more details about that web service.
Alternatively, I can do the hard work for you. Take a look at my profile for my contact details.
G.