{"id":23250543,"url":"https://github.com/cub0n/spring-cxf-endpoints","last_synced_at":"2026-04-27T20:33:25.992Z","repository":{"id":267090538,"uuid":"900073438","full_name":"Cub0n/spring-cxf-endpoints","owner":"Cub0n","description":"Example for autowiring many CXF endpoints automatically in Spring Boot","archived":false,"fork":false,"pushed_at":"2024-12-08T09:06:23.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T02:14:46.481Z","etag":null,"topics":["apache-cxf","autowiring","cxf","cxf-service","endpoint","soap","soap-web-services","soap-webservice","spring-beans","spring-boot","springbean","springboot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cub0n.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-07T19:39:37.000Z","updated_at":"2024-12-08T09:06:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"26a16331-8e8d-4284-b92d-545a083a094f","html_url":"https://github.com/Cub0n/spring-cxf-endpoints","commit_stats":null,"previous_names":["cub0n/spring-cxf-endpoints"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cub0n%2Fspring-cxf-endpoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cub0n%2Fspring-cxf-endpoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cub0n%2Fspring-cxf-endpoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cub0n%2Fspring-cxf-endpoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cub0n","download_url":"https://codeload.github.com/Cub0n/spring-cxf-endpoints/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423521,"owners_count":20936626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-cxf","autowiring","cxf","cxf-service","endpoint","soap","soap-web-services","soap-webservice","spring-beans","spring-boot","springbean","springboot"],"created_at":"2024-12-19T09:12:39.544Z","updated_at":"2026-04-27T20:33:25.964Z","avatar_url":"https://github.com/Cub0n.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Example for autowiring Apache CXF endpoints.\r\n\r\nThe implementation circumvents the problem if the service beans are registered too early.\r\n\r\n_JaxWsServerFactoryBean_ does not initialize the underlying service bean properly if the registration is done via \r\n_public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)_ (so in Apache CXF Version 4.0.5)\r\n\r\nThis means: The endpoint and the service beans are created or used, but the service beans have no other injected beans (Autowiring is not working).\r\n\r\nMoreover: With the new paradigm to @Autowire Beans in the contructor, the service bean can not be initialized, because no appropriate Constructor was found and at startup an exception is thrown.\r\nIt seems that the beans or usage are done outside of the Spring Environment.\r\n\r\nSo, the registration of the endoints is done in a later step with a @Configuration-bean.\r\n\r\nInspired from:\r\nhttps://blog.mpesteban.dev/post/how-to-create-soap-services-with-spring-boot-apache-cxf\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcub0n%2Fspring-cxf-endpoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcub0n%2Fspring-cxf-endpoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcub0n%2Fspring-cxf-endpoints/lists"}