{"id":13805689,"url":"https://github.com/roskart/dropwizard-jaxws","last_synced_at":"2026-01-10T19:28:49.301Z","repository":{"id":8128284,"uuid":"9545480","full_name":"roskart/dropwizard-jaxws","owner":"roskart","description":"Dropwizard bundle that enables building SOAP web services and clients using JAX-WS API","archived":false,"fork":false,"pushed_at":"2023-07-07T21:55:32.000Z","size":194,"stargazers_count":43,"open_issues_count":5,"forks_count":36,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-04T01:05:20.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roskart.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}},"created_at":"2013-04-19T12:57:20.000Z","updated_at":"2023-07-27T02:22:30.000Z","dependencies_parsed_at":"2024-01-03T02:24:45.579Z","dependency_job_id":"e1d57f38-1de5-4c59-98c4-761a35e9ca7e","html_url":"https://github.com/roskart/dropwizard-jaxws","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roskart%2Fdropwizard-jaxws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roskart%2Fdropwizard-jaxws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roskart%2Fdropwizard-jaxws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roskart%2Fdropwizard-jaxws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roskart","download_url":"https://codeload.github.com/roskart/dropwizard-jaxws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225254369,"owners_count":17445171,"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":[],"created_at":"2024-08-04T01:01:03.879Z","updated_at":"2026-01-10T19:28:49.260Z","avatar_url":"https://github.com/roskart.png","language":"Java","funding_links":[],"categories":["Open Source"],"sub_categories":["Eclipse"],"readme":"Dropwizard-JAXWS\n================\n\nDropwizard-JAXWS is a [Dropwizard](https://www.dropwizard.io/) Bundle that enables building SOAP web\nservices and clients using JAX-WS API with Dropwizard.\n\nFeatures\n--------\n* Uses [Apache CXF](http://cxf.apache.org/) web services framework (no Spring Framework dependency).\n* Java First and WSDL first service development.\n* Using standard JAX-WS annotations, without custom deployment descriptors.\n* [Metrics](https://github.com/codahale/metrics) instrumentation: @Metered, @Timed and @ExceptionMetered annotations.\n* Dropwizard validation support.\n* Dropwizard Hibernate support (@UnitOfWork).\n* Dropwizard basic authentication using Dropwizard Authenticator.\n* Web service client factory.\n* Support for JAX-WS handlers, MTOM, CXF interceptors(both client and server side) and CXF @UseAsyncMethod annotation.\n\nUsing\n-----\n\nTo use dropwizard-jaxws in your project, add the following dependency to your `pom.xml`:\n\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecom.github.roskart.dropwizard-jaxws\u003c/groupId\u003e\n            \u003cartifactId\u003edropwizard-jaxws\u003c/artifactId\u003e\n            \u003cversion\u003e1.2.3\u003c/version\u003e\n        \u003c/dependency\u003e\n\nHello World\n-----------\n\n**SOAP service:**\n\n        @Metered\n        @WebService\n        public HelloWorldSOAP {\n            @WebMethod\n            public String sayHello() {\n                return \"Hello world!\";\n            }\n        }\n\n**Dropwizard application:**\n\n        public class MyApplication extends Application\u003cMyApplicationConfiguration\u003e {\n\n            private JAXWSBundle jaxWsBundle = new JAXWSBundle();\n\n            @Override\n            public void initialize(Bootstrap\u003cMyApplicationConfiguration\u003e bootstrap) {\n                bootstrap.addBundle(jaxWsBundle);\n            }\n\n            @Override\n            public void run(MyApplicationConfiguration configuration, Environment environment) throws Exception {\n                jaxWsBundle.publishEndpoint(\n                    new EndpointBuilder(\"/hello\", new HelloWorldSOAP()));\n            }\n\n            public static void main(String[] args) throws Exception {\n                new MyApplication().run(args);\n            }\n        }\n\nClient\n------\n\nUsing HelloWorldSOAP web service client:\n\n        HelloWorldSOAP helloWorld = jaxWsBundle.getClient(\n            new ClientBuilder(HelloWorldSOAP.class, \"http://server/path\"));\n        System.out.println(helloWorld.sayHello());\n\nExamples\n--------\nModule `dropwizard-jaxws-example` contains Dropwizard application (`JaxWsExampleApplication`) with the following SOAP\nweb services and RESTful resources:\n\n* **SimpleService**: A minimal 'hello world' example.\n\n* **JavaFirstService**: Java first development example. `JavaFirstService` interface uses JAX-WS annotations.\n`JavaFirstServiceImpl` contains service implementation instrumented with Metrics annotations. Service is secured with\nbasic authentication using `dropwizard-auth`. `BasicAuthenticator` implements Dropwizard `Authenticator`.\n`JavaFirstServiceImpl` accesses authenticated user properties via injected JAX-WS `WebServiceContext`.\n\n* **WsdlFirstService**: WSDL first development example. WSDL is stored in `resources/META-INF/WsdlFirstService.wsdl`.\nCode is generated using `cxf-codegen-plugin` which is configured in `pom.xml`. `WsdlFirstServiceImpl` contains service\nimplementation with blocking and non-blocking methods. `WsdlFirstServiceHandler` contains server-side JAX-WS handler.\n\n* **HibernateExampleService**: `dropwizard-hibernate` example. `HibernateExampleService` implements the service.\n`@UnitOfWork` annotations are used for defining transactional boundaries. `@Valid` annotation is used for parameter\nvalidation on `createPerson` method. `HibernateExampleService` accesses the database through `PersonDAO`. Embedded H2\ndatabase is used. Database configuration is stored in Dropwizard config file `config.yaml`.\n\n* **MtomService**: WSDL first MTOM attachment example. WSDL is stored in `resources/META-INF/MtomService.wsdl`.\nCode is generated using `cxf-codegen-plugin` which is configured in `pom.xml`. `MtomServiceImpl` contains service\nimplementation with MTOM enabled.\n\n* **AccessProtectedServiceResource**: Dropwizard RESTful service which uses `JavaFirstService` client to invoke\n`JavaFirstService` SOAP web service on the same host. User credentials are provided to access protected service.\n\n* **AccessWsdlFirstServiceResource**: Dropwizard RESTful service which uses `WsdlFirstService` client to invoke\n`WsdlFirstService` SOAP web service on the same host. `WsdlFirstClientHandler` contains client-side JAX-WS handler.\n\n* **AccessMtomServiceResource**: Dropwizard RESTful service which uses `MtomService` client to invoke\n`MtomService` SOAP web service on the same host as an example for client side MTOM support.\n\n* See `JaxWsExampleApplication` for examples on usage of client side JAX-WS handler and CXF interceptors.\n\n### Running the examples:\n\nAfter cloning the repository, go to the dropwizard-jaxws root folder and run:\n\n        mvn package\n\nTo run the example service:\n\n        java -jar dropwizard-jaxws-example\\target\\dropwizard-jaxws-example-1.2.3.jar server dropwizard-jaxws-example\\config.yaml\n\nNotes\n-----\n\n### Building FAT jar\n\nWhen using `maven-shade-plugin` for building fat jar, you must add the following `transformer` element to plugin\nconfiguration:\n\n        \u003ctransformer implementation=\"org.apache.maven.plugins.shade.resource.AppendingTransformer\"\u003e\n            \u003cresource\u003eMETA-INF/cxf/bus-extensions.txt\u003c/resource\u003e\n        \u003c/transformer\u003e\n\nFor example on building fat jar, see `dropwizard-jaxws-example/pom.xml`.\n\nWhen using Gradle and a recent version of [shadowJar](https://github.com/johnrengelman/shadow) use the following snippet:\n\n    shadowJar {\n        // ...\n        append('META-INF/cxf/bus-extensions.txt')\n    }\n    \nLicense\n-------\nApache Software License 2.0, see [LICENSE](https://github.com/roskart/dropwizard-jaxws/blob/master/LICENSE).\n\nChangelog\n---------\n\n### v1.2.3\n\n- Upgraded to CXF 3.5.2 (see Issue #33).\n- Upgraded to Dropwizard 2.0.29 (see Issue #33).\n- Bump junit from 4.13.1 to 4.13.2 (see Issue #33).\n- Bump mockito from 1.9.5 to 1.10.19 (see Issue #33).\n\n### v1.2.2\n\n- Upgraded to CXF 3.4.4 (see Issue #30).\n- Upgraded to Dropwizard 2.0.24 (see Issue #30).\n- Bump junit from 4.11 to 4.13.1 (see Pull Request #28).\n\n### v1.2.1\n\n- Upgraded to CXF 3.3.6 (see Issue #25).\n- Upgraded to Dropwizard 2.0.9 (see Issue #25).\n\n### v1.2.0\n\n- Upgraded to Dropwizard 2.0.0 (see Issue #22).\n\n### v1.1.0\n\n- Invalid username or password returns 403 status code (see Issue #20).\n- Null pointer on missing credentials (see Pull request #19).\n- Upgraded to Dropwizard 1.3.13.\n- Upgraded to CXF 3.2.9.\n\n### v1.0.5\n\n- Added possibility to set binding id on client proxy factory (see Issue #14).\n- Upgraded to Dropwizard 1.3.5 (see Pull request #16).\n- Upgraded to CXF 3.2.6 (see Issue #17).\n\n### v1.0.4\n\n- JAXWSBundle now returns JAX-WS endpoint (see Issue #13).\n\n### v1.0.3\n\n- Support for providing a property bag to JAX-WS endpoint (see Issue #13).\n- Upgraded to Dropwizard 1.2.1.\n- Upgraded to CXF 3.2.1.\n\n### v1.0.2\n\n- Upgraded to Dropwizard 1.1.0.\n- Upgraded to CXF 3.1.11.\n\n### v1.0.1\n\n- Upgraded to Dropwizard 1.0.2.\n\n### v1.0.0\n\n- Upgraded to Dropwizard 1.0.0.\n- Upgraded to CXF 3.1.6.\n- Java 8 is used by default.\n- Added support for publishedEndpointUrl (see Pull request #9).\n\n### v0.10.2\n\n- Added support for CXF @UseAsyncMethod annotation (see Pull request #8).\n\n### v0.10.1\n\n- Added support for multiple JAXWSBundle instances (see Issue #7).\n\n### v0.10.0\n\n- Upgraded to Dropwizard 0.9.2.\n\n### v0.9.0\n\n- Upgraded to Dropwizard 0.9.1.\n- Upgraded to CXF 3.1.4.\n\n### v0.8.0\n\n- Project is now released to Maven Central. Maven coordinates were changed.\n\n### v0.7.0\n\n- Upgraded to Dropwizard 0.8.1.\n\n### v0.6.0\n\n- Upgraded to Dropwizard 0.8.0.\n- Upgraded to CXF 3.0.4.\n\n### v0.5.0\n\n- Upgraded to Dropwizard 0.7.1.\n- Upgraded to CXF 3.0.0.\n\n### v0.4.0\n\n- Added MTOM support and examples.\n\n### v0.3.0\n\n- Updated JAXWSBundle API: introduced EndpointBuilder and ClientBuilder.\n- Added suport for CXF interceptors.\n\n### v0.2.0\n\n- Upgraded to Dropwizard 0.7.0.\n- Upgraded to CXF 2.7.8.\n\n### v0.1.0\n\n- Initial Release (uses Dropwizard 0.6.2).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froskart%2Fdropwizard-jaxws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froskart%2Fdropwizard-jaxws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froskart%2Fdropwizard-jaxws/lists"}