Search in sources :

Example 1 with PModeLegReliability

use of com.helger.phase4.model.pmode.leg.PModeLegReliability in project phase4 by phax.

the class MockPModeGenerator method _createPModeLeg.

@Nonnull
private static PModeLeg _createPModeLeg(@Nonnull final ESoapVersion eSOAPVersion) {
    final PModeLegReliability aPModeLegReliability = null;
    final PModeLegSecurity aPModeLegSecurity = null;
    return new PModeLeg(_createPModeLegProtocol(eSOAPVersion), _createPModeLegBusinessInformation(eSOAPVersion), _createPModeLegErrorHandling(), aPModeLegReliability, aPModeLegSecurity);
}
Also used : PModeLegReliability(com.helger.phase4.model.pmode.leg.PModeLegReliability) PModeLeg(com.helger.phase4.model.pmode.leg.PModeLeg) PModeLegSecurity(com.helger.phase4.model.pmode.leg.PModeLegSecurity) Nonnull(javax.annotation.Nonnull)

Example 2 with PModeLegReliability

use of com.helger.phase4.model.pmode.leg.PModeLegReliability in project phase4 by phax.

the class DefaultPMode method _generatePModeLeg.

@Nonnull
private static PModeLeg _generatePModeLeg(@Nullable final String sAddress) {
    final PModeLegErrorHandling aErrorHandling = PModeLegErrorHandling.createUndefined();
    aErrorHandling.setReportAsResponse(true);
    final PModeLegReliability aReliability = null;
    final PModeLegSecurity aSecurity = new PModeLegSecurity();
    aSecurity.setSendReceipt(true);
    aSecurity.setSendReceiptReplyPattern(EPModeSendReceiptReplyPattern.RESPONSE);
    return new PModeLeg(_generatePModeLegProtocol(sAddress), _generatePModeLegBusinessInformation(), aErrorHandling, aReliability, aSecurity);
}
Also used : PModeLegReliability(com.helger.phase4.model.pmode.leg.PModeLegReliability) PModeLeg(com.helger.phase4.model.pmode.leg.PModeLeg) PModeLegErrorHandling(com.helger.phase4.model.pmode.leg.PModeLegErrorHandling) PModeLegSecurity(com.helger.phase4.model.pmode.leg.PModeLegSecurity) Nonnull(javax.annotation.Nonnull)

Aggregations

PModeLeg (com.helger.phase4.model.pmode.leg.PModeLeg)2 PModeLegReliability (com.helger.phase4.model.pmode.leg.PModeLegReliability)2 PModeLegSecurity (com.helger.phase4.model.pmode.leg.PModeLegSecurity)2 Nonnull (javax.annotation.Nonnull)2 PModeLegErrorHandling (com.helger.phase4.model.pmode.leg.PModeLegErrorHandling)1