SpringWebServicesForFun/.git
7 years agoUsing arguments with CommandLineRunner master origin/HEAD origin/master
Gustavo Martin Morcuende [Sun, 19 Feb 2017 22:41:00 +0000 (23:41 +0100)]
Using arguments with CommandLineRunner

7 years agoSpring Boot REST Client
Gustavo Martin Morcuende [Sun, 5 Feb 2017 19:39:52 +0000 (20:39 +0100)]
Spring Boot REST Client

7 years agoSpring Boot REST
Gustavo Martin Morcuende [Sun, 5 Feb 2017 17:33:44 +0000 (18:33 +0100)]
Spring Boot REST

7 years agojaxb2: generate default values by means of jaxb2-default-value plugin.
Gustavo Martin Morcuende [Thu, 11 Aug 2016 18:05:48 +0000 (20:05 +0200)]
jaxb2: generate default values by means of jaxb2-default-value plugin.

Wi will use it when having default fields in some XSD.

7 years agocxf: non required cxf-xjc-dv extension because we just have default values in parent...
Gustavo Martin Morcuende [Thu, 11 Aug 2016 18:04:18 +0000 (20:04 +0200)]
cxf: non required cxf-xjc-dv extension because we just have default values in parent.xsd file

7 years agocxf-xjc-dv: how to use it and what is it for.
Gustavo Martin Morcuende [Mon, 8 Aug 2016 19:51:54 +0000 (21:51 +0200)]
cxf-xjc-dv: how to use it and what is it for.

7 years agoUsing schemas.gumartinm.name where it is required (trying to make different namespace...
Gustavo Martin Morcuende [Mon, 18 Jul 2016 19:19:45 +0000 (21:19 +0200)]
Using schemas.gumartinm.name where it is required (trying to make different namespaces for WSDL and schemas, dunno whether it is worth it)

7 years agoProblems (some XSD Eclipse tools stop working) when using HTTPS instead of HTTP....
Gustavo Martin Morcuende [Sun, 17 Jul 2016 16:47:18 +0000 (18:47 +0200)]
Problems (some XSD Eclipse tools stop working) when using HTTPS instead of HTTP. You better use HTTP always.

7 years agoResponse objects must be annotated with @XmlRootElement.
Gustavo Martin Morcuende [Fri, 15 Jul 2016 19:02:49 +0000 (21:02 +0200)]
Response objects must be annotated with @XmlRootElement.

Otherwise you will end up with this error: "No adapter for endPoint"

7 years agoI do not know why but JAXB2 works better when XSD types end with the Type suffix
Gustavo Martin Morcuende [Fri, 15 Jul 2016 18:54:36 +0000 (20:54 +0200)]
I do not know why but JAXB2 works better when XSD types end with the Type suffix

7 years agoRequires loggers and levels for loggin information about sent and received data
Gustavo Martin Morcuende [Fri, 15 Jul 2016 17:05:41 +0000 (19:05 +0200)]
Requires loggers and levels for loggin information about sent and received data

8 years agoSOAP: custom connection and read time out for client SOAP connections
Gustavo Martin Morcuende [Sun, 21 Feb 2016 16:48:17 +0000 (17:48 +0100)]
SOAP: custom connection and read time out for client SOAP connections

8 years agoREST: CarController, removing non required import
Gustavo Martin Morcuende [Sat, 6 Feb 2016 12:48:03 +0000 (13:48 +0100)]
REST: CarController, removing non required import

8 years agoREST: more than 13M just for documentation (I don't like it at all)
Gustavo Martin Morcuende [Sun, 24 Jan 2016 23:18:37 +0000 (00:18 +0100)]
REST: more than 13M just for documentation (I don't like it at all)

Alternative: mess around with Maven profiles (you already made it before but it is a bit more complicated)

8 years agoREST: documentation will always be released
Gustavo Martin Morcuende [Sun, 24 Jan 2016 23:09:35 +0000 (00:09 +0100)]
REST: documentation will always be released

Our projects will have more clases because of this :(

8 years agoREST: springfox improvements, WADL generation
Gustavo Martin Morcuende [Sun, 24 Jan 2016 23:07:57 +0000 (00:07 +0100)]
REST: springfox improvements, WADL generation

springfox responseContainer="List" doesn't work for me :(

8 years agoREST: cleaning up package names and services (interfaces with implementations)
Gustavo Martin Morcuende [Fri, 8 Jan 2016 22:35:19 +0000 (23:35 +0100)]
REST: cleaning up package names and services (interfaces with implementations)

8 years agoREST integration test POST, missing expected body.
Gustavo Martin Morcuende [Fri, 8 Jan 2016 22:15:32 +0000 (23:15 +0100)]
REST integration test POST, missing expected body.

8 years agoREST, taken from JavaForFun
Gustavo Martin Morcuende [Fri, 8 Jan 2016 21:48:32 +0000 (22:48 +0100)]
REST, taken from JavaForFun

8 years agoSpring REST: missing test
Gustavo Martin Morcuende [Thu, 7 Jan 2016 00:13:23 +0000 (01:13 +0100)]
Spring REST: missing test

8 years agoSpring REST: remove doc from client y global maven projects
Gustavo Martin Morcuende [Wed, 6 Jan 2016 23:22:56 +0000 (00:22 +0100)]
Spring REST: remove doc from client y global maven projects

8 years agoSpring REST: integration tests: client y server (RestTemplate y Controller)
Gustavo Martin Morcuende [Wed, 6 Jan 2016 23:16:31 +0000 (00:16 +0100)]
Spring REST: integration tests: client y server (RestTemplate y Controller)

8 years agoSpring REST: Springfox (Swagger)
Gustavo Martin Morcuende [Sun, 3 Jan 2016 23:09:50 +0000 (00:09 +0100)]
Spring REST: Springfox (Swagger)

8 years agoSpring REST: Jackson requires default constructor
Gustavo Martin Morcuende [Sun, 3 Jan 2016 21:12:33 +0000 (22:12 +0100)]
Spring REST: Jackson requires default constructor

8 years agoSpring REST: integration tests
Gustavo Martin Morcuende [Sun, 3 Jan 2016 00:17:13 +0000 (01:17 +0100)]
Spring REST: integration tests

8 years agoSpring REST, integration tests
Gustavo Martin Morcuende [Sun, 3 Jan 2016 00:11:23 +0000 (01:11 +0100)]
Spring REST, integration tests

8 years agoREST: header Location after POST
Gustavo Martin Morcuende [Thu, 5 Nov 2015 19:42:47 +0000 (20:42 +0100)]
REST: header Location after POST

8 years agoREST: example with query params and custom headers
Gustavo Martin Morcuende [Thu, 5 Nov 2015 19:28:57 +0000 (20:28 +0100)]
REST: example with query params and custom headers

8 years agoSpringJava REST: CarController, commit related to
Gustavo Martin Morcuende [Tue, 8 Sep 2015 23:39:35 +0000 (01:39 +0200)]
SpringJava REST: CarController, commit related to

https://github.com/gumartinm/JavaScriptForFun/commit/ee9f818b18022b98b185cc1938a0302381c89329

8 years agoREST: Spring REST project for trying out AngularJS $http
Gustavo Martin Morcuende [Tue, 25 Aug 2015 18:57:49 +0000 (20:57 +0200)]
REST: Spring REST project for trying out AngularJS $http

8 years agoMaking space for REST services from JavaForFun repository
Gustavo Martin Morcuende [Fri, 8 Jan 2016 21:41:51 +0000 (22:41 +0100)]
Making space for REST services from JavaForFun repository

8 years agocxf jaxb2: custom header interceptor
Gustavo Martin Morcuende [Wed, 6 Jan 2016 01:43:32 +0000 (02:43 +0100)]
cxf jaxb2: custom header interceptor

8 years agojaxb2 and cxf: custom HTTP request message sender (for custom HTTP headers)
Gustavo Martin Morcuende [Wed, 30 Dec 2015 23:47:48 +0000 (00:47 +0100)]
jaxb2 and cxf: custom HTTP request message sender (for custom HTTP headers)

8 years agocxf: right URL in comments
Gustavo Martin Morcuende [Wed, 30 Dec 2015 23:43:08 +0000 (00:43 +0100)]
cxf: right URL in comments

8 years agojaxb and cxf: trying to make work Eclipse XML validations (no way)
Gustavo Martin Morcuende [Sun, 27 Dec 2015 02:48:05 +0000 (03:48 +0100)]
jaxb and cxf: trying to make work Eclipse XML validations (no way)

8 years agojaxb2: missing defaultUri for WS client
Gustavo Martin Morcuende [Mon, 21 Dec 2015 00:37:41 +0000 (01:37 +0100)]
jaxb2: missing defaultUri for WS client

8 years agojaxb2 and cxf: CustomFaultMessageResolver
Gustavo Martin Morcuende [Mon, 21 Dec 2015 00:33:13 +0000 (01:33 +0100)]
jaxb2 and cxf: CustomFaultMessageResolver

8 years agojaxb2, cxf: comment about how to implement custom SOAP Fault messages for validations
Gustavo Martin Morcuende [Sun, 20 Dec 2015 21:24:14 +0000 (22:24 +0100)]
jaxb2, cxf: comment about how to implement custom SOAP Fault messages for validations

Requires implementing our custom PayloadValidatingInterceptor class :(

8 years agojaxb2 and cxf: multiple changes
Gustavo Martin Morcuende [Sun, 20 Dec 2015 21:00:13 +0000 (22:00 +0100)]
jaxb2 and cxf: multiple changes

8 years agocxf and jaxb2: WebServiceTemplate using by default the declared strategies in WebServ...
Gustavo Martin Morcuende [Sun, 20 Dec 2015 19:26:38 +0000 (20:26 +0100)]
cxf and jaxb2: WebServiceTemplate using by default the declared strategies in WebServiceTemplate.properties file.

8 years agojaxb2: removing useless XSD Spring import from soap-ws.xml
Gustavo Martin Morcuende [Sun, 20 Dec 2015 19:17:25 +0000 (20:17 +0100)]
jaxb2: removing useless XSD Spring import from soap-ws.xml

8 years agocxf: multiple changes following jabx2 implementation
Gustavo Martin Morcuende [Sun, 20 Dec 2015 19:16:54 +0000 (20:16 +0100)]
cxf: multiple changes following jabx2 implementation

8 years agojaxb2: client-spring-configuration, PayloadValidatingInterceptor ORDER MATTERS!!!
Gustavo Martin Morcuende [Sun, 20 Dec 2015 18:45:07 +0000 (19:45 +0100)]
jaxb2: client-spring-configuration, PayloadValidatingInterceptor ORDER MATTERS!!!

8 years agojaxb2: after SHA: 4ba5acb72ebc24cc2100766cad088308dd64f4d5 new WSDL targetNamespace...
Gustavo Martin Morcuende [Sun, 20 Dec 2015 18:28:49 +0000 (19:28 +0100)]
jaxb2: after SHA: 4ba5acb72ebc24cc2100766cad088308dd64f4d5  new WSDL targetNamespace gumartinm.name/spring-ws/exampleService

8 years agojaxb2: improvements in MyCustomMappingExceptionResolver
Gustavo Martin Morcuende [Sun, 20 Dec 2015 18:26:37 +0000 (19:26 +0100)]
jaxb2: improvements in MyCustomMappingExceptionResolver

8 years agojaxb2: schemas in PayloadValidatingInterceptor, ORDER MATTERS!!!!
Gustavo Martin Morcuende [Sun, 20 Dec 2015 18:25:22 +0000 (19:25 +0100)]
jaxb2: schemas in PayloadValidatingInterceptor, ORDER MATTERS!!!!

8 years agocxf: web-services-spring-cxf-server, MyCustomExceptionResolver
Gustavo Martin Morcuende [Sun, 20 Dec 2015 05:23:06 +0000 (06:23 +0100)]
cxf: web-services-spring-cxf-server, MyCustomExceptionResolver

8 years agojaxb2: web-services-spring-jaxb2-server, MyCustomExceptionResolver
Gustavo Martin Morcuende [Sun, 20 Dec 2015 05:16:59 +0000 (06:16 +0100)]
jaxb2: web-services-spring-jaxb2-server, MyCustomExceptionResolver

8 years agojaxb2: maven-jaxb2-plugin for WSDLs is worse than cxf-codegen-plugin
Gustavo Martin Morcuende [Sun, 20 Dec 2015 03:25:56 +0000 (04:25 +0100)]
jaxb2: maven-jaxb2-plugin for WSDLs is worse than cxf-codegen-plugin

SO BETTER USE cxf-codegen-plugin FOR CREATING JAVA OBJECTS FROM WSDLs FILES!!!!!

8 years agojaxb2: maven-jaxb2-plugin, schemaLanguage option
Gustavo Martin Morcuende [Sun, 20 Dec 2015 03:20:53 +0000 (04:20 +0100)]
jaxb2: maven-jaxb2-plugin, schemaLanguage option

8 years agojaxb2: web-services-spring-jaxb2-client, defaultUri http://gumartinm.name/spring...
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:47:29 +0000 (02:47 +0100)]
jaxb2: web-services-spring-jaxb2-client, defaultUri gumartinm.name/spring-ws/example

8 years agocxf: improvements
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:47:00 +0000 (02:47 +0100)]
cxf: improvements

8 years agocxf: web-services-spring-jaxb2-client, WSDL with Fault messages
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:11:09 +0000 (02:11 +0100)]
cxf: web-services-spring-jaxb2-client, WSDL with Fault messages

8 years agocxf: right log4j2 configuration
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:07:01 +0000 (02:07 +0100)]
cxf: right log4j2 configuration

8 years agojaxb2: fixing errors in client
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:00:18 +0000 (02:00 +0100)]
jaxb2: fixing errors in client

8 years agojaxb2: right log4j2 configuration
Gustavo Martin Morcuende [Sun, 20 Dec 2015 00:59:37 +0000 (01:59 +0100)]
jaxb2: right log4j2 configuration

8 years agojaxb2: web-services-spring-jaxb2-client, WSDL with Fault messages
Gustavo Martin Morcuende [Sat, 19 Dec 2015 23:36:50 +0000 (00:36 +0100)]
jaxb2: web-services-spring-jaxb2-client, WSDL with Fault messages

8 years agojaxb2: web-services-spring-jaxb2-client using @Service annotation and creating schema...
Gustavo Martin Morcuende [Sat, 19 Dec 2015 23:35:48 +0000 (00:35 +0100)]
jaxb2: web-services-spring-jaxb2-client using @Service annotation and creating schemas directory

8 years agojaxb2: right maven plugin configuration for generating code from WSDL
Gustavo Martin Morcuende [Sat, 19 Dec 2015 23:28:57 +0000 (00:28 +0100)]
jaxb2: right maven plugin configuration for generating code from WSDL

8 years agocxf: many improvements about how Spring WS works
Gustavo Martin Morcuende [Sat, 19 Dec 2015 21:53:58 +0000 (22:53 +0100)]
cxf: many improvements about how Spring WS works

8 years agojaxb2: many improvements about how Spring WS works
Gustavo Martin Morcuende [Sat, 19 Dec 2015 21:43:11 +0000 (22:43 +0100)]
jaxb2: many improvements about how Spring WS works

8 years agolog4j2 improvements
Gustavo Martin Morcuende [Sat, 19 Dec 2015 15:25:21 +0000 (16:25 +0100)]
log4j2 improvements

8 years agoGetting rid of Jakarta Commons Logging (used by Spring)
Gustavo Martin Morcuende [Sat, 19 Dec 2015 15:22:32 +0000 (16:22 +0100)]
Getting rid of Jakarta Commons Logging (used by Spring)

8 years agoMerge branch 'master' of https://github.com/gumartinm/SpringWebServicesForFun
Gustavo Martin Morcuende [Sat, 19 Dec 2015 15:18:04 +0000 (16:18 +0100)]
Merge branch 'master' of https://github.com/gumartinm/SpringWebServicesForFun

Conflicts:
cxf/web-services-spring-cxf-client/src/main/resources/log4j2.xml
jaxb2/web-services-spring-jaxb2-client/src/main/resources/log4j2.xml

8 years agoGetting rid of Jakarta Commons Logging (used by Spring)
Gustavo Martin Morcuende [Sat, 19 Dec 2015 15:10:22 +0000 (16:10 +0100)]
Getting rid of Jakarta Commons Logging (used by Spring)

8 years agoGetting rid of Jakarta Commons Logging (used by Spring)
Gustavo Martin Morcuende [Sat, 19 Dec 2015 15:10:22 +0000 (16:10 +0100)]
Getting rid of Jakarta Commons Logging (used by Spring)

8 years agocxf: new url for autogenerated WSDL
Gustavo Martin Morcuende [Tue, 15 Dec 2015 23:59:04 +0000 (00:59 +0100)]
cxf: new url for autogenerated WSDL

8 years agojaxb2: jaxws:bindings not available with maven-jaxb2-plugin neither @WebService,...
Gustavo Martin Morcuende [Tue, 15 Dec 2015 23:57:05 +0000 (00:57 +0100)]
jaxb2: jaxws:bindings not available with maven-jaxb2-plugin neither @WebService, @WebServiceClient and @WebEndpoint

8 years agojaxb2: catalog working and comment about why maven-jaxb2-plugin is better than cxf...
Gustavo Martin Morcuende [Tue, 15 Dec 2015 22:16:47 +0000 (23:16 +0100)]
jaxb2: catalog working and comment about why maven-jaxb2-plugin is better than cxf-xjc-plugin

8 years agojaxb2: trying to use catalago. It is not working yet because plugin keeps downloading...
Gustavo Martin Morcuende [Tue, 15 Dec 2015 02:07:25 +0000 (03:07 +0100)]
jaxb2: trying to use catalago. It is not working yet because plugin keeps downloading remote parent.xsd :(

8 years agoupdate TODO list in README file
Gustavo Martin Morcuende [Mon, 14 Dec 2015 03:23:38 +0000 (04:23 +0100)]
update TODO list in README file

8 years agoUsing maven-jaxb2-plugin
Gustavo Martin Morcuende [Mon, 14 Dec 2015 03:19:31 +0000 (04:19 +0100)]
Using maven-jaxb2-plugin

8 years agocxf: pom.xml files, formatting
Gustavo Martin Morcuende [Sun, 13 Dec 2015 18:19:12 +0000 (19:19 +0100)]
cxf: pom.xml files, formatting

8 years agoPreparing to test jaxb2 plugin
Gustavo Martin Morcuende [Sun, 13 Dec 2015 18:01:25 +0000 (19:01 +0100)]
Preparing to test jaxb2 plugin

8 years agoArrayList from XSD
Gustavo Martin Morcuende [Sun, 27 Sep 2015 23:24:03 +0000 (01:24 +0200)]
ArrayList from XSD

8 years agoMerge branch 'master' of https://github.com/gumartinm/SpringWebServicesForFun
Gustavo Martin Morcuende [Sun, 7 Jun 2015 23:32:56 +0000 (01:32 +0200)]
Merge branch 'master' of https://github.com/gumartinm/SpringWebServicesForFun

8 years agoclient integration tests, client custom bindings
Gustavo Martin Morcuende [Sun, 7 Jun 2015 23:20:42 +0000 (01:20 +0200)]
client integration tests, client custom bindings

8 years agoclient integration tests, client custom bindings
Gustavo Martin Morcuende [Sun, 7 Jun 2015 23:20:42 +0000 (01:20 +0200)]
client integration tests, client custom bindings

8 years agofixing minor issues
Gustavo Martin Morcuende [Fri, 5 Jun 2015 00:19:43 +0000 (02:19 +0200)]
fixing minor issues

8 years agousing maven-surefire-plugin and maven-failsafe-plugin
Gustavo Martin Morcuende [Fri, 5 Jun 2015 00:13:57 +0000 (02:13 +0200)]
using maven-surefire-plugin and maven-failsafe-plugin

8 years agointegration and unit tests
Gustavo Martin Morcuende [Thu, 4 Jun 2015 22:29:27 +0000 (00:29 +0200)]
integration and unit tests

8 years agoadding parent.xsd to PayloadValidatingInterceptor
Gustavo Martin Morcuende [Thu, 4 Jun 2015 18:20:32 +0000 (20:20 +0200)]
adding parent.xsd to PayloadValidatingInterceptor

8 years agomaking work server integration tests
Gustavo Martin Morcuende [Thu, 4 Jun 2015 18:19:40 +0000 (20:19 +0200)]
making work server integration tests

8 years agoimprovements to catalog.cat file
Gustavo Martin Morcuende [Thu, 4 Jun 2015 18:19:16 +0000 (20:19 +0200)]
improvements to catalog.cat file

8 years agocatalog.cat, nice links with documentation
Gustavo Martin Morcuende [Mon, 1 Jun 2015 00:20:43 +0000 (02:20 +0200)]
catalog.cat, nice links with documentation

8 years agousing catalog.cat
Gustavo Martin Morcuende [Sun, 31 May 2015 23:38:50 +0000 (01:38 +0200)]
using catalog.cat

8 years agoweb-services-spring-globalxsds: global project for sharing autogenerated java classes...
Gustavo Martin Morcuende [Sun, 31 May 2015 23:04:48 +0000 (01:04 +0200)]
web-services-spring-globalxsds: global project for sharing autogenerated java classes among different projects

8 years agoMerge branch 'master' of https://github.com/gumartinm/SpringWebServicesForFun
Gustavo Martin Morcuende [Sun, 31 May 2015 11:26:30 +0000 (13:26 +0200)]
Merge branch 'master' of https://github.com/gumartinm/SpringWebServicesForFun

8 years agoCustom xs:dateTime binder
Gustavo Martin Morcuende [Sun, 31 May 2015 11:10:13 +0000 (13:10 +0200)]
Custom xs:dateTime binder

8 years agoCustom xs:dateTime binder
Gustavo Martin Morcuende [Sun, 31 May 2015 11:10:13 +0000 (13:10 +0200)]
Custom xs:dateTime binder

8 years agocxf-xjc-dv: update version from 2.3.0 to 3.0.3
Gustavo Martin Morcuende [Sun, 31 May 2015 11:08:19 +0000 (13:08 +0200)]
cxf-xjc-dv: update version from 2.3.0 to 3.0.3

8 years agoSpring Web Services SOAP: new implementation
Gustavo Martin Morcuende [Mon, 25 May 2015 03:19:48 +0000 (05:19 +0200)]
Spring Web Services SOAP: new implementation

8 years agoNo time for comments
gu.martinm@gmail.com [Wed, 20 May 2015 21:06:14 +0000 (23:06 +0200)]
No time for comments

8 years agoTODO: I do not manage to use custom bindings when generating Java code from WSDL.
gu.martinm@gmail.com [Mon, 18 May 2015 21:07:39 +0000 (23:07 +0200)]
TODO: I do not manage to use custom bindings when generating Java code from WSDL.

8 years agoUpdates to Java 8
gu.martinm@gmail.com [Mon, 18 May 2015 21:07:08 +0000 (23:07 +0200)]
Updates to Java 8

8 years agoWith cxf-xjc-plugin and cxf-codegen-plugin we can use many other plugins.
gu.martinm@gmail.com [Mon, 18 May 2015 20:43:22 +0000 (22:43 +0200)]
With cxf-xjc-plugin and cxf-codegen-plugin we can use many other plugins.

I was using jaxb2-basics for inheritance but now I also use jaxb2-basics-annotate
which allow me to annotate classes, methods properties, etc, etc. These plugins
generate code from xsd files. We can also use custom bindings if we do not want
(or we may not) modify the xsd files but we want to generate code with those
extensions (inheritance and annotation)

8 years agoInstructions about how to compile, deploy and run Jetty server
gu.martinm@gmail.com [Mon, 18 May 2015 20:40:56 +0000 (22:40 +0200)]
Instructions about how to compile, deploy and run Jetty server

It is an old Jetty version and there are better ways of doing what
I am doing but no time right now to improve the way of building
and running on Jetty server. See for example Spring Boot.

10 years agoAvoid inheritance in XSD files with JAXB custom bindings.
gu.martinm@gmail.com [Sun, 9 Feb 2014 14:18:20 +0000 (15:18 +0100)]
Avoid inheritance in XSD files with JAXB custom bindings.

11 years agoLoads of changes.
gumartinm [Tue, 13 Nov 2012 04:11:11 +0000 (05:11 +0100)]
Loads of changes.

Client Integration Test is not working yet. :(

11 years agoMinor changes.
gumartinm [Sun, 11 Nov 2012 15:53:11 +0000 (16:53 +0100)]
Minor changes.