Skip to content

Web UI

The web UI is the main way to use Middleware Forge. Each piece of work is a task (a session in the API). A task holds its documents, a versioned plan, the conversation and its generation runs.

Pages

Page Purpose
Generation tasks (home) All tasks with status and plan version. New task creates one; a task can be deleted when no run is in progress.
Task workspace Chat on the left; tabs on the right (below).
Execution history Every generation run, newest first, with project, status and outcome.
System status Backend readiness (database, storage, templates and optionally the LLM) and the configured repositories.

The app bar shows Backend ready or Backend unavailable from the backend's readiness check. The menu button (☰) at its left expands or collapses the navigation sidebar; collapsed, the sidebar shows the page icons only.

The task lifecycle

stateDiagram-v2
    direction LR
    [*] --> collecting: New task
    collecting --> planning: document uploaded
    planning --> planning: plan edited
    planning --> generating: Approve
    generating --> needs_input: input needed
    needs_input --> generating: Resume
    generating --> completed: run finished
    completed --> generating: Regenerate
    completed --> planning: plan changed
Transition When
document uploaded The first interface document is read and the agent builds the first plan
plan edited A chat or Designer edit saves a new plan version
Approve Approve and generate, allowed only without blocking issues
input needed A referenced schema is missing, or the backend restarted during the run
Resume The schema is uploaded, or Resume is clicked

The status chip next to the task title shows the current state.

1. Upload documents

Drop files in the chat box or on the Documents tab. Accepted extensions: .json .yaml .yml .xml .wsdl .wadl .xsd .docx .doc .pdf .xlsx .xls .txt, up to 10 files of 10 MB each per upload.

Each file gets a role:

Role Files Used for
interface OpenAPI, WSDL, WADL The operation catalog. With several, the first WADL, then WSDL, then OpenAPI is the primary document and each one becomes its own backend.
schema .xsd Types referenced by a WSDL or WADL. Missing references are listed as issues; upload them to resolve.
specification PDF, Word, text Read as requirements context for the planning agent. They are not turned into operations.
db_mapping Excel, or Word files named like a mapping Recognised only; .NET generation is not available yet.

Uploading a file with the same name replaces the earlier one. After every upload the agent re-reads the documents and updates the operation catalog, keeping your selections and grouping.

2. Review and refine the plan

The Overview tab shows the plan: project settings, proxy services with their endpoints and business services, open issues (errors block approval) and decisions for you (questions that change the output).

Change the plan in either of two ways. Both create a new plan version and are listed in the chat.

In the chat

Describe what you want, for example:

  • "Put the user and profile operations in separate proxies"
  • "Add Search and GetPersonTravelInfo to a new proxy PersonTravel and keep them in their current proxies"
  • "Exclude Health"
  • "Rename the proxy User to Accounts and expose it at /accounts"
  • "The target should be SOAP with namespace http://example.com/accounts"
  • "What is still missing?"
  • "Generate" / "Cancel" / "Write it to the OSB repository"
  • "Approved, use namespace http://example.com/accounts": changes in an approval or regenerate message are applied as a new plan version first, and that version is approved. If a change cannot be applied, nothing is approved.

The agent turns the message into structured plan operations, applies them, and replies with what changed and what is still open. If it cannot interpret a request, it says so and points you to the designer. It never guesses with regular expressions.

In the Service Designer

The Designer tab is a drag-and-drop editor for the grouping. An operation can be exposed by several proxies: each proxy shows its own chip for the operation.

To Do
Add operations to another proxy and keep them where they are Select them in the operation list and choose Add to proxy
Put operations in one proxy only Select them and choose Move → {Proxy} only
Move one appearance of an operation Drag its chip from one proxy to another; its other proxies keep it
Remove an operation from one proxy Click ✕ on its chip in that proxy
Leave an operation out of generation Drag a chip to Excluded from generation, or Move → Exclude; this removes it from every proxy

How the Designer shows the relationships:

  • The Proxies column of the operation list names every proxy that exposes the operation.
  • A chip of an operation exposed by several proxies is highlighted and marked with a split icon; its tooltip names the other proxies.
  • Each proxy card states how its pipeline will route: Direct route → {business service}, or Routing table → A (3, default), B (2) when it combines operations of several backends. See Pipelines and routing.
  • An operation in no proxy appears under Unassigned; the plan cannot be approved until it is assigned or excluded.

Other Designer actions:

  • New proxy, rename a proxy, set its Endpoint (default /ProxyServices/{Name}) and its Target protocol (REST or SOAP). Removing a proxy keeps its operations in the other proxies that expose them; the rest become unassigned.
  • Suggest grouping: One proxy for everything, By first path segment, By OpenAPI tag / WSDL port type or One proxy per source document. A suggestion is a preview until you save.
  • Business services and routing lists each backend with the proxies that call it; set its Backend endpoint here.
  • Save plan saves all edits as one version. If someone else saved in the meantime, you are asked to reload.

Combining existing services

Keep the existing proxies first and add the combining proxy after them. The combining proxy then reuses their schemas and XSLT mappings instead of defining new ones (why).

Project settings

The Settings tab edits the project name (folder and file prefix), namespace (required when a proxy uses SOAP), source and default target protocol, output (OSB project, OpenAPI document or WSDL + XSD), SOAP version, and whether to generate the technical documentation.

3. Approve and generate

Approve and generate (in the header, the Overview tab or a chat reply) locks the current plan version and starts a run in the background. It is disabled while the plan has blocking issues.

The Progress tab shows:

  • the lifecycle stages: documents, plan, approval, generation, verification, repository;
  • the run's checklist, one row per step the run executes, updated live;
  • validation findings, and the generation units with which ones were reused;
  • Cancel while a run is active (it stops after the unit in progress) and Resume for a run interrupted by a backend restart.

If a referenced schema is missing during generation, the run pauses and asks for it. Uploading the schema resumes it automatically.

Generating again

After you change an approved plan, approve the new version (or use Regenerate for the same version). Only units whose inputs changed are generated again; for example, renaming one proxy's endpoint regenerates that proxy and reuses the business services, other proxies and XSLTs.

4. Browse and download artifacts

The Artifacts tab lists the files of a completed run (choose the run if there are several). Text files open in a code viewer; others, such as the Word documents, download. The documentation is under {Project}/Docs/ (what is generated). Download ZIP downloads the whole project. Downloads are streamed by the web server; browsers never reach the backend.

5. Write to a repository

The Repository tab writes the latest completed run into an allow-listed repository.

  1. Choose a repository and click Preview changes. Each file is classified:
    • create: not in the repository yet;
    • update: Middleware Forge wrote it before and nobody changed it since;
    • unchanged: identical;
    • conflict: it exists but was not written by Middleware Forge, or was edited by hand since.
  2. Open Diff for any file. For each conflict choose Overwrite or Skip. Files from earlier runs that are no longer generated are listed but never deleted.
  3. Apply. Middleware Forge commits to a new branch forge/{project}-{run}, pushes it and opens a pull request (Azure DevOps Server or GitHub). The result shows the counts and the pull-request link.

You can also ask the chat agent to "write it to the repository"; it prepares the same preview, and applies it from the chat only when there are no conflicts.

Chat message types

Agent messages may carry buttons: Approve and generate, Open Service Designer, Regenerate, Cancel run, Review repository write, Upload documents. Plan saves, approvals, runs and uploads appear as small system lines between the messages. Warnings and errors have a coloured border.