Thanks Hanumantha! The given note helped resolving the issue. I was using the SAP XML Toolkit option, but wasn't updating the Class Loader as mentioned in the SAP Note. Inclusion of those lines resolved the issue.
Appreciate everyone's time!
Regards,
Shreyansh