Skip to content

Support for request body validation #114

@jdunck

Description

@jdunck

Following up on #113, I want to use wsdl-client, but not node-soap -- I don't love their transport choices and lack of observability.

So using wsdl-client definitions, I want (in my app) to have XSD validation of my generated request bodies as unit tests. I was thinking this might be a nice fit for wsdl-client if we do the definition-narrowing in #113. We could follow it up with a minimal-XSD generation to support the needed types for the generated operations.

wsdl-client --emitDefinitionsOnly --withOperations "Get_Workday_Companies,...." --emitMinimalXSD

would then also emit a valid XSD that could be used at app dev-time to ensure that all generated request bodies are valid without the of overhead loading the full WSDL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions