Sign in to edit and +1 items.
Login required
Download

Cxf Client - Support for Soap Service Endpoints

(1)
Author(s) Christian Oestreich
Current Release 1.3.1   (1 month ago)
Grails Version 1.3.0 > *
License(s) Apache License 2.0
Tags client  cxf  jaxb  soap  web service  webservice  wsdl  wsdl2java 
Dependency
compile ":cxf-client:1.3.1"
Used for easily calling soap web services. Provides wsdl2java grails target to easily generate code into src/java from configured cxf clients. Ability to dynamically update endpoint at runtime.
Last updated by ctoestreich 7 months ago
grails install-plugin cxf-client
Last updated by ctoestreich 3 months ago
The Cxf Client plugin will allow you to use existing (or new) apache cxf wsdl2java generated content to invoke soap services. The plugin will also cache the port reference to speed up your soap service end point invocations. The client(s) are easily configured via the standard grails config Config.groovy file.

Also bundled with this plugin is a wsdl2java grails script run target for you to quickly and easily generate the cxf client components from a wsdl directly into your src/java directory.

v1.2.2 - By default you can invoke secure services using wss4j by setting secure = true, but there is also the ability to define and use a custom security out interceptor.

v1.2.3 - The ability to define a list of in, out or fault out interceptors for each client. You can still use the same single security interceptor as before, or you can use a more generic approach and define any number of interceptors you see fit. You can also now disable the default logging interceptors to turn off logging. You can also disable the default logging interceptors and define your own if you wish to manipulate the logged data to remove sensitive data for example.

v1.2.4 - User can now provide a wsdlArgs to specify a custom list of commands to pass to the wsdl2java command for each client such as

wsdlArgs = ["-autoNameResolution","-validate"]
.

v1.2.5 - Changed the keyword binding to bindingFile as that is a reserved keyword.

v1.2.6 - Added the ability to specify a connectionTimeout and a receiveTimeout for each client that will be used when creating the client proxy. Defaults to cxf default values of 30000 and 60000 ms respectively. Can be set to 0 to disable timeout and wait indefinitely for a response.

v1.2.7 - Ability to set allowChunking. Ability to specify custom HTTPClientPolicy bean to use for the client instead of separate timeouts (connection/receive) and chunking (see https://github.com/ctoestreich/cxf-client-demo/blob/master/grails-app/conf/spring/resources.groovy for more details)

Documentation can be found at https://github.com/ctoestreich/cxf-client

Sample implementation can be found at https://github.com/ctoestreich/cxf-client-demo

Last updated by ctoestreich 7 months ago
Last updated by ctoestreich 7 months ago