public Object createService(ServiceRefType serviceRef, GerServiceRefType gerServiceRef,
Module module, ClassLoader cl, Class serviceInterfaceClass,
QName serviceQName, URI wsdlURI, Class serviceReferenceType,
Map<Class, PortComponentRefType> portComponentRefMap) throws DeploymentException {
registerConfigGBean(module);
EndpointInfoBuilder builder = new EndpointInfoBuilder(serviceInterfaceClass,
gerServiceRef, portComponentRefMap, module, cl,
wsdlURI, serviceQName);
builder.build();
wsdlURI = builder.getWsdlURI();
serviceQName = builder.getServiceQName();
Map<Object, EndpointInfo> seiInfoMap = builder.getEndpointInfo();
String handlerChainsXML = null;
try {
handlerChainsXML = getHandlerChainAsString(serviceRef.getHandlerChains());
} catch (IOException e) {