Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EligibilityTransformationService throws exceptions during parsing of responses #9

Open
tmccurdy opened this issue Jun 14, 2018 · 1 comment

Comments

@tmccurdy
Copy link

We need the ability to turn off the X12Parser exceptions when creating an instance of the EligibilityTransformationService. Currently it keeps throwing an exception that the "ISA" line must have exactly 106 chars (IT DOES only have 106 chars but still throws this error). I don't understand WHY you would want to validate an incoming file you are trying to parse anyway, as we all know that almost no one conforms to the standards.
Anyway, I will reverse engineer the transformation code for now, but all Transforms need to be able to be passed in an existing instance of an X12Parser so we can set other options on them.

@tmccurdy
Copy link
Author

Nevermind, I feel dumb. After writing data I needed to parse into a MemoryStream, I forgot to set the stream back to the beginning. This fixed the issue (stream.Position = 0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant