Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate error types for SOAP faults #76

Open
droyo opened this issue Jan 9, 2019 · 0 comments
Open

Generate error types for SOAP faults #76

droyo opened this issue Jan 9, 2019 · 0 comments
Labels
nicetohave Features that aren't critical but would be nice to have

Comments

@droyo
Copy link
Owner

droyo commented Jan 9, 2019

WSDL allows for the definition of faults that a given RPC may through. They can be defined in the XML schema like any other type.

If we detect that a type is used as a fault, we should generate an Error() string method so that the type can implement the error interface, and try to unmarshal these faults when making SOAP API calls.

@droyo droyo added the nicetohave Features that aren't critical but would be nice to have label Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nicetohave Features that aren't critical but would be nice to have
Projects
None yet
Development

No branches or pull requests

1 participant