Examples of SoapOperation


Examples of org.apache.cxf.tools.common.extensions.soap.SoapOperation

                soapFault.setName(faultInfo.getFaultInfo().getFaultName().getLocalPart());
                faultInfo.addExtensor(soapFault);
            }
            SoapOperationInfo soi = b.getExtensor(SoapOperationInfo.class);

            SoapOperation soapOperation = SOAPBindingUtil.createSoapOperation(extensionRegistry,
                                                                              isSoap12);
            soapOperation.setSoapActionURI(soi.getAction());
            soapOperation.setStyle(soi.getStyle());
            boolean isRpc = "rpc".equals(soapOperation.getStyle());

            b.addExtensor(soapOperation);

            if (b.getInput() != null) {
                List<String> bodyParts = null;
View Full Code Here

Examples of org.apache.cxf.tools.common.extensions.soap.SoapOperation

    }

    private void initializeBindingOperation(SoapBindingInfo bi, BindingOperationInfo boi) {
        SoapOperationInfo soi = new SoapOperationInfo();

        SoapOperation soapOp =
            SOAPBindingUtil.getSoapOperation(boi.getExtensors(ExtensibilityElement.class));

        if (soapOp != null) {
            String action = soapOp.getSoapActionURI();
            if (action == null) {
                action = "";
            }
            soi.setAction(action);
            soi.setStyle(soapOp.getStyle());
        }

        boi.addExtensor(soi);

        if (boi.getInput() != null) {
View Full Code Here

Examples of org.apache.servicemix.soap.bindings.soap.model.SoapOperation

    public void handleMessage(Message message) {
        Operation operation = message.get(Operation.class);
        if (!(operation instanceof SoapOperation)) {
            return;
        }
        SoapOperation soapOp = (SoapOperation) operation;
        if (soapOp.getSoapAction() != null) {
            message.getTransportHeaders().put(SoapConstants.SOAP_ACTION_HEADER, soapOp.getSoapAction());
        }
    }
View Full Code Here

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

Examples of org.eclipse.wst.wsdl.binding.soap.SOAPOperation

    // We blow away any existing ExtensibilityElements/content before we generate it
    // Is it worth being smarter?  Look for matching content first and create those which aren't found????
    List removeList = new ArrayList(bindingOperation.getEExtensibilityElements());
    removeExtensebilityElements(bindingOperation.getEExtensibilityElements(), removeList);

    SOAPOperation soapOperation = SOAPFactory.eINSTANCE.createSOAPOperation();

    String soapActionValue = getNamespace(bindingOperation);
    if (!soapActionValue.endsWith("/"))
    {
      soapActionValue += "/";
    }
    soapActionValue += operation.getName();

    soapOperation.setSoapActionURI(soapActionValue);

    bindingOperation.addExtensibilityElement(soapOperation);
  }
View Full Code Here

Examples of org.reficio.ws.builder.SoapOperation

        assertTrue(server.isRunning());
    }

    @Test
    public void testRequestResponse() {
        SoapOperation operation = builder.operation().name("ConversionRate").find();
        SoapContext context = SoapContext.builder().exampleContent(true).build();
        String request = builder.buildInputMessage(operation, context);

        String response = client.post(request);
        assertNotNull(response);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.