GpelActivity next = iterator.next();
if (isSequence(next) || isFlow(next)) {
evaluateFlowAndSequenceForAddingInits(wsdls, workflowWSDL, next, list);
} else if (isInvoke(next) || isReply(next)) {
if (last == null || !isAssign(last)) {
throw new XBayaRuntimeException("Assign activity not found for the Invoke "
+ next.xmlStringPretty());
}
GpelAssign assign = (GpelAssign) last;
XmlNamespace ns = assign.xml().getNamespace();
XmlElement container = XmlConstants.BUILDER.parseFragmentFromString("<dummyelement></dummyelement>");
String portTypeattr = next.xml().attributeValue(PORT_TYPE_STR);
String operation = next.xml().attributeValue(OPERATION_STR);
if (null == portTypeattr || "".equals(portTypeattr)) {
throw new XBayaRuntimeException("No Porttype found for Invoke:" + next);
}
String portTypeName = portTypeattr.substring(portTypeattr.indexOf(':') + 1);
String messagePartName = null;
if (isInvoke(next)) {
Iterator<String> keys = wsdls.keySet().iterator();