Can somebody please help us to know how to call an ICS Integration from Cloud ERP using groovy scrip
Hi
We are trying to call an ICS Integration service on submission of an order in Cloud ERP, using groovy scripts.
Below is the script we are using.
//Import classes for validation exceptions and messages from Oracle Trading Community Architecture.
import oracle.apps.scm.doo.common.extensions.ValidationException;
//Import classes for validation exceptions and messages from Oracle Trading Community Architecture.
import oracle.apps.scm.doo.common.extensions.ValidationException;
def SourceTransactionNumber = header.getAttribute("SourceTransactionNumber");
callICSWS(SourceTransactionNumber);
void callICSWS (String SourceTransactionNumber){
def serviceInvoker = context.getServiceInvoker();
def SourceTransactionSystem = header.getAttribute("SourceTransactionSystem");
def SourceTransactionIdentifier = header.getAttribute("SourceTransactionIdentifier");
String payLoad= new String("<soapenv:Envelope xmlns:even=\"