Package org.apache.wsdl.extensions

Examples of org.apache.wsdl.extensions.SOAPOperation


        Iterator iterator = bindingOperation.getExtensibilityElements()
                .iterator();
        while (iterator.hasNext()) {
            WSDLExtensibilityElement element = (WSDLExtensibilityElement) iterator
                    .next();
            SOAPOperation soapOperation = null;
            if (ExtensionConstants.SOAP_11_OPERATION.equals(element.getType())) {
                soapOperation = (SOAPOperation) element;
            }
            if (soapOperation == null) {
                fail();
            } else {
                assertEquals(soapOperation.getSoapAction(),
                        "http://soapinterop.org/");
            }
        }
    }
View Full Code Here


        while (elments.hasNext()) {
            Object obj = elments.next();

            if (obj instanceof SOAPOperation) {
                SOAPOperation soapOp = (SOAPOperation) obj;
                //TODO put soap action to right place
                //axisOp.setSoapAction(soapOp.getSoapAction());
                break;
            }
View Full Code Here

            addPolicyAsExtElements(womDescription, policyElementsList,
                    bindingoperation, include);

            binding.addBindingOperation(bindingoperation);

            SOAPOperation soapOpimpl = (SOAPOperation) extensionFactory
                    .getExtensionElement(ExtensionConstants.SOAP_11_OPERATION);
            soapOpimpl.setStyle(style);
            // to do heve to set a proper SOAPAction
            ArrayList wsamappingList = axisOperation.getWsamappingList();
            if (wsamappingList != null && wsamappingList.size() > 0) {
                soapOpimpl.setSoapAction((String) wsamappingList.get(0));
            } else {
                soapOpimpl.setSoapAction(opName);
            }
            bindingoperation.addExtensibilityElement(soapOpimpl);

            if (inMessage != null) {
                WSDLBindingMessageReference bindingInMessage = wsdlComponentFactory
View Full Code Here

        while (elments.hasNext()) {
            Object obj = elments.next();

            if (obj instanceof SOAPOperation) {
                SOAPOperation soapOp = (SOAPOperation) obj;

                op.setSoapAction(soapOp.getSoapAction());

                break;
            }
        }
View Full Code Here

            WSDLBindingOperation bindingoperation = wsdlComponentFactory.createWSDLBindingOperation();
            bindingoperation.setName(new QName(opName));
            bindingoperation.setOperation(wsdlOperation);
            binding.addBindingOperation(bindingoperation);

            SOAPOperation soapOpimpl = (SOAPOperation) extensionFactory.getExtensionElement(
                    ExtensionConstants.SOAP_11_OPERATION);
            soapOpimpl.setStyle(style);
            //to do heve to set a proper SOAPAction
            soapOpimpl.setSoapAction(opName);
            bindingoperation.addExtensibilityElement(soapOpimpl);
            if (inMessage != null) {
                WSDLBindingMessageReference bindingInMessage = wsdlComponentFactory.createWSDLBindingMessageReference();
                bindingInMessage.setDirection(WSDLConstants.WSDL_MESSAGE_DIRECTION_IN);
                bindingoperation.setInput(bindingInMessage);
View Full Code Here

        Iterator iterator = bindingOperation.getExtensibilityElements()
                .iterator();
        while (iterator.hasNext()) {
            WSDLExtensibilityElement element = (WSDLExtensibilityElement) iterator
                    .next();
            SOAPOperation soapOperation = null;
            if (ExtensionConstants.SOAP_11_OPERATION.equals(element.getType())) {
                soapOperation = (SOAPOperation) element;
            }
            if (soapOperation == null) {
                fail();
            } else {
                assertEquals(soapOperation.getSoapAction(),
                        "http://soapinterop.org/");
            }
        }
    }
View Full Code Here

        Iterator iterator = bindingOperation.getExtensibilityElements()
                .iterator();
        while (iterator.hasNext()) {
            WSDLExtensibilityElement element = (WSDLExtensibilityElement) iterator
                    .next();
            SOAPOperation soapOperation = null;
            if (ExtensionConstants.SOAP_11_OPERATION.equals(element.getType())) {
                soapOperation = (SOAPOperation) element;
            }
            if (soapOperation == null) {
                fail();
            } else {
                assertEquals(soapOperation.getSoapAction(),
                        "http://soapinterop.org/");
            }
        }
    }
View Full Code Here

    Iterator iterator = bindingOperation.getExtensibilityElements()
        .iterator();
    while (iterator.hasNext()) {
      WSDLExtensibilityElement element = (WSDLExtensibilityElement) iterator
          .next();
      SOAPOperation soapOperation = null;
      if (ExtensionConstants.SOAP_OPERATION.equals(element.getType())) {
        soapOperation = (SOAPOperation) element;
      }
      if (soapOperation == null) {
        fail();
      } else {
        assertEquals(soapOperation.getSoapAction(),
            "http://soapinterop.org/");
      }
    }
  }
View Full Code Here

        Iterator iterator = bindingOperation.getExtensibilityElements()
                .iterator();
        while (iterator.hasNext()) {
            WSDLExtensibilityElement element = (WSDLExtensibilityElement) iterator
                    .next();
            SOAPOperation soapOperation = null;
            if (ExtensionConstants.SOAP_OPERATION.equals(element.getType())) {
                soapOperation = (SOAPOperation) element;
            }
            if (soapOperation == null) {
                fail();
            } else {
                assertEquals(soapOperation.getSoapAction(),
                        "http://soapinterop.org/");
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.wsdl.extensions.SOAPOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.