« first day    last day (34 days later) » 

6:26 PM
Alright. I think I've gotten the submission piece at least setup again. I am receiving the "WS Security Header in the message is invalid." error message.
Although, the ReadMessage method in the GZipMessageEncoder class is giving me the following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>... stream ...</soapenv:Body>
</soapenv:Envelope>
Instead of the actual message sent back from the request. I only know it was a security error due to the ReadMessage() method of the MtomEncoder class, which outputs the contents of the buffer.
 
 
1 hour later…
7:39 PM
I'm also not sure I understand what should go in the <dns value=""> entry of the app.config.
 
I've placed there value from "Subject Alternative Name" from certificate, which has form "DNs name=<actual dns name>"
 
Any idea what that configuration entry does?
 
7:55 PM
I am of the opinion, that this is needed for WCF to make handshake with irs service
 
Did you register your certificate with the IRS?
 
Of course!
Have you?
 
I don't believe we have, which may be where my problems are stemming. However, we could not find any documentation on this registration process.
 
Well, this is what you should have done before you started development.:)
Wait a second
You have your software id right?
 
lol. Well, we got a certificate from one of the authorized certificate issuing authorities referenced in the Composition Guide; and installed it on our end.
Yes, I do believe we have a software id.
 
8:00 PM
Ok, now you have to load that cert to the IRS air system. Which on our end has been done by dedicated individual.
Applicatuion syatem id has to be created for the TCC u r using before submissions could be made.
cert have to be assosiated to the this "client application syatem id"
 
Okay. I'll have to pass that along. Because our certificates are being managed by another person, and most of the dealings with the IRS is being managed by another.
Do you know if that would result in my having WS Security issues?
Did you see the other questions I had asked after you left yesterday?
 
Not necessarily, but with out it ANY farther attempts are futile, AFAIU
because it could be result of other issues
Main thing: do not change signature or signed things after signature ben created. That's a maoin rule. Easy to say, hard to follow.;))
ben =been
maoin =main
 
I don't think I'm changing anything after the signature has been created.
I'm just adding the signature block to the XML and sending it on its merry way (or so I think that's what I'm doing).
 
Ok about attachment payload. I am passing it in BulkExchangeFile , then remove it from there and make MTOM attachment out of this, Adding "include" tag instad with proper id
 
8:18 PM
While I am assigning the byte[] that makes up the Form Data File to the BulkExchangeFile property; I am also outputting the Form Data File to the file system (for retention purposes), and then I am using the ReadAllText method to read the file, and write it as the Mtom Attachment.
After signing the XML, I am adding the attachment reference (BulkExchangeFile and Include elements) to the ACABulkRequestTransmitter element in the Soap Body.
 
Remember it should be "pretty-printed" xml:)
in the attachment, I mean
 
Indeed. And it is :)
 
good
And that's should be done before signing
 
attaching it?
 
Justing Case:)
No, replacing actual base64ed array with refrence in the envelope payload
Attaching would be done after signing and those 2 are not interfiring with each other
 
8:22 PM
Gotcha. So adding the Include element to the Soap Body, is what you're talking about.
 
Okay. So now I've got 1.) Add the attachment references to the SOAP Body; 2.) Sign the document; 3.) Replace the KeyInfo element with the required KeyInfo element.
 
It should not matter, though, but I've been trying to make all changes to the xml I thought are necessary before I will sign anything.
 
I guess in order to eliminate funky things, it makes perfect sense :)
 
Seems right to me
 
8:29 PM
Your SOAP Envelope is not "pretty print" correct?
I also added a Content-Disposition line to my Attachment Part, as it is outlined as such in the Composition Guide.
So further reviewing the Composition Guide (page 83/84) Not only have I added a ContentDisposition property to the MimePart object, but I also added a Type property to the MimePart object. The Type is to hold the value of "text/xml" for the type attribute of the main part's Content-Type.
main part = _SoapMimeContent; Attachment Part = _AttachmentMimeContent
 
not, it is not
You added content disposition?!?:O
It should be there
 
It was not
 
let me see...
Oh crap...
I've modified MimePart as well...
 
xD
 
And MimeContent
And MimeParser
shoot..
I will add those things to my answer
If you interested, of course:)
 
8:40 PM
great :)
absolutely
Do you just have the one MtomEncoder method?
I think we touched base on it yesterday briefly
So I have two; one with two parameters: MessageEncoder and GZipMessageEncoderFactory (which I think is actually the correct one); and one which takes three parameters: MessageEncoder, MtomEncoderFactory, string attachmentContentType).
The latter of the methods, is referenced in the MtomEncoderFactory method of the same-named class.
 
done
Not sure what r u talking about, but I got to go to the meeting where I would be beaten over head:) Wish me like, I really need it!:))
 
8:58 PM
good luck!
 
9:35 PM
What have you set your PrefixList attribute of the InclusiveNamespaces element to be? This is part of the Reference/Transforms/Transform element under the Signature/SignedInfo.
 

« first day    last day (34 days later) »