Commit Graph

1968 Commits

Author SHA1 Message Date
Arjen Poutsma
ded1efd456 Correctly set HTTP status code on SOAP 1.2 fault
SOAP v1.2 specifies that for SOAP Fault's with Code of "env:Sender" the
HTTP response status code should be 400 (rather than 500 for all other
faults). This commit changes both client and server-side to reflect
this.

Issue: SWS-868
2014-04-23 15:22:59 +02:00
Arjen Poutsma
d43b880637 WS-Addressing EMs support SmartEndpointInterceptor
All WS-Addressing EndpointsMappings now support endpoint interceptors
registered via a <sws:interceptors/> block (i.e.
SmartEndpointInteceptors).

Issue: SWS-874
2014-04-23 14:24:05 +02:00
Arjen Poutsma
bbc6bf5f60 Fixing javadoc 2014-04-16 17:30:39 +02:00
Arjen Poutsma
124675ba78 Fixed build under JDK 1.8
Spring-WS can now be built under JDK 1.8 (and only JDK 1.8).
2014-04-15 15:55:13 +02:00
Arjen Poutsma
09d614bbec Disable external ents in AxiomSoapMessageFactory
Added properties to disable resolution of external entities to
AxiomSoapMessageFactory. Disabled by default.

Issue: SWS-873
2014-04-15 15:37:48 +02:00
Arjen Poutsma
04c429ba0d Figuring out why the build fails 2014-04-15 13:17:13 +02:00
Arjen Poutsma
bcd0ead493 Figuring out why the build fails 2014-04-15 13:13:03 +02:00
Arjen Poutsma
f7debd463e Figuring out why the build fails 2014-04-15 13:09:51 +02:00
Arjen Poutsma
15df1c784c Figuring out why the build fails 2014-04-15 13:07:01 +02:00
Arjen Poutsma
ca5c0e6c53 Figuring out why the build fails 2014-04-15 12:59:22 +02:00
Arjen Poutsma
a2d228b774 Updated reference documentation to Docbook 5 2014-04-15 12:50:12 +02:00
Arjen Poutsma
f11317c560 Bumped version to 2.2 2014-04-15 11:07:48 +02:00
Arjen Poutsma
da629278e6 Added @Override annotation to interface implementations 2014-04-14 16:08:00 +02:00
Arjen Poutsma
06d735659c Unconditionally call SAAJ SOAPMessage#saveChanges
In some scenarios, the saveRequired() flag of the SAAJ SOAPMessage does
not indicate whether the internal state of the message is valid. Since
calling it is therefore useless, we unconditionally call saveChanges()
now.

Issue: SWS-870, SWS-871
2014-04-14 12:00:13 +02:00
Arjen Poutsma
a23de2afd2 Removed SaajImplementation bridge
Removed SaajImplementation bridge, since Spring-WS 2.2 requires JDK 1.6
and JDK 1.6 comes with SAAJ 1.3 provided.
2014-04-11 16:17:47 +02:00
Arjen Poutsma
160907a6e1 Introduced @Configuration support for Spring-WS
Introduced support for Java @Configuration classes in the form of the
@EnableWS annotation, WsConfigurationSupport and WsConfigurer.
Overall solution is quite similar to Spring-MVC's @EnableMvc.

Also added/uopdated reference documentation for the various
@Configuration options.

Issue: SWS-836
2014-04-10 15:59:41 +02:00
Arjen Poutsma
3522effaea Upgraded to Spring 4.0.3 and XMLUnit 1.5
Upgraded to XMLUnit 1.5, which broke some tests in SWS as well as SPR.
Spring 4.0.3 fixed those, so upgraded to that as well.
2014-03-28 13:31:54 +01:00
Arjen Poutsma
65245a1cbb Upgraded to WS-Commans XML Schema 2.1 2014-03-20 14:51:37 +01:00
Arjen Poutsma
b2c518ece0 Document supported standards
Document supported WS-* standards.

Issue: SWS-846
2014-03-20 14:39:41 +01:00
Arjen Poutsma
06ff649b74 Support null return value for JAXB
Support null return values for JAXB MethodReturnValueHandlers.\

Issue: SWS-867
2014-03-20 14:05:46 +01:00
Arjen Poutsma
9f4e2937c8 Introduce TrustManagersFactoryBean
Introduced TrustManagersFactoryBean for easy configuration of
TrustManager instances in Spring XML.

Issue: SWS-731
2014-03-19 12:34:27 +01:00
Arjen Poutsma
0c8850b99a Merge branch 'master' of github.com:SpringSource/spring-ws 2014-03-18 15:50:34 +01:00
Arjen Poutsma
ac030c2ff3 Added afterCompletion to ClientInterceptor
Added the afterCompletion hook to ClientInterceptor, similar to the
existing one in EndpointInterceptor.

Issue: SWS-778
2014-03-18 15:49:49 +01:00
Arjen Poutsma
1a1d7caeb9 Merge pull request #13 from AlexYursha/patch-1
Fix semantic typo.
2014-03-13 11:16:32 +01:00
Alex Yursha
a056b602ef Update server.xml 2014-03-12 17:58:22 +03:00
Arjen Poutsma
a300d7ce1e Merge pull request #12 from wilkinsona/maven-plugin
Enable easy installation into local Maven repo
2014-02-26 10:12:04 +01:00
Andy Wilkinson
257f47965f Enable easy installation into local Maven repo
To allow easy installation of the built artifacts into the local Maven
repository, this commit applies the Maven plugin to all Gradle
subprojects. As a result, the install task can now be used to perform
the installation
2014-02-25 13:16:25 +00:00
Arjen Poutsma
35a8831528 Introduced @PayloadRoots annotation
Introduced the @PayloadRoots annotation, a composite of @PayloadRoot.
which allows users to map to multiple payload root element names.

Issue: SWS-864
2014-02-25 12:41:04 +01:00
Arjen Poutsma
05e6a960d9 Merge pull request #11 from wilkinsona/eclipse
Improve Eclipse setup
2014-02-21 11:59:41 +01:00
Andy Wilkinson
eed9000625 Improve Eclipse setup
Only apply the Eclipse plugin to subprojects. This prevents the
creation of an Eclipse project for the root Gradle project which was
masking the Eclipse projects for all of the Gradle sub-projects.

Update .gitignore to ignore the bin folder created by builds in
Eclipse.
2014-02-20 14:47:04 +00:00
Arjen Poutsma
473b4285fd Fixing tests for JDK 1.7
Fixed a couple of tests so that they work under JDK 1.7.
2014-02-12 16:49:37 +01:00
Arjen Poutsma
a201cfcb1e Upgrade Gradle to 1.10 2014-02-11 10:21:18 +01:00
Arjen Poutsma
50fe028cef Added test for XSD attributes
Added additional tests for inlining XSD attributes.

Issue: SWS-861
2014-02-11 10:18:39 +01:00
Arjen Poutsma
ea9e2d1d2d Added test for XSD attributes
Added additional tests for inlining XSD attributes.

Issue: SWS-861
2014-02-10 15:56:44 +01:00
Arjen Poutsma
6d3db750cc Removed Token signing section
Removes section that mentions the special "Token" keyword in binary
signature signing, since that feature is no longer supported as of WSS4J
1.6

Issue: SWS-842
2014-02-06 14:03:24 +01:00
Arjen Poutsma
b3964b7916 Added template method for NoEndpointFoundException
Introduced handleNoEndpointFoundException to allow for customization in
subclasses.

Issue: SWS-850
2014-02-03 12:50:09 +01:00
Arjen Poutsma
6620b1a39d Configurable PKIXBuilderParameters for XWSS
Allow customization of the PKIXBuilderParameters by having a factory
method for it. Also added a revocationEnabled flag, defaulting to false.

Issue: SWS-853
2014-02-03 11:55:05 +01:00
Arjen Poutsma
84a52e2bd5 Make future time to live configurable
Added timeToLive property to the Wss4jSecurityInterceptor.

Issue: SWS-862
2014-02-03 11:04:40 +01:00
Arjen Poutsma
37ba8f8a35 Merge branch 'master' of github.com:SpringSource/spring-ws 2014-01-31 16:02:59 +01:00
Arjen Poutsma
a0b1df6f18 Fixed dependencies for spring-ws-test 2014-01-31 16:02:09 +01:00
Arjen Poutsma
dffa62c9a2 WSMessageSender based on ClientHttpRequestFactory
Introduced an implementation of WebServiceSender that wraps
ClientHttpRequestFactory, as found in Spring 3.

Issue: SWS-859
2014-01-31 16:00:22 +01:00
Arjen Poutsma
ea2ba91c8c Merge pull request #10 from NVolcz/master
Corrected issue tracking section.
2014-01-31 01:31:04 -08:00
Niklas Volcz
cadc74ddcf Corrected issue tracking section. Copy-pasta said Spring Scala should have said Spring Web Services. 2014-01-31 07:42:53 +01:00
Arjen Poutsma
7d3b420ae9 Updated tutorial to SWS 2.1
Updated tutorial to use Spring-WS 2.0.1, specifically JDOM 2.

Issue: SWS-854
2014-01-30 16:13:42 +01:00
Arjen Poutsma
cca13ec49b Javadoc 2014-01-30 14:08:17 +01:00
Arjen Poutsma
1c1db7d914 AxiomUtils.toEnveloper now using StAXUtils
Previously, AxiomUtils.toEnvelope() constructed its own XMLInputFactory
for creating a XMLStreamReader. Now we use Axiom's StAXUtils instead,
thus allowing users to use the standard Axiom mechanisms for setting
STAX properties etc.

Issue: SWS-851
2014-01-27 12:42:57 +01:00
Arjen Poutsma
b12a3e63a1 Resolved NullPointerException
When the payload is null, the PayloadRootSmartSoapEndpointInterceptor
does not throw an exception anymore.

Issue: SWS-857
2014-01-27 12:18:47 +01:00
Arjen Poutsma
3571d6dfe8 Return null URI for null Destination
JmsTransportUtils.toUri now returns null for null destination
parameters.

Issue: SWS-848
2014-01-27 12:11:19 +01:00
Arjen Poutsma
ce64a6a742 Merge pull request #9 from apechinsky/wrongLoggerCheck
Wrong check if logger is enabled in WebServiceTemplate.logResponse method.
2014-01-16 05:01:33 -08:00
Anton Pechinsky
2847659522 Wrong check if logger is enabled in WebServiceTemplate.logResponse method. 2014-01-15 19:21:59 +03:00