protected Object getBindingPropertyFromOperation(String name, QName qName) { // Get the correct AxisBindingOperation coresponding to the AxisOperation AxisBindingOperation axisBindingOperation = null; if (axisBinding != null) { axisBindingOperation = (AxisBindingOperation) axisBinding.getChild(qName); } Object property = null; if (axisBindingOperation != null) { property = axisBindingOperation.getProperty(name); } if ((property == null) && (axisBinding != null)) { property = axisBinding.getProperty(name); } if (property == null) { property = WSDL20DefaultValueHolder.getDefaultValue(name); } return property; }
AxisBinding axisBinding = axisEndpoint.getBinding(); AxisBindingOperation axisBindingOperation = (AxisBindingOperation) axisBinding .getChild(axisOperation.getName()); if (axisBindingOperation == null) { String localName = axisOperation.getName()
protected Object getBindingPropertyFromMessageFault(String name, QName qName, String key) { Object property = null; // Get the correct AxisBindingOperation coresponding to the AxisOperation AxisBindingOperation axisBindingOperation = (AxisBindingOperation) axisBinding.getChild(qName); AxisBindingMessage axisBindingMessageFault = null; AxisBindingMessage axisBindingFault = null; if (axisBindingOperation != null) { axisBindingMessageFault = (AxisBindingMessage) axisBindingOperation.getFault(key); if (axisBindingMessageFault != null) { property = axisBindingMessageFault.getProperty(name); } if (property == null) { axisBindingFault = axisBinding.getFault(key); property = axisBindingFault.getProperty(name); } } if (property == null) { property = WSDL20DefaultValueHolder.getDefaultValue(name); } return property; }
AxisBinding axisBinding = axisEndpoint.getBinding(); AxisBindingOperation axisBindingOperation = (AxisBindingOperation) axisBinding .getChild(axisOperation.getName()); if (axisBindingOperation == null) { String localName = axisOperation.getName()
public static void dispatchAndVerify(MessageContext msgContext) throws AxisFault { String extendedURIBasedDispatcher = System.getProperty("ei.extendedURIBasedDispatcher"); if (extendedURIBasedDispatcher == null) { requestDispatcher.invoke(msgContext); } else { try { invokeMethod.invoke(dispatcherInstance, msgContext); } catch (IllegalAccessException | InvocationTargetException e) { throw new AxisFault(e.getMessage()); } } AxisService axisService = msgContext.getAxisService(); if (axisService != null) { httpLocationBasedDispatcher.invoke(msgContext); if (msgContext.getAxisOperation() == null) { requestURIOperationDispatcher.invoke(msgContext); } AxisOperation axisOperation; if ((axisOperation = msgContext.getAxisOperation()) != null) { AxisEndpoint axisEndpoint = (AxisEndpoint) msgContext.getProperty(WSDL2Constants.ENDPOINT_LOCAL_NAME); if (axisEndpoint != null) { AxisBindingOperation axisBindingOperation = (AxisBindingOperation) axisEndpoint .getBinding().getChild(axisOperation.getName()); msgContext.setProperty(Constants.AXIS_BINDING_OPERATION, axisBindingOperation); } msgContext.setAxisOperation(axisOperation); } } }
protected Object getBindingPropertyFromMessage(String name, QName qName, String key) { Object property = null; // Get the correct AxisBindingOperation coresponding to the AxisOperation AxisBindingOperation axisBindingOperation = null; if (axisBinding != null) { axisBindingOperation = (AxisBindingOperation) axisBinding.getChild(qName); } AxisBindingMessage axisBindingMessage = null; if (axisBindingOperation != null) { axisBindingMessage = (AxisBindingMessage) axisBindingOperation.getChild(key); if (axisBindingMessage != null) { property = axisBindingMessage.getProperty(name); } if (property == null) { property = axisBindingOperation.getProperty(name); } } if ((property == null) && (axisBinding != null)) { property = axisBinding.getProperty(name); } if (property == null) { property = WSDL20DefaultValueHolder.getDefaultValue(name); } return property; }
AxisBinding axisBinding = axisEndpoint.getBinding(); AxisBindingOperation axisBindingOperation = (AxisBindingOperation) axisBinding .getChild(axisOperation.getName());
AxisBinding axisBinding = axisEndpoint.getBinding(); AxisBindingOperation axisBindingOperation = (AxisBindingOperation) axisBinding .getChild(axisOperation.getName());
AxisBindingOperation axisBindingOperation = (AxisBindingOperation)axisBinding .getChild(axisOperation.getName()); String direction = axisMessage.getDirection(); AxisBindingMessage axisBindingMessage;
AxisBindingOperation axisBindingOperation = (AxisBindingOperation)axisBinding .getChild(axisOperation.getName()); String direction = axisMessage.getDirection(); AxisBindingMessage axisBindingMessage;
private static void dispatchAndVerify(MessageContext msgContext) throws AxisFault { RequestURIBasedDispatcher requestDispatcher = new RequestURIBasedDispatcher(); requestDispatcher.invoke(msgContext); AxisService axisService = msgContext.getAxisService(); if (axisService != null) { HTTPLocationBasedDispatcher httpLocationBasedDispatcher = new HTTPLocationBasedDispatcher(); httpLocationBasedDispatcher.invoke(msgContext); if (msgContext.getAxisOperation() == null) { RequestURIOperationDispatcher requestURIOperationDispatcher = new RequestURIOperationDispatcher(); requestURIOperationDispatcher.invoke(msgContext); } AxisOperation axisOperation; if ((axisOperation = msgContext.getAxisOperation()) != null) { AxisEndpoint axisEndpoint = (AxisEndpoint) msgContext.getProperty(WSDL2Constants.ENDPOINT_LOCAL_NAME); if (axisEndpoint != null) { AxisBindingOperation axisBindingOperation = (AxisBindingOperation) axisEndpoint .getBinding().getChild(axisOperation.getName()); msgContext.setProperty(Constants.AXIS_BINDING_OPERATION, axisBindingOperation); } msgContext.setAxisOperation(axisOperation); } } }
private static void dispatchAndVerify(MessageContext msgContext) throws AxisFault { RequestURIBasedDispatcher requestDispatcher = new RequestURIBasedDispatcher(); requestDispatcher.invoke(msgContext); AxisService axisService = msgContext.getAxisService(); if (axisService != null) { HTTPLocationBasedDispatcher httpLocationBasedDispatcher = new HTTPLocationBasedDispatcher(); httpLocationBasedDispatcher.invoke(msgContext); if (msgContext.getAxisOperation() == null) { RequestURIOperationDispatcher requestURIOperationDispatcher = new RequestURIOperationDispatcher(); requestURIOperationDispatcher.invoke(msgContext); } AxisOperation axisOperation; if ((axisOperation = msgContext.getAxisOperation()) != null) { AxisEndpoint axisEndpoint = (AxisEndpoint) msgContext.getProperty(WSDL2Constants.ENDPOINT_LOCAL_NAME); if (axisEndpoint != null) { AxisBindingOperation axisBindingOperation = (AxisBindingOperation) axisEndpoint .getBinding().getChild(axisOperation.getName()); msgContext.setProperty(Constants.AXIS_BINDING_OPERATION, axisBindingOperation); } msgContext.setAxisOperation(axisOperation); } } }