feat: support legacy microflow call web service statement#334
Open
hjotha wants to merge 2 commits intomendixlabs:mainfrom
Open
feat: support legacy microflow call web service statement#334hjotha wants to merge 2 commits intomendixlabs:mainfrom
hjotha wants to merge 2 commits intomendixlabs:mainfrom
Conversation
Symptom: legacy SOAP CallWebServiceAction activities could not be represented as executable MDL, so describe/exec round-trips either dropped the action or had to keep it as an unsupported comment. Root cause: the microflow AST, grammar, visitor, formatter, graph builder, and MPR parser/writer had no structured representation for Microflows$CallWebServiceAction and no raw escape hatch for version-specific SOAP payload fields. Fix: add structured call web service syntax, raw base64 BSON preservation, qualified-name resolution for imported SOAP services and send/receive mappings during describe, writer support for structured and raw actions, docs, a doctype example, LSP completions, and microflow skill guidance. Tests: covered parser/visitor, graph builder, formatter reference resolution and raw fallback, MPR raw BSON preservation, and validated with make build, mxcli check for call_web_service.test.mdl, make lint-go, make test, and make test-integration.
27 tasks
…oject The unqualified `returns Object` in the original doctype test caused `entity '.Object' not found` when executed. Adds a synthetic SampleSOAP.OrderResponse entity and uses it as the return type so the script runs cleanly against a fresh Mendix project. Drops the `$Root =` assignment from the raw-base64 case since the encoded BSON has no OutputVariable. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #332.
Summary
call web serviceMDL syntax for legacy SOAPMicroflows$CallWebServiceActionModule.Documentnames during describe, while keeping raw IDs as fallbackValidation
make build./bin/mxcli check mdl-examples/doctype-tests/call_web_service.test.mdlmake lint-gomake testmake test-integration