Migrate Spring WS Axiom to SAAJ

Proprietary

Migrate from Apache Axiom SOAP message handling to SAAJ (SOAP with Attachments API for Java). Spring WS 4.0.x removed support for Apache Axiom because Axiom did not support Jakarta EE at the time. This recipe changes Axiom types to their SAAJ equivalents.

io.moderne.java.spring.ws.MigrateAxiomToSaaj
mod run . --recipe=io.moderne.java.spring.ws.MigrateAxiomToSaaj

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type AxiomSoapMessage to SaajSoapMessage
  2. Change type AxiomSoapMessageFactory to SaajSoapMessageFactory
  3. Change type AxiomAttachmentException to SaajAttachmentException
  4. Change type AxiomSoapBodyException to SaajSoapBodyException
  5. Change type AxiomSoapElementException to SaajSoapElementException
  6. Change type AxiomSoapEnvelopeException to SaajSoapEnvelopeException
  7. Change type AxiomSoapFaultException to SaajSoapFaultException
  8. Change type AxiomSoapHeaderException to SaajSoapHeaderException
  9. Change type AxiomSoapMessageCreationException to SaajSoapMessageCreationException
  10. Change type AxiomSoapMessageException to SaajSoapMessageException
  11. Remove a Gradle or Maven dependency org.apache.ws.commons.axiom:axiom-api
  12. Remove a Gradle or Maven dependency org.apache.ws.commons.axiom:axiom-impl