The reason you can step through the service without that failure is that you have logged on to the Developer and the service is using your userid/password for authentication.
How are you running your service when you get the authentication error? Check to see what ACL applies to the service you have written. If you have not explicity set one, the service inherits the ACL of the interface it is under. If the userid/password that is used to run the service outside of the Developer is in a group that does not have rights to the ACL that your service is tied to, you won’t be able to run it. For example, if your service has an ACL of Internal and the userid that authenticates to B2B to run the service is in the TNPartners group, it will fail with access denied.
#webMethods-General#webMethods#Integration-Server-and-ESB