示例#1
0
        public static Response CreateFault(ISoap11EnvelopeBuilder envelopeBuilder)
        {
            if (envelopeBuilder == null)
            {
                throw new ArgumentNullException(nameof(envelopeBuilder));
            }

            return(CreateFault(envelopeBuilder.Build()));
        }
示例#2
0
        public static Response Create(ISoap11EnvelopeBuilder envelopeBuilder, HttpStatusCode httpStatusCode)
        {
            if (envelopeBuilder == null)
            {
                throw new ArgumentNullException(nameof(envelopeBuilder));
            }

            return(Create(envelopeBuilder.Build(), httpStatusCode));
        }