|
|
I jave a web service client with basic authentication, the maven project create a jar file. For testing the library I make a class with a main method and works fine but when I use the library in a web project and deploy in JBoss produces an error:
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with
For testing I run the same library in a web project and runs on Payara and the project works fine. So, I supouse that I'm doing something wrong with JBoss.