public AxisOperation findOperation(AxisService service, MessageContext messageContext) throws AxisFault { String localName = messageContext.getEnvelope().getSOAPBodyFirstElementLocalName(); AxisOperation axisOperation = null; if (localName != null){ OMNamespace ns = messageContext.getEnvelope().getSOAPBodyFirstElementNS(); QName qName = null; if (ns != null) { qName = new QName(ns.getNamespaceURI(), localName); axisOperation = service.getOperationByMessageElementQName(qName); } // this is required for services uses the RPC message receiver if (axisOperation == null){ QName operationName = new QName(localName); axisOperation = service.getOperation(operationName); } } else { // Doc/Lit/Bare no arg messages can have an empty body. // See if any operations were registered with an empty body axisOperation = service.getOperationByMessageElementQName(null); } return axisOperation; }
public AxisOperation findOperation(AxisService service, MessageContext messageContext) throws AxisFault { String localName = messageContext.getEnvelope().getSOAPBodyFirstElementLocalName(); AxisOperation axisOperation = null; if (localName != null){ OMNamespace ns = messageContext.getEnvelope().getSOAPBodyFirstElementNS(); QName qName = null; if (ns != null) { qName = new QName(ns.getNamespaceURI(), localName); axisOperation = service.getOperationByMessageElementQName(qName); } // this is required for services uses the RPC message receiver if (axisOperation == null){ QName operationName = new QName(localName); axisOperation = service.getOperation(operationName); } } else { // Doc/Lit/Bare no arg messages can have an empty body. // See if any operations were registered with an empty body axisOperation = service.getOperationByMessageElementQName(null); } return axisOperation; }
public AxisOperation findOperation(AxisService service, MessageContext messageContext) throws AxisFault { String localPart = messageContext.getEnvelope().getSOAPBodyFirstElementLocalName(); if (localPart == null) { // Doc/Lit/Bare no arg; see if an operation is registered. AxisOperation axisOperation = service.getOperationByMessageElementQName(null); return axisOperation; } if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) { log.debug(messageContext.getLogIDString() + " Checking for Operation using SOAP message body's first child's local name : " + localPart); } AxisOperation axisOperation = service.getOperation(new QName(localPart)); if (axisOperation == null) { OMNamespace ns = messageContext.getEnvelope().getSOAPBodyFirstElementNS(); if (ns != null) { QName qName = new QName(ns.getNamespaceURI(), localPart); axisOperation = service.getOperationByMessageElementQName(qName); } if (axisOperation == null) { QName qName = new QName(localPart); axisOperation = service.getOperation(qName); } } return axisOperation; }
public AxisOperation findOperation(AxisService service, MessageContext messageContext) throws AxisFault { String localPart = messageContext.getEnvelope().getSOAPBodyFirstElementLocalName(); if (localPart == null) { // Doc/Lit/Bare no arg; see if an operation is registered. AxisOperation axisOperation = service.getOperationByMessageElementQName(null); return axisOperation; } if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) { log.debug(messageContext.getLogIDString() + " Checking for Operation using SOAP message body's first child's local name : " + localPart); } AxisOperation axisOperation = service.getOperation(new QName(localPart)); if (axisOperation == null) { OMNamespace ns = messageContext.getEnvelope().getSOAPBodyFirstElementNS(); if (ns != null) { QName qName = new QName(ns.getNamespaceURI(), localPart); axisOperation = service.getOperationByMessageElementQName(qName); } if (axisOperation == null) { QName qName = new QName(localPart); axisOperation = service.getOperation(qName); } } return axisOperation; }
public AxisService findService(MessageContext messageContext) throws AxisFault { String serviceName; String localPart = messageContext.getEnvelope().getSOAPBodyFirstElementLocalName(); if (localPart != null) { OMNamespace ns = messageContext.getEnvelope().getSOAPBodyFirstElementNS(); if (ns != null) { String filePart = ns.getNamespaceURI(); if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) { log.debug(messageContext.getLogIDString() + " Checking for Service using SOAP message body's first child's namespace : " + filePart); } ConfigurationContext configurationContext = messageContext.getConfigurationContext(); String[] values = Utils.parseRequestURLForServiceAndOperation(filePart, configurationContext.getServiceContextPath()); if (values[0] != null) { serviceName = values[0]; AxisConfiguration registry = configurationContext.getAxisConfiguration(); return registry.getService(serviceName); } } } return null; }
public AxisService findService(MessageContext messageContext) throws AxisFault { String serviceName; String localPart = messageContext.getEnvelope().getSOAPBodyFirstElementLocalName(); if (localPart != null) { OMNamespace ns = messageContext.getEnvelope().getSOAPBodyFirstElementNS(); if (ns != null) { String filePart = ns.getNamespaceURI(); if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) { log.debug(messageContext.getLogIDString() + " Checking for Service using SOAP message body's first child's namespace : " + filePart); } ConfigurationContext configurationContext = messageContext.getConfigurationContext(); String[] values = Utils.parseRequestURLForServiceAndOperation(filePart, configurationContext.getServiceContextPath()); if (values[0] != null) { serviceName = values[0]; AxisConfiguration registry = configurationContext.getAxisConfiguration(); return registry.getService(serviceName); } } } return null; }
public AxisService findService(MessageContext messageContext) throws AxisFault { String serviceName = null; String localPart = messageContext.getEnvelope().getSOAPBodyFirstElementLocalName(); if (localPart != null) { OMNamespace ns = messageContext.getEnvelope().getSOAPBodyFirstElementNS(); if (ns != null) { String filePart = ns.getNamespaceURI(); if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) { log.debug(messageContext.getLogIDString() + "Checking for Service using SOAP message body's first child's namespace : " + filePart); } String[] values = Utils.parseRequestURLForServiceAndOperation(filePart, messageContext .getConfigurationContext().getServiceContextPath()); if (values[0] != null) { serviceName = values[0]; AxisConfiguration registry = messageContext.getConfigurationContext().getAxisConfiguration(); return registry.getService(serviceName); } } } return null; }
public AxisService findService(MessageContext messageContext) throws AxisFault { String serviceName = null; String localPart = messageContext.getEnvelope().getSOAPBodyFirstElementLocalName(); if (localPart != null) { OMNamespace ns = messageContext.getEnvelope().getSOAPBodyFirstElementNS(); if (ns != null) { String filePart = ns.getNamespaceURI(); if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) { log.debug(messageContext.getLogIDString() + "Checking for Service using SOAP message body's first child's namespace : " + filePart); } String[] values = Utils.parseRequestURLForServiceAndOperation(filePart, messageContext .getConfigurationContext().getServiceContextPath()); if (values[0] != null) { serviceName = values[0]; AxisConfiguration registry = messageContext.getConfigurationContext().getAxisConfiguration(); return registry.getService(serviceName); } } } return null; }
long dispatchTime = FrontControllerStats.requestDispatched(); try { watchTimeout( ows, env.getSOAPBodyFirstElementLocalName() ); ows.doSOAP( env, requestWrapper, response, multiParts, factory ); } finally {