public static Response CreateFault(ISoap12EnvelopeBuilder envelopeBuilder) { if (envelopeBuilder == null) { throw new ArgumentNullException(nameof(envelopeBuilder)); } return(CreateFault(envelopeBuilder.Build())); }
public static Response Create(ISoap12EnvelopeBuilder envelopeBuilder, HttpStatusCode httpStatusCode) { if (envelopeBuilder == null) { throw new ArgumentNullException(nameof(envelopeBuilder)); } return(Create(envelopeBuilder.Build(), httpStatusCode)); }