Examples of addNewRequest()


Examples of com.eviware.soapui.impl.wsdl.WsdlOperation.addNewRequest()

                // changed?
                if (!req.equals(requestContent)) {
                    if (!XmlUtils.prettyPrintXml(req).equals(XmlUtils.prettyPrintXml(requestContent))) {
                        if (createBackups) {
                            WsdlRequest backupRequest = operation.addNewRequest("Backup of [" + request.getName() + "]");
                            ((WsdlRequest) request).copyTo(backupRequest, false, false);
                        }

                        ((WsdlRequest) request).setRequestContent(req);
                        count++;
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.WsdlOperation.addNewRequest()

        WsdlTestRequestStep step = (WsdlTestRequestStep) result.getTestStep();
        String name = UISupport.prompt("Specify name of request", "Create Request", "Result from " + step.getName());

        if (name != null) {
            WsdlOperation operation = (WsdlOperation) step.getTestRequest().getOperation();
            WsdlRequest request = operation.addNewRequest(name);
            request.setRequestContent(result.getRequestContent());
            request.setDomain(result.getDomain());
            request.setEncoding(result.getEncoding());
            request.setEndpoint(result.getEndpoint());
            request.setPassword(result.getPassword());
View Full Code Here

Examples of net.java.dev.wadl.x2009.x02.MethodDocument.Method.addNewRequest()

  {
    Method methodConfig = resourceConfig.addNewMethod();
    createDoc( methodConfig.addNewDoc(), restMethod );
    methodConfig.setName( restMethod.getMethod().toString() );
    methodConfig.setId( restMethod.getName() );
    Request requestConfig = methodConfig.addNewRequest();

    Map<String, RestParamProperty> defaultParams = new HashMap<String, RestParamProperty>();
    for( RestParamProperty defaultParam : restMethod.getResource().getDefaultParams() )
      defaultParams.put( defaultParam.getName(), defaultParam );
View Full Code Here

Examples of net.java.dev.wadl.x2009.x02.MethodDocument.Method.addNewRequest()

    private void generateWadlMethod(Resource resourceConfig, RestMethod restMethod) {
        Method methodConfig = resourceConfig.addNewMethod();
        createDoc(methodConfig.addNewDoc(), restMethod);
        methodConfig.setName(restMethod.getMethod().toString());
        methodConfig.setId(restMethod.getName());
        Request requestConfig = methodConfig.addNewRequest();

        Map<String, RestParamProperty> defaultParams = new HashMap<String, RestParamProperty>();
        for (RestParamProperty defaultParam : restMethod.getResource().getDefaultParams()) {
            defaultParams.put(defaultParam.getName(), defaultParam);
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.RequestInitiatorType.addNewRequest()

        InvocationContextImpl invocationContext = new InvocationContextImpl(context.getMyself(), receiver);
        activityType.addNewReceiver().set(receiver.toBaseIDType());

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.RequestInitiatorType.addNewRequest()

        InvocationContextImpl invocationContext = new InvocationContextImpl(context.getMyself(), receiver);
        activityType.addNewReceiver().set(receiver.toBaseIDType());

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.RequestReceiverType.addNewRequest()

                    + "There was no remote invoker defined for workflow invoked (initiator=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.RequestReceiverType.addNewRequest()

                    + "There was no remote invoker defined (initiator=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.RequestReceiverType.addNewRequest()

                    + "There was no remote invoker defined for workflow invoked (initiator=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.RequestReceiverType.addNewRequest()

                    + "There was no remote invoker defined (initiator=NULL)");
        }

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
            if (header != null)
                request.addNewHeader().set(header);
            if (body != null)
                request.addNewBody().set(body);
        }
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.