Package org.springframework.ws.test.integration

Examples of org.springframework.ws.test.integration.CustomerCountResponse


    public int getCustomerCount() {
        CustomerCountRequest request = new CustomerCountRequest();
        request.setCustomerName("John Doe");

        CustomerCountResponse response = (CustomerCountResponse) getWebServiceTemplate().marshalSendAndReceive(request);
        return response.getCustomerCount();
    }
View Full Code Here


@Endpoint
public class CustomerEndpoint {

    @ResponsePayload
    public CustomerCountResponse getCustomerCount(@RequestPayload CustomerCountRequest request) {
        CustomerCountResponse response = new CustomerCountResponse();
        response.setCustomerCount(42);
        return response;
    }
View Full Code Here

TOP

Related Classes of org.springframework.ws.test.integration.CustomerCountResponse

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.