I have tried to invoke web service through call studio element facing null pointer exception while updating the updateApp.bat. I tried to debug the issue, but couldn't find much information. Then I decided to configure web service element through java manually. But I need any sample java code to consume web service through Java code.
You will need to create a new custom action element and implement your java code to consume webservices in the doAction subroutine.
For more information on custom elements, you can refer to the CVP programming guide .
The sample custom elements can be downloaded from developer.cisco.com .
You can then publish the data as ElementData or SessionData and use it in the call flow.
To consume the webservices, you will have to refer to the documents related to the framework that you are using.
I have used Axis1.4 and Axis2 in my CVP projects and it works like charm.