Package org.springframework.ws.soap.soap11

Examples of org.springframework.ws.soap.soap11.Soap11Body


            public void doExecute(TestContext context) {
                SoapMessage faultMessage;

                faultMessage = messageFactory.createWebServiceMessage();
               
                Soap11Fault fault = ((Soap11Body)faultMessage.getSoapBody()).addFault(QNameUtils.parseQNameString("{http://citrusframework.org}ws:TEC-1001"),
                        "Internal server error",
                        Locale.GERMANY);
               
                fault.setFaultActorOrRole("CLIENT");
               
                throw new SoapFaultClientException(faultMessage);
            }
        });
       
View Full Code Here


        SoapHeader soapRequestHeader = EasyMock.createMock(SoapHeader.class);

        org.springframework.ws.soap.SoapMessage soapResponse = EasyMock.createMock(org.springframework.ws.soap.SoapMessage.class);
        SoapHeader soapResponseHeader = EasyMock.createMock(SoapHeader.class);
        Soap11Body soapResponseBody = EasyMock.createMock(Soap11Body.class);
        final Soap11Fault soapFault = EasyMock.createMock(Soap11Fault.class);
       
        StringResult soapResponsePayload = new StringResult();
       
        reset(messageContext, soapRequest, soapRequestHeader, soapResponse, soapResponseHeader, soapResponseBody);
       
View Full Code Here

TOP

Related Classes of org.springframework.ws.soap.soap11.Soap11Body

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.