.newFragment(GpelAssignCopyFrom.LITERAL_EL);
literalElement.addChild(value);
from.setLiteral(literalElement);
} else if (fromNode instanceof WSNode) {
String fromID = fromNode.getID();
WSComponent fromWsdlComponent = (WSComponent) fromNode
.getComponent();
WSComponentPort fromWsdlPort = (WSComponentPort) fromPort
.getComponentPort();
from.setVariable(fromID + OUTPUT_SUFFIX);
from.setPart(fromWsdlComponent.getOutputPartName());
if (fromWsdlPort.isSchemaUsed()) {
String typesTargetNamespace = fromWsdlPort.getTargetNamespace();
XmlNamespace namespace = XMLUtil.declareNamespaceIfNecessary(
fromID.toLowerCase() + TYPENS_SUFFIX,
typesTargetNamespace, false, this.process.xml());
from.setQuery("/" + namespace.getPrefix() + ":"
+ fromWsdlComponent.getOutputTypeName() + "/"
+ fromWsdlPort.getName());
} else {
// No query needed?
}
} else if (fromNode instanceof ForEachNode) {