SOAP4r problems with namespace

There is something wrong with this it is missing the xsi:type..... And I have no clue how to get it in... Below is what my code is trying to communicate to an axis soap server but it fails because the authInfo object is not correct

I have fixed a whole buch of problems the solution is not that great and I am searching or a better way this is the solution I found