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);
}
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);
}
Aggregations