usnistgov / iheos-toolkit2

XDS Toolkit
https://ihexds.nist.gov
46 stars 26 forks source link

Consider having the Repository simulator store the SOAP Envelope in a separate file #233

Open stl-steve-moore opened 7 years ago

stl-steve-moore commented 7 years ago

I am not suggesting you dump the full/bin file you already have. I am suggesting you store the ... separately. When I am debugging, there are times when I just want to pull the XML and not have to mess around with the attachments.

Or, maybe there is something I am missing.

iheos commented 7 years ago

The current format is motivated by having a stored copy of the exact bits off the wire. There are parsers you can use to extract stuff like the SOAP header and attachments. The problem you are likely experiencing is that they do their parsing, use the info in memory and move on. The current chain of parsers could be updated a bit to dribble more isolated stuff like the SOAP Envelope into the simdb event folder. Once it is there it could be retrieved from code via a simple accessor or if it is the human that needs to see it just browse the directory under simdb. Does one of these approaches fit?

On Fri, Feb 3, 2017 at 6:37 PM, Steve Moore notifications@github.com wrote:

I am not suggesting you dump the full/bin file you already have. I am suggesting you store the ... separately. When I am debugging, there are times when I just want to pull the XML and not have to mess around with the attachments.

Or, maybe there is something I am missing.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/usnistgov/iheos-toolkit2/issues/233, or mute the thread https://github.com/notifications/unsubscribe-auth/ASxHA9rhzEnvvPkFxPYcOw6XSt31y5X4ks5rY7ovgaJpZM4L27po .

-- Bill Majurski NIST IHE Testing: http://ihexds.nist.gov XDS.b examples: http://wiki.ihe.net/index.php?title=XDS.b_Implementation Implementation Notes: http://wiki.ihe.net/index.php?title=XDS_Implementation_Notes

stl-steve-moore commented 7 years ago

I think we are on the same page. Indeed, keep your current .bin file. I would ask that you also dribble out, as you say, a copy of the SOAP envelope. My goal is that someone could grab that file and open in directly in OxygenXML and go from there.

I would be happy to tell the person to grab it from the file system.