#Apache CXF and Spring Boot

4 messages · Page 1 of 1 (latest)

finite slate
#

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

faint shoalBOT
#

This post has been reserved for your question.

Hey @finite slate! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

spare copper
#

Have you check if a proxy is blocking you?