# Restassured Analysis Contracts Soap

> Use when Codex needs to derive service-test scenarios from WSDL or SOAP contracts and translate them into HTTP and XML checks that can still be implemented with Rest Assured where appropriate.

- Skill: `jovd83/restassured-analysis-contracts-soap` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add jovd83/restassured-analysis-contracts-soap`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jovd83/restassured-analysis-contracts-soap/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: jovd83 (https://skillmd.com/u/jovd83)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jovd83/restassured-analysis-contracts-soap

---


# Analyze SOAP Contracts

## 1. Confirm Scope

1. Confirm that SOAP or WSDL is truly in scope.
2. Keep this skill for contract analysis and scenario design.
3. Escalate if the user expects a dedicated SOAP framework rather than Rest Assured-based HTTP and XML checks.

## 2. Load The Contract

1. Run `python scripts/extract_wsdl_summary.py --input <path>` to extract services, ports, and operations.
2. Read [wsdl-analysis.md](references/wsdl-analysis.md) when namespaces or bindings are complex.

## 3. Extract Testable Surface

1. List services, ports, operations, and SOAP actions.
2. List required request elements and expected response elements when visible.
3. List fault contracts and fault codes when declared.

## 4. Convert To Test Candidates

1. Create happy-path candidates per operation.
2. Create XML validation candidates for required fields and namespaces.
3. Create fault-path candidates from declared SOAP faults.
4. Flag WS-Security and complex attachment cases explicitly.

## 5. Examples

1. Input: `Derive tests from legacy/customer.wsdl.`
   Output: A SOAP operation matrix with required XML elements, faults, and auth concerns.

## 6. Troubleshooting

1. Problem: The WSDL imports external schemas that are missing.
   Fix: Resolve the schema set before finalizing the scenario list.
2. Problem: The target uses heavy WS-Security or attachments.
   Fix: State that Rest Assured may not be the best primary implementation tool for that branch.
