cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
741
Views
0
Helpful
1
Replies

How to integrate web service(Soap type) in call studio with custom java code

Hello,

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.

1 Reply 1

Birendra Hansda
Level 1
Level 1

Hi Sreedhar

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 .

https://developer.cisco.com/site/customer-voice-portal/downloads/custom-elements/java-code-samples/index.gsp

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.

Regards

Birendra Hansda