good to hear you solve your problem,
but I found that there are really no point to insist to use <method_credential user='wsvws' group='jboss' /> instead of root, and need to use sudo in the start/stop method.
The reason that need to use sudo is because you don't have the root privilege, but since SMF is control by root, why you need to use sudo? because you use sudo is already act like a root.
If you said that the services is not control by SMF, just a normal script to start/stop, yes, it make scenes to use sudo
This is just my point of view, mind to share what is the reason that you insist to use sudo?