String MEP = axisOperation.getMessageExchangePattern(); if (input) { if (WSDLUtil.isInputPresentForMEP(MEP)) { if (WSDLUtil.isOutputPresentForMEP(MEP)) { headerparamList = (ArrayList) getBindingPropertyFromMessage( WSDL2Constants.ATTR_WSOAP_HEADER, bindingOperation.getName(),
QName partQName = WSDLUtil.getPartQName(opName, qnameSuffix, partName);
public Object run() throws WSDLException { return WSDLUtil.newWSDLReaderWithPopulatedExtensionRegistry(); } });
AxisOperation op = (AxisOperation)operations.next(); if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) { AxisMessage message = op.getMessage( WSDLConstants.MESSAGE_LABEL_IN_VALUE); WSDLUtil.getPartQName(op.getName().getLocalPart(), WSDLConstants.INPUT_PART_QNAME_SUFFIX, elementProperty.elementName().getLocalPart()); if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern())) { AxisMessage message = op.getMessage( WSDLConstants.MESSAGE_LABEL_OUT_VALUE); WSDLUtil.getPartQName(op.getName().getLocalPart(), WSDLConstants.OUTPUT_PART_QNAME_SUFFIX, elementProperty.elementName().getLocalPart());
httpLocationMap.put(WSDLUtil.getConstantFromHTTPLocation(httpLocation, httpMethod), axisBindingOperation.getAxisOperation()); WSDLUtil.isInputPresentForMEP(axisOperation.getMessageExchangePattern())) { AxisBindingMessage axisBindingInMessage = new AxisBindingMessage(); axisBindingInMessage.setParent(axisBindingOperation); WSDLUtil.isOutputPresentForMEP(axisOperation.getMessageExchangePattern())) { AxisBindingMessage axisBindingOutMessage = new AxisBindingMessage(); axisBindingOutMessage.setParent(axisBindingOperation); WSDLUtil.isOutputPresentForMEP(axisOperation.getMessageExchangePattern())) { WSDLUtil.isInputPresentForMEP(axisOperation.getMessageExchangePattern())) {
if (WSDLUtil.isOutputPresentForMEP(mep)) {
String mep = operation.getMessageExchangePattern(); if (WSDLUtil.isInputPresentForMEP(mep)) {
/** * This will be called to configure the WSDLReader instance. */ public void configureReaderInstance(WSDLReader reader) throws WSDLException { // prevent the WSDLReader instance from using the System.out // stream for messages and logging reader.setFeature(com.ibm.wsdl.Constants.FEATURE_VERBOSE, false); WSDLFactory factory = WSDLFactory.newInstance(); ExtensionRegistry extRegistry = reader.getExtensionRegistry(); if (extRegistry == null) { extRegistry = factory.newPopulatedExtensionRegistry(); } WSDLUtil.registerDefaultExtensionAttributeTypes(extRegistry); reader.setExtensionRegistry(extRegistry); }
AxisOperation op = operations.next(); if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) { AxisMessage message = op.getMessage( WSDLConstants.MESSAGE_LABEL_IN_VALUE); for (Property elementProperty : mapping.getWrapperStyleDrilldown()) { QName partQName = WSDLUtil.getPartQName(op.getName().getLocalPart(), WSDLConstants.INPUT_PART_QNAME_SUFFIX, elementProperty.elementName().getLocalPart()); if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern())) { AxisMessage message = op.getMessage( WSDLConstants.MESSAGE_LABEL_OUT_VALUE); for (Property elementProperty : mapping.getWrapperStyleDrilldown()) { QName partQName = WSDLUtil.getPartQName(op.getName().getLocalPart(), WSDLConstants.OUTPUT_PART_QNAME_SUFFIX, elementProperty.elementName().getLocalPart());
httpLocationMap.put(WSDLUtil.getConstantFromHTTPLocation(httpLocation, httpMethod), axisBindingOperation.getAxisOperation()); WSDLUtil.isInputPresentForMEP(axisOperation.getMessageExchangePattern())) { AxisBindingMessage axisBindingInMessage = new AxisBindingMessage(); axisBindingInMessage.setParent(axisBindingOperation); WSDLUtil.isOutputPresentForMEP(axisOperation.getMessageExchangePattern())) { AxisBindingMessage axisBindingOutMessage = new AxisBindingMessage(); axisBindingOutMessage.setParent(axisBindingOperation); WSDLUtil.isOutputPresentForMEP(axisOperation.getMessageExchangePattern())) { WSDLUtil.isInputPresentForMEP(axisOperation.getMessageExchangePattern())) {
if (WSDLUtil.isOutputPresentForMEP(mep)) {
String mep = operation.getMessageExchangePattern(); if (WSDLUtil.isInputPresentForMEP(mep)) {
/** * This will be called to configure the WSDLReader instance. */ public void configureReaderInstance(WSDLReader reader) throws WSDLException { // prevent the WSDLReader instance from using the System.out // stream for messages and logging reader.setFeature(com.ibm.wsdl.Constants.FEATURE_VERBOSE, false); WSDLFactory factory = WSDLFactory.newInstance(); ExtensionRegistry extRegistry = reader.getExtensionRegistry(); if (extRegistry == null) { extRegistry = factory.newPopulatedExtensionRegistry(); } WSDLUtil.registerDefaultExtensionAttributeTypes(extRegistry); reader.setExtensionRegistry(extRegistry); }
boolean wrappable = true; if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) { if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern()) && wrappable) { walkSchema(op.getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE), WSDLConstants.OUTPUT_PART_QNAME_SUFFIX);
AxisOperation op = (AxisOperation)operations.next(); if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) { AxisMessage message = op.getMessage( WSDLConstants.MESSAGE_LABEL_IN_VALUE); WSDLUtil.getPartQName(op.getName().getLocalPart(), WSDLConstants.INPUT_PART_QNAME_SUFFIX, elementProperty if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern())) { AxisMessage message = op.getMessage( WSDLConstants.MESSAGE_LABEL_OUT_VALUE); WSDLUtil.getPartQName(op.getName().getLocalPart(), WSDLConstants.OUTPUT_PART_QNAME_SUFFIX, elementProperty
QName partQName = WSDLUtil.getPartQName(opName, qnameSuffix, partName);
if ((!WSDLUtil.isOutputPresentForMEP(mep)) || (replyTo != null && !replyTo.hasAnonymousAddress())) { processAsAsync(messageCtx);
public Object run() throws WSDLException { return WSDLUtil.newWSDLReaderWithPopulatedExtensionRegistry(); } });
/** * Creates a new WSDLReader and configures it with a {@link WSDLFactory#newPopulatedExtensionRegistry()} if it does not specify an extension registry. * The method will register default extension attribute types in WSDLReader's {@link WSDLReader#getExtensionRegistry() extensionRegistry}, * see {@link #registerDefaultExtensionAttributeTypes(ExtensionRegistry)}. * * @return The newly created WSDLReader instance. * @throws WSDLException */ public static WSDLReader newWSDLReaderWithPopulatedExtensionRegistry() throws WSDLException { WSDLFactory wsdlFactory = WSDLFactory.newInstance(); WSDLReader reader = wsdlFactory.newWSDLReader(); ExtensionRegistry extensionRegistry = reader.getExtensionRegistry(); if (extensionRegistry == null) { extensionRegistry = wsdlFactory.newPopulatedExtensionRegistry(); } WSDLUtil.registerDefaultExtensionAttributeTypes(extensionRegistry); reader.setExtensionRegistry(extensionRegistry); return reader; } }
AxisOperation op = (AxisOperation) operations.next(); if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) { walkSchema(op.getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE), WSDLConstants.INPUT_PART_QNAME_SUFFIX); if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern())) { walkSchema(op.getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE), WSDLConstants.OUTPUT_PART_QNAME_SUFFIX);