.getMessageBoxURL().toASCIIString(),
this.engine.getMonitor().getConfiguration().getBrokerURL().toASCIIString(), this.notifier, this.topic,
this.engine.getConfiguration().getJcrComponentRegistry().getRegistry(),
portTypeQName.getLocalPart(),this.engine.getConfiguration());
} else {
invoker = new GenericInvoker(portTypeQName,
WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(wsNode
.getComponent().getWSDL()), node.getID(),
this.engine.getMonitor().getConfiguration()
.getMessageBoxURL().toASCIIString(),
gfacURLString, this.notifier);
}
} else {
if(this.gfacEmbeddedMode){
invoker = new EmbeddedGFacInvoker(portTypeQName,
WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(wsNode
.getComponent().getWSDL()), node.getID(),
this.configuration.getMessageBoxURL()
.toASCIIString(),
this.configuration.getBrokerURL().toASCIIString(), this.notifier, this.topic, configuration.getJcrComponentRegistry().getRegistry(),
portTypeQName.getLocalPart(),this.configuration);
}else{
invoker = new GenericInvoker(portTypeQName,
WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(wsNode
.getComponent().getWSDL()), node.getID(),
this.configuration.getMessageBoxURL()
.toASCIIString(), gfacURLString,
this.notifier);
}
}
}
} else {
if (wsdlLocation.endsWith("/")) {
wsdlLocation = wsdlLocation.substring(0,
wsdlLocation.length() - 1);
}
if (!wsdlLocation.endsWith("?wsdl")) {
wsdlLocation += "?wsdl";
}
invoker = new GenericInvoker(portTypeQName, wsdlLocation,
node.getID(), this.configuration.getMessageBoxURL()
.toString(), gfacURLString, this.notifier);
}
invoker.setup();
this.invokerMap.put(node, invoker);