Documentation
Guides for WBCI and S/PRI in Rust: how a German provider switch works, the requests and messages, XML, validation, deadlines, processes and codes.
New to German carrier interfaces? Start with how a provider switch works and keep the glossary open. Every type and function is in the API reference on docs.rs; every Rust sample on these pages is compiled and run with the crates’ tests, so the guides cannot drift from the code.
Start
- How a provider switch works in GermanyBackground for newcomers: § 59 TKG, the AK S&P, WBCI, S/PRI and WITA, the three parties of a switch and the messages they exchange.
- Getting startedInstall the crates, build a WBCI pre-agreement (Vorabstimmung), check it, write the XML, read the answer and follow the deadlines.
- GlossaryEvery German WBCI and S/PRI term explained in English: EKPauf, EKPabg, Vorabstimmung, RUEM-VA, ABBM, AKM-TR, QEB, ABM, TAM, PV, AT, WT, LineID and more.
- Command lineThe telco-interop command: read and check WBCI and S/PRI files, explain a Meldungscode, replay one provider switch as a timeline with findings and deadlines, write a sandbox scenario's files.
WBCI
- WBCI requests and messagesThe six WBCI requests and six messages as Rust types (VA-KUE-MRN, STR-AUF, TVS-VA, RUEM-VA, ABBM, AKM-TR …), and answers built from what they answer.
- WBCI XML and SOAPRead and write the four WBCI payloads, bare or in a SOAP 1.1 envelope, byte-stable, with limits for untrusted input and a receipt code for every error.
- WBCI validationKnow before sending whether the peer will refuse a WBCI request or message: 28 cited rules with element path, source and the code the peer answers with.
- WBCI deadlinesEvery WBCI deadline of Anlage 1 §2.5–§2.11 computed in German time on working days (AT), with its rule, source and every counted and skipped day.
- The WBCI processFollow one WBCI pre-agreement through its life: state, allowed next steps, open deadlines, refusals with the prescribed codes, and an audit history.
- Answering as the losing providerDecide the answer to a WBCI pre-agreement from your contract record: the Prüflogik of Anlage 1 §2.4, names by sound per the AK S&P word rules, explained.
- WBCI message codesAll 36 WBCI message codes (Meldungscodes) with official text, short name, message type and the business cases they answer.
S/PRI
- S/PRI orders and messagesEvery S/PRI 4.x order and message of German open access as Rust types: NEU, KUE-AG, LAE, AEN-LMAE, EST, PV, GET/SET; QEB, ABM, ABBM, ERLM, ENTM and the rest.
- The S/PRI order lifecyclespri::Process follows an S/PRI order through the EPKs of Anlage 7 V.13: allowed messages, Storno and TV, the PV leg, explained deadlines, ABBM outcomes.
- S/PRI message codesAll 215 S/PRI 4.x message codes (Meldungscodes) of the Arbeitshandbuch V2.9.5 with official text, message types and business cases, plus what an ABBM means.
- S/PRI validationKnow before sending whether the network owner will refuse an S/PRI order or message: 34 cited rules with element path, source and the ABBM code it answers with.
Across both
- One switch across WBCI and S/PRItelco_interop::Wechsel: a provider switch agreed over WBCI and ordered over S/PRI as one timeline, with both interfaces' deadlines and six agreement checks.
- Sandbox: test without a partnerSimulated WBCI and S/PRI peers — the losing provider, the network owner, the losing provider in a PV — and 13 named scenarios that play whole switches and orders from both sides.
Reference
- Scope and interpretationsWhich WBCI and S/PRI documents and versions the crates implement, what they leave to your application, and every place they interpret the specifications.
- Security and hardeningWhat the WBCI and S/PRI readers guarantee for XML from other companies: no DTDs, bounded input, no panics (fuzzed), no unsafe, personal data redacted.
- Schema conformanceHow the WBCI and S/PRI writers are proven against the official AK S&P schemas on every CI run: 373 WBCI and 776 S/PRI payloads, schemas pinned by SHA-256.