Gustavo Martin Morcuende [Sun, 5 Feb 2017 19:39:52 +0000 (20:39 +0100)]
Spring Boot REST Client
Gustavo Martin Morcuende [Sun, 5 Feb 2017 17:33:44 +0000 (18:33 +0100)]
Spring Boot REST
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.
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
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.
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)
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.
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"
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
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
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
Gustavo Martin Morcuende [Sat, 6 Feb 2016 12:48:03 +0000 (13:48 +0100)]
REST: CarController, removing non required import
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)
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 :(
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 :(
Gustavo Martin Morcuende [Fri, 8 Jan 2016 22:35:19 +0000 (23:35 +0100)]
REST: cleaning up package names and services (interfaces with implementations)
Gustavo Martin Morcuende [Fri, 8 Jan 2016 22:15:32 +0000 (23:15 +0100)]
REST integration test POST, missing expected body.
Gustavo Martin Morcuende [Fri, 8 Jan 2016 21:48:32 +0000 (22:48 +0100)]
REST, taken from JavaForFun
Gustavo Martin Morcuende [Thu, 7 Jan 2016 00:13:23 +0000 (01:13 +0100)]
Spring REST: missing test
Gustavo Martin Morcuende [Wed, 6 Jan 2016 23:22:56 +0000 (00:22 +0100)]
Spring REST: remove doc from client y global maven projects
Gustavo Martin Morcuende [Wed, 6 Jan 2016 23:16:31 +0000 (00:16 +0100)]
Spring REST: integration tests: client y server (RestTemplate y Controller)
Gustavo Martin Morcuende [Sun, 3 Jan 2016 23:09:50 +0000 (00:09 +0100)]
Spring REST: Springfox (Swagger)
Gustavo Martin Morcuende [Sun, 3 Jan 2016 21:12:33 +0000 (22:12 +0100)]
Spring REST: Jackson requires default constructor
Gustavo Martin Morcuende [Sun, 3 Jan 2016 00:17:13 +0000 (01:17 +0100)]
Spring REST: integration tests
Gustavo Martin Morcuende [Sun, 3 Jan 2016 00:11:23 +0000 (01:11 +0100)]
Spring REST, integration tests
Gustavo Martin Morcuende [Thu, 5 Nov 2015 19:42:47 +0000 (20:42 +0100)]
REST: header Location after POST
Gustavo Martin Morcuende [Thu, 5 Nov 2015 19:28:57 +0000 (20:28 +0100)]
REST: example with query params and custom headers
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
Gustavo Martin Morcuende [Tue, 25 Aug 2015 18:57:49 +0000 (20:57 +0200)]
REST: Spring REST project for trying out AngularJS $http
Gustavo Martin Morcuende [Fri, 8 Jan 2016 21:41:51 +0000 (22:41 +0100)]
Making space for REST services from JavaForFun repository
Gustavo Martin Morcuende [Wed, 6 Jan 2016 01:43:32 +0000 (02:43 +0100)]
cxf jaxb2: custom header interceptor
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)
Gustavo Martin Morcuende [Wed, 30 Dec 2015 23:43:08 +0000 (00:43 +0100)]
cxf: right URL in comments
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)
Gustavo Martin Morcuende [Mon, 21 Dec 2015 00:37:41 +0000 (01:37 +0100)]
jaxb2: missing defaultUri for WS client
Gustavo Martin Morcuende [Mon, 21 Dec 2015 00:33:13 +0000 (01:33 +0100)]
jaxb2 and cxf: CustomFaultMessageResolver
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 :(
Gustavo Martin Morcuende [Sun, 20 Dec 2015 21:00:13 +0000 (22:00 +0100)]
jaxb2 and cxf: multiple changes
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.
Gustavo Martin Morcuende [Sun, 20 Dec 2015 19:17:25 +0000 (20:17 +0100)]
jaxb2: removing useless XSD Spring import from soap-ws.xml
Gustavo Martin Morcuende [Sun, 20 Dec 2015 19:16:54 +0000 (20:16 +0100)]
cxf: multiple changes following jabx2 implementation
Gustavo Martin Morcuende [Sun, 20 Dec 2015 18:45:07 +0000 (19:45 +0100)]
jaxb2: client-spring-configuration, PayloadValidatingInterceptor ORDER MATTERS!!!
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
Gustavo Martin Morcuende [Sun, 20 Dec 2015 18:26:37 +0000 (19:26 +0100)]
jaxb2: improvements in MyCustomMappingExceptionResolver
Gustavo Martin Morcuende [Sun, 20 Dec 2015 18:25:22 +0000 (19:25 +0100)]
jaxb2: schemas in PayloadValidatingInterceptor, ORDER MATTERS!!!!
Gustavo Martin Morcuende [Sun, 20 Dec 2015 05:23:06 +0000 (06:23 +0100)]
cxf: web-services-spring-cxf-server, MyCustomExceptionResolver
Gustavo Martin Morcuende [Sun, 20 Dec 2015 05:16:59 +0000 (06:16 +0100)]
jaxb2: web-services-spring-jaxb2-server, MyCustomExceptionResolver
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!!!!!
Gustavo Martin Morcuende [Sun, 20 Dec 2015 03:20:53 +0000 (04:20 +0100)]
jaxb2: maven-jaxb2-plugin, schemaLanguage option
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
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:47:00 +0000 (02:47 +0100)]
cxf: improvements
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:11:09 +0000 (02:11 +0100)]
cxf: web-services-spring-jaxb2-client, WSDL with Fault messages
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:07:01 +0000 (02:07 +0100)]
cxf: right log4j2 configuration
Gustavo Martin Morcuende [Sun, 20 Dec 2015 01:00:18 +0000 (02:00 +0100)]
jaxb2: fixing errors in client
Gustavo Martin Morcuende [Sun, 20 Dec 2015 00:59:37 +0000 (01:59 +0100)]
jaxb2: right log4j2 configuration
Gustavo Martin Morcuende [Sat, 19 Dec 2015 23:36:50 +0000 (00:36 +0100)]
jaxb2: web-services-spring-jaxb2-client, WSDL with Fault messages
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
Gustavo Martin Morcuende [Sat, 19 Dec 2015 23:28:57 +0000 (00:28 +0100)]
jaxb2: right maven plugin configuration for generating code from WSDL
Gustavo Martin Morcuende [Sat, 19 Dec 2015 21:53:58 +0000 (22:53 +0100)]
cxf: 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
Gustavo Martin Morcuende [Sat, 19 Dec 2015 15:25:21 +0000 (16:25 +0100)]
log4j2 improvements
Gustavo Martin Morcuende [Sat, 19 Dec 2015 15:22:32 +0000 (16:22 +0100)]
Getting rid of Jakarta Commons Logging (used by Spring)
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
Gustavo Martin Morcuende [Sat, 19 Dec 2015 15:10:22 +0000 (16:10 +0100)]
Getting 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)
Gustavo Martin Morcuende [Tue, 15 Dec 2015 23:59:04 +0000 (00:59 +0100)]
cxf: new url for autogenerated WSDL
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
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
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 :(
Gustavo Martin Morcuende [Mon, 14 Dec 2015 03:23:38 +0000 (04:23 +0100)]
update TODO list in README file
Gustavo Martin Morcuende [Mon, 14 Dec 2015 03:19:31 +0000 (04:19 +0100)]
Using maven-jaxb2-plugin
Gustavo Martin Morcuende [Sun, 13 Dec 2015 18:19:12 +0000 (19:19 +0100)]
cxf: pom.xml files, formatting
Gustavo Martin Morcuende [Sun, 13 Dec 2015 18:01:25 +0000 (19:01 +0100)]
Preparing to test jaxb2 plugin
Gustavo Martin Morcuende [Sun, 27 Sep 2015 23:24:03 +0000 (01:24 +0200)]
ArrayList from XSD
Gustavo Martin Morcuende [Sun, 7 Jun 2015 23:32:56 +0000 (01:32 +0200)]
Merge branch 'master' of https://github.com/gumartinm/SpringWebServicesForFun
Gustavo Martin Morcuende [Sun, 7 Jun 2015 23:20:42 +0000 (01:20 +0200)]
client 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
Gustavo Martin Morcuende [Fri, 5 Jun 2015 00:19:43 +0000 (02:19 +0200)]
fixing minor issues
Gustavo Martin Morcuende [Fri, 5 Jun 2015 00:13:57 +0000 (02:13 +0200)]
using maven-surefire-plugin and maven-failsafe-plugin
Gustavo Martin Morcuende [Thu, 4 Jun 2015 22:29:27 +0000 (00:29 +0200)]
integration and unit tests
Gustavo Martin Morcuende [Thu, 4 Jun 2015 18:20:32 +0000 (20:20 +0200)]
adding parent.xsd to PayloadValidatingInterceptor
Gustavo Martin Morcuende [Thu, 4 Jun 2015 18:19:40 +0000 (20:19 +0200)]
making work server integration tests
Gustavo Martin Morcuende [Thu, 4 Jun 2015 18:19:16 +0000 (20:19 +0200)]
improvements to catalog.cat file
Gustavo Martin Morcuende [Mon, 1 Jun 2015 00:20:43 +0000 (02:20 +0200)]
catalog.cat, nice links with documentation
Gustavo Martin Morcuende [Sun, 31 May 2015 23:38:50 +0000 (01:38 +0200)]
using catalog.cat
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
Gustavo Martin Morcuende [Sun, 31 May 2015 11:26:30 +0000 (13:26 +0200)]
Merge branch 'master' of https://github.com/gumartinm/SpringWebServicesForFun
Gustavo Martin Morcuende [Sun, 31 May 2015 11:10:13 +0000 (13:10 +0200)]
Custom xs:dateTime binder
Gustavo Martin Morcuende [Sun, 31 May 2015 11:10:13 +0000 (13:10 +0200)]
Custom xs:dateTime binder
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
Gustavo Martin Morcuende [Mon, 25 May 2015 03:19:48 +0000 (05:19 +0200)]
Spring Web Services SOAP: new implementation
gu.martinm@gmail.com [Wed, 20 May 2015 21:06:14 +0000 (23:06 +0200)]
No time for comments
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.
gu.martinm@gmail.com [Mon, 18 May 2015 21:07:08 +0000 (23:07 +0200)]
Updates to Java 8
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)
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.
gu.martinm@gmail.com [Sun, 9 Feb 2014 14:18:20 +0000 (15:18 +0100)]
Avoid inheritance in XSD files with JAXB custom bindings.
gumartinm [Tue, 13 Nov 2012 04:11:11 +0000 (05:11 +0100)]
Loads of changes.
Client Integration Test is not working yet. :(
gumartinm [Sun, 11 Nov 2012 15:53:11 +0000 (16:53 +0100)]
Minor changes.
gumartinm [Thu, 8 Nov 2012 01:07:25 +0000 (02:07 +0100)]
A lot of changes.
Client and server code auto generation.
Server integration tests.
Launching Jetty using a maven plugin.