Search in sources :

Example 1 with FaultDetail

use of org.apache.hello_world_xml_http.wrapped.types.FaultDetail in project cxf by apache.

the class GreeterImpl method pingMe.

public void pingMe() throws PingMeFault {
    System.out.println("received calling PingMeFault!");
    FaultDetail faultDetail = new FaultDetail();
    faultDetail.setMajor((short) 2);
    faultDetail.setMinor((short) 1);
    throw new PingMeFault("PingMeFault raised by server", faultDetail);
}
Also used : PingMeFault(org.apache.hello_world_xml_http.wrapped.PingMeFault) FaultDetail(org.apache.hello_world_xml_http.wrapped.types.FaultDetail)

Example 2 with FaultDetail

use of org.apache.hello_world_xml_http.wrapped.types.FaultDetail in project cxf by apache.

the class GreeterImpl method pingMe.

public void pingMe() throws PingMeFault {
    LOG.info("Executing operation pingMe\n");
    FaultDetail faultDetail = new FaultDetail();
    faultDetail.setMajor((short) 2);
    faultDetail.setMinor((short) 1);
    throw new PingMeFault("PingMeFault raised by server", faultDetail);
}
Also used : FaultDetail(org.apache.hello_world_xml_http.wrapped.types.FaultDetail)

Aggregations

FaultDetail (org.apache.hello_world_xml_http.wrapped.types.FaultDetail)2 PingMeFault (org.apache.hello_world_xml_http.wrapped.PingMeFault)1