Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging external calls #430

Closed
svemula2020 opened this issue Feb 14, 2019 · 6 comments
Closed

Logging external calls #430

svemula2020 opened this issue Feb 14, 2019 · 6 comments

Comments

@svemula2020
Copy link

To Log External calls.

Description

I have a spring boot application. There are lots external calls made by application to google api. Just wondering if there is an easy way to configure Logbook to log request and responses from external calls in general.

@whiskeysierra
Copy link
Collaborator

Sure. What kind of technology are you using RestTemplate?

@svemula2020
Copy link
Author

It’s a mix of things. I have feign clients for invoking external services and few are SOAP calls.

@whiskeysierra
Copy link
Collaborator

Are you using Apache Http Client under the hood for feign? Which technology do you use for SOAP? WebServiceTemplate?

@svemula2020
Copy link
Author

Jax-ws for SOAP requests

@whiskeysierra
Copy link
Collaborator

Jax-ws for SOAP requests

We don't have an out of the box interceptor for JAX-WS, but you may take a look at the JAX-RS implementation to see how it's done. Pull requests are welcome 😉

Which implementation do you use? Apache CXF?

I have feign

If you use https://github.com/OpenFeign/feign/tree/master/httpclient you can make use of https://github.com/zalando/logbook#http-client

@whiskeysierra
Copy link
Collaborator

Closing due to inactivity. Feel free to reopen, if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants