---
title: "create expectations from a WSDL"
method: PUT
path: "/mockserver/wsdl"
tags: ["expectation"]
---

# create expectations from a WSDL

`PUT /mockserver/wsdl`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/wsdl`
- Auth: none declared

generates expectations from a WSDL document (the request body is the raw WSDL) and adds them

## Response `201`

expectations created from the WSDL

- Expectation[]: list of upserted expectations (unresolved $ref)

## Other responses

- `400`: invalid or unparseable WSDL document

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
