Turns out removing the name_space from the pl sql was the best option, so that is what I did; if you were wondering about it.
Turns out, that name_space variable was only there because it had to be there due to the way our old web services worked, so with the migrated version, this was no longer needed, so I just struck it from the code altogether. Made for an easy fix, and easier to debug pl sql code
Thanks for your help Paul, you always are able to set me on the right path.