private AxisService createAxisService(EntryPointContext entryPointContext, WebServiceBinding wsBinding) throws AxisFault {
String entryPointName = entryPointContext.getName();
Definition definition = wsBinding.getWSDLDefinition();
WebServicePortMetaData wsdlPortInfo = new WebServicePortMetaData(definition, wsBinding.getWSDLPort(), null, false);
// AxisServiceGroup serviceGroup = new AxisServiceGroup(axisConfig);
// serviceGroup.setServiceGroupName(wsdlPortInfo.getServiceName().getLocalPart());
// axisConfig.addServiceGroup(serviceGroup);
WSDL2AxisServiceBuilder builder = new WSDL2AxisServiceBuilder(definition, wsdlPortInfo.getServiceName(), wsdlPortInfo.getPort().getName());
builder.setServerSide(true);
AxisService axisService = builder.populateService();
axisService.setName(entryPointName);
// axisService.setParent(serviceGroup);
axisService.setServiceDescription("Tuscany configured AxisService for EntryPoint: '" + entryPointName + '\'');
TypeHelper typeHelper = wsBinding.getTypeHelper();
ClassLoader cl = wsBinding.getResourceLoader().getClassLoader();
Class<?> serviceInterface = entryPointContext.getServiceInterface();
PortType wsdlPortType = wsdlPortInfo.getPortType();
for (Object o : wsdlPortType.getOperations()) {
Operation wsdlOperation = (Operation) o;
String operationName = wsdlOperation.getName();
QName operationQN = new QName(definition.getTargetNamespace(), operationName);
Object entryPointProxy = entryPointContext.getInstance(null);
WebServiceOperationMetaData omd = wsdlPortInfo.getOperationMetaData(operationName);
QName responseTypeQN = omd.getOutputPart(0).getElementName();
Method operationMethod = getMethod(serviceInterface, operationName);
SDODataBinding dataBinding = new SDODataBinding(cl, typeHelper, responseTypeQN, omd.isDocLitWrapped());
WebServiceEntryPointInOutSyncMessageReceiver msgrec = new WebServiceEntryPointInOutSyncMessageReceiver(entryPointProxy, operationMethod,