I'm using a library to encapsulate the code needed to call into a remote SOAP based web service. The library is included in two different apps. In one it works, in the other not so much. The error I'm getting is:
HTTP response '401: Unauthorized' when communicating with (my web service).
The setup is the same in both projects. One is running on an staging instance in aws, the other the one failing is running on my local laptop. Both are talkign to the same remote service using the same credentials. I can use Postman to hit the remote web service with the credentials and it works fine. So I'm not sure what's causing the problem.
I'd like to capture the SOAP messages that are being sent across the wire. Preferably by emitting them through logging. But it's really unclear to me how to do that. I've looked at the apache cxf docs and searched google, but most of what I've found is old. Any suggestions would be appreciated.
Tony Giaccone