public OMElement buildServiceDescription(InputStream in, ConfigurationContext configCtx) throws XMLStreamException { DescriptionBuilder builder = new DescriptionBuilder(in, configCtx); OMElement rootElement = builder.buildOM(); return rootElement; }
public MessageReceiver run() throws org.apache.axis2.deployment.DeploymentException { return loadMessageReceiver( Thread.currentThread().getContextClassLoader(), tempMsgReceiver); } });
protected HandlerDescription processHandler(OMElement handler_element, ParameterInclude parent) throws DeploymentException { return processHandler(handler_element, parent, null); } /**
if (entry.getName().equalsIgnoreCase(SERVICES_XML)) { axisServiceGroup.setServiceGroupName( DescriptionBuilder.getShortFileName(currentFile.getName())); return buildServiceGroup(zin, currentFile, axisServiceGroup, wsdlServices, configCtx);
rules.setPhaseName(value); } else if (TAG_PHASE_FIRST.equals(name)) { String boolval = getValue(value); String boolval = getValue(value); processParameters(parameters, handler, parent); } catch (AxisFault axisFault) { throw new DeploymentException(axisFault);
Class formatterClass = null; try { formatterClass = findAndValidateSelectorClass(className, DeploymentErrorMsgs.ERROR_LOADING_MESSAGE_FORMATTER); formatterObject = (MessageFormatter) formatterClass.newInstance();
String serviceName = DescriptionBuilder.getShortFileName(currentFile.getName()); if (serviceName != null) { axisService = wsdlServices.get(serviceName); DescriptionBuilder.getShortFileName(currentFile.getName()));
rules.setPhaseName(value); } else if (TAG_PHASE_FIRST.equals(name)) { String boolval = getValue(value); String boolval = getValue(value); processParameters(parameters, handler, parent); } catch (AxisFault axisFault) { throw new DeploymentException(axisFault);
Builder builderObject; try { builderClass = findAndValidateSelectorClass(className, DeploymentErrorMsgs.ERROR_LOADING_MESSAGE_BUILDER); builderObject = (Builder) builderClass.newInstance();
public OMElement buildServiceDescription(InputStream in, ConfigurationContext configCtx) throws XMLStreamException { DescriptionBuilder builder = new DescriptionBuilder(in, configCtx); OMElement rootElement = builder.buildOM(); return rootElement; }
String serviceName = DescriptionBuilder.getShortFileName(currentFile.getName()); if (serviceName != null) { axisService = wsdlServices.get(serviceName); DescriptionBuilder.getShortFileName(currentFile.getName()));
public MessageReceiver run() throws org.apache.axis2.deployment.DeploymentException { return loadMessageReceiver( Thread.currentThread().getContextClassLoader(), tempMsgReceiver); } });
protected HandlerDescription processHandler(OMElement handler_element, ParameterInclude parent) throws DeploymentException { return processHandler(handler_element, parent, null); } /**
Builder builderObject; try { builderClass = findAndValidateSelectorClass(className, DeploymentErrorMsgs.ERROR_LOADING_MESSAGE_BUILDER); builderObject = (Builder) builderClass.newInstance();
servicesURL.toString())); DescriptionBuilder builder = new DescriptionBuilder(servicexmlStream, configContext); OMElement rootElement = builder.buildOM(); String elementName = rootElement.getLocalName(); if (TAG_SERVICE.equals(elementName)) {
if (entry.getName().equalsIgnoreCase(SERVICES_XML)) { axisServiceGroup.setServiceGroupName( DescriptionBuilder.getShortFileName(currentFile.getName())); return buildServiceGroup(zin, currentFile, axisServiceGroup, wsdlServices, configCtx);
/** * Processes default message receivers specified either in axis2.xml or * services.xml. * */ protected HashMap<String,MessageReceiver> processMessageReceivers(ClassLoader loader, OMElement element) throws DeploymentException { HashMap<String,MessageReceiver> meps = new HashMap<String,MessageReceiver>(); Iterator iterator = element.getChildrenWithName(new QName( TAG_MESSAGE_RECEIVER)); while (iterator.hasNext()) { OMElement receiverElement = (OMElement) iterator.next(); MessageReceiver receiver = loadMessageReceiver(loader, receiverElement); OMAttribute mepAtt = receiverElement .getAttribute(new QName(TAG_MEP)); meps.put(mepAtt.getAttributeValue(), receiver); } return meps; }
/** * Processes flow elements in services.xml . * * @param flowelement <code>OMElement</code> * @return Returns Flow. * @throws DeploymentException <code>DeploymentException</code> */ protected Flow processFlow(OMElement flowelement, ParameterInclude parent) throws DeploymentException { Flow flow = new Flow(); if (flowelement == null) { return flow; } Iterator handlers = flowelement.getChildrenWithName(new QName( TAG_HANDLER)); while (handlers.hasNext()) { OMElement handlerElement = (OMElement) handlers.next(); flow.addHandler(processHandler(handlerElement, parent)); } return flow; }
Class formatterClass = null; try { formatterClass = findAndValidateSelectorClass(className, DeploymentErrorMsgs.ERROR_LOADING_MESSAGE_FORMATTER); formatterObject = (MessageFormatter) formatterClass.newInstance();
serviceGroup.setServiceGroupClassLoader(loader); InputStream inputStream = url.openStream(); DescriptionBuilder builder = new DescriptionBuilder(inputStream, configCtx); OMElement rootElement = builder.buildOM(); String elementName = rootElement.getLocalName(); Dictionary headers = bundle.getHeaders();