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

Custom Java Web Service Integration with UCCX 9.0.2

dbonagir
Cisco Employee
Cisco Employee

Hello,

I am trying to write some Java code that will interact with web services that my ERP has provided me using UCCX. I have uploaded the Web Service Java code to UCCX and did all of the necessary restarts.

Here is what I have in my code:

{ org.tempuri.IIVRIntegrationService iivrintegrationservice = (new org.tempuri.IVRIntegrationService()).getBasicHttpBindingIIVRIntegrationService();
int permitID = 24586;
org.datacontract.schemas._2004._07.newworld_logos_cd_entities.ValidatePermitOutput output = iivrintegrationservice.validatePermit(permitID);
org.datacontract.schemas._2004._07.newworld_logos_cd_entities.ValidatePermitOutputReturnStatusEnum element = output.getReturnStatus();
String permit_status = element.value();
// System.out.println(permit_status);
return permit_status;

}

I used this article as a guide.

The error I am getting when running reactive script is:

Error unmarshaling return; nested exception is: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.xml.internal.ws.util.localization.LocalizableMessage

I have placed this code in a Set step to a string variable.

0 Replies 0