Integer serviceTimestep = null;
InvocationEntity serviceEntity = notifier.createEntity(
serviceWorkflowID, serviceServiceID, serviceNodeID,
serviceTimestep);
XmlElement inputBody = (XmlElement) ((XmlElement) inputMessage)
.getParent();
XmlObject inputBodyObject = XBeansUtil.xmlElementToXmlObject(inputBody);
InvocationContext context = notifier.invokingService(myEntity,
serviceEntity, null, inputBodyObject);
if (outputMap != null) {
WSIFMessage outputMessage = operation.createOutputMessage();
Soap11Util.getInstance()
.wrapBodyContent((XmlElement) outputMessage);
for (String key : outputMap.keySet()) {
String value = outputMap.get(key);
outputMessage.setObjectPart(key, value);
}
XmlElement outputBody = (XmlElement) ((XmlElement) outputMessage)
.getParent();
XmlObject outputBodyObject = XBeansUtil
.xmlElementToXmlObject(outputBody);
notifier.receivedResult(context, null, outputBodyObject);