Example Java XML Consumer

Source Code

https://github.com/pactflow/example-consumer-java-soap

badge__2_.svg

can--i--deploy-master_to_production-brightgreen.svg: https://testdemo.pactflow.io/pacticipants/pactflow-example-bi-directional-provider-readyapi/branches/master/latest-version/can-i-deploy/to-environment/production/badge

pactflow--example--consumer--java--soap.svg: https://testdemo.pactflow.io/pacticipants/pactflow-example-bi-directional-provider-readyapi/branches/master/latest-version/can-i-deploy/to-environment/production/badge (latest pact)

pactflow--example--consumer--java--soap_pactflow--example--provider--java--soap_pact-verified-brightgreen.svg: https://testdemo.pactflow.io/pacticipants/pactflow-example-bi-directional-provider-readyapi/branches/master/latest-version/can-i-deploy/to-environment/production/badge (master/master pact)

This is an example of a Java SOAP consumer that uses Pact, API Hub for Contract Testing and GitHub Actions to ensure that it is compatible with the expectations its consumers have of it.

The project uses a Makefile to simulate a very simple build pipeline with two stages - test and deploy.

See the canonical consumer example here: https://github.com/pactflow/example-consumer See also the full API Hub for Contract Testing CI/CD Workshop for which this can be substituted in as the "consumer".

Pre-requisites

Software:

Read here

Usage

make test

Publication date: