use of org.apache.axis2.addressing.EndpointReference in project axis-axis2-java-core by apache.
the class AddressingHelperTest method testIsSyncReplyAllowedNonAnonReplyTo.
public void testIsSyncReplyAllowedNonAnonReplyTo() {
MessageContext mc = new MessageContext();
mc.setReplyTo(new EndpointReference("http://ws.apache.org/axis2"));
assertFalse(AddressingHelper.isSyncReplyAllowed(mc));
}
use of org.apache.axis2.addressing.EndpointReference in project axis-axis2-java-core by apache.
the class AddressingHelperTest method testIsSyncReplyAllowedNoneReplyTo.
public void testIsSyncReplyAllowedNoneReplyTo() {
MessageContext mc = new MessageContext();
mc.setReplyTo(new EndpointReference(AddressingConstants.Final.WSA_NONE_URI));
assertTrue(AddressingHelper.isSyncReplyAllowed(mc));
}
use of org.apache.axis2.addressing.EndpointReference in project axis-axis2-java-core by apache.
the class AddressingHelperTest method testIsFaultRedirectedAnonFaultTo.
public void testIsFaultRedirectedAnonFaultTo() {
MessageContext mc = new MessageContext();
mc.setFaultTo(new EndpointReference(AddressingConstants.Final.WSA_ANONYMOUS_URL));
assertFalse(AddressingHelper.isFaultRedirected(mc));
}
use of org.apache.axis2.addressing.EndpointReference in project axis-axis2-java-core by apache.
the class AddressingHelperTest method testIsFaultRedirectedNoFaultTo.
public void testIsFaultRedirectedNoFaultTo() {
MessageContext mc = new MessageContext();
mc.setReplyTo(new EndpointReference("http://ws.apache.org/axis2"));
assertTrue(AddressingHelper.isFaultRedirected(mc));
}
use of org.apache.axis2.addressing.EndpointReference in project axis-axis2-java-core by apache.
the class AddressingHelperTest method testIsSyncFaultAllowedNonAnonFaultTo.
public void testIsSyncFaultAllowedNonAnonFaultTo() {
MessageContext mc = new MessageContext();
mc.setFaultTo(new EndpointReference("http://ws.apache.org/axis2"));
assertFalse(AddressingHelper.isSyncFaultAllowed(mc));
}
Aggregations