Skip to content

Fixed serialization and status code of SOAP 1.1 exceptions#679

Merged
copierrj merged 6 commits into
deegree:masterfrom
lat-lon:fixSoap11Exceptions-3057
Aug 30, 2016
Merged

Fixed serialization and status code of SOAP 1.1 exceptions#679
copierrj merged 6 commits into
deegree:masterfrom
lat-lon:fixSoap11Exceptions-3057

Conversation

@dstenger

Copy link
Copy Markdown
Contributor

Serialization of SOAP 1.1 exceptions fails:

Caused by: java.lang.UnsupportedOperationException
    at org.apache.axiom.soap.impl.llom.soap11.SOAP11Factory.createSOAPFaultValue(SOAP11Factory.java:170)
    at org.deegree.services.controller.exception.serializer.SOAPExceptionSerializer.serializeExceptionToXML(SOAPExceptionSerializer.java:143)
    at org.deegree.services.controller.exception.serializer.XMLExceptionSerializer.serializeException(XMLExceptionSerializer.java:65)
    at org.deegree.services.controller.AbstractOWS.sendException(AbstractOWS.java:447)
    ... 23 more

In addition, the OWS110 exception codes are erroneous (always 200 instead of 400/403/500).

Both issues are fixed by this pull request.

@dstenger dstenger added bug error issue and bug (fix) in progress PR is still under construction labels Feb 15, 2016
@tfr42 tfr42 added this to the 3.4 milestone Mar 16, 2016
@tfr42 tfr42 added the needs rebase PR is not up to date and needs rebase label Aug 17, 2016
@lgoltz lgoltz removed the needs rebase PR is not up to date and needs rebase label Aug 22, 2016
@copierrj copierrj merged commit 5921053 into deegree:master Aug 30, 2016
@copierrj copierrj removed the in progress PR is still under construction label Aug 30, 2016
@lgoltz lgoltz deleted the fixSoap11Exceptions-3057 branch December 8, 2022 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug error issue and bug (fix)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants