uCosminexus Service Platform, Basic Development Guide
In order to invoke the method of the synchronous reception (Web Services), use the created service class to generate proxy class objects. The procedures of generating proxy class objects are described below:
CSCMsgSyncServiceDeliveryWSImplService service = new CSCMsgSyncServiceDeliveryWSImplService(); |
CSCMsgSyncServiceDeliveryWSImpl ws = service.getCSCMsgSyncServiceDeliveryWSImpl(); |
String result = ws.invokeXML( // Method invocation serviceName, // Service name clientID, // Client correlation ID requestFormatID, // Request format ID responseFormatID, // Response format ID operationName, // Operation name userData); // User message |
byte[] resultBinary = ws.invokeBinary( // Method invocation serviceName, // Service name clientID, // Client correlation ID requestFormatID, // Request format ID responseFormatID, // Response format ID operationName, // Operation name userDataBinary.length, // User message length userDataBinary); // User message |
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.