public StreamMessage(@NotNull TagInfoset envelopeTag, @Nullable TagInfoset headerTag, @NotNull AttachmentSet attachmentSet, @Nullable HeaderList headers, @NotNull TagInfoset bodyTag, @NotNull XMLStreamReader reader, @NotNull SOAPVersion soapVersion) {
this(headers,attachmentSet,reader,soapVersion);
assert envelopeTag!=null && bodyTag!=null;
this.envelopeTag = envelopeTag;
this.headerTag = headerTag!=null ? headerTag :
new TagInfoset(envelopeTag.nsUri,"Header",envelopeTag.prefix,EMPTY_ATTS);
this.bodyTag = bodyTag;
}