Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

oasp4j-starter-cxf-server-rest not working isolated #682

Open
hohwille opened this issue Sep 13, 2018 · 0 comments
Open

oasp4j-starter-cxf-server-rest not working isolated #682

hohwille opened this issue Sep 13, 2018 · 0 comments

Comments

@hohwille
Copy link
Member

As it seems for some strange reason in CXF the oasp4j-starter-cxf-server-rest only works if additionally the dependency cxf-rt-ws-policy is present.
This is silly and seems like a design bug in CXF as REST should not depend on ws-policy what is SOAP related. However with only oasp4j-starter-cxf-server-rest in place the app wont boot up unless cxf-rt-ws-policy is present.
As oasp4j-starter-cxf-server-ws is indirectly depending on cxf-rt-ws-policy all works fine if both oasp4j-starter-cxf-server-rest and oasp4j-starter-cxf-server-ws are in place.
However, IMHO the idea of our Opt-In strategy should be that each starter works self-contained what is currently not the case.
Even though it appears odd, we IMHO need to add a dependency to cxf-rt-ws-policy in oasp4j-starter-cxf-server-rest.

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

No branches or pull requests

1 participant