Package org.apache.cxf.soapfault

Examples of org.apache.cxf.soapfault.SoapFaultPortType


    public void testSendSoapFaultRequest() throws Exception {

        SoapFaultService service = new SoapFaultService();
        assertNotNull(service);

        SoapFaultPortType soapFaultPort = service.getPort(portName, SoapFaultPortType.class);
        updateAddressPort(soapFaultPort, PORT);

        Fault fault = new Fault();
        fault.setFaultstring("ClientSetFaultString");
        fault.setFaultcode(new QName("http://cxf.apache.org/soapfault", "ClientSetError"));
        soapFaultPort.soapFault(fault);

    }
View Full Code Here

TOP

Related Classes of org.apache.cxf.soapfault.SoapFaultPortType

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.