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

Add overrideImportLocation option #1114

Merged
merged 3 commits into from
Jul 15, 2020
Merged

Conversation

silverwind
Copy link
Contributor

@silverwind silverwind commented May 27, 2020

To mock a remote server for tests, I need a way to override both the endpoint used for the SOAP services as well as the URI used in import statements inside the WSDL.

The existing Client.setEndpoint works for the first case and this adds a new overrideImportLocation wsdl option to override the import statements.

I think this option is generally useful, for example if a remotely obtained WSDL imports another unreachable WSDL, it allows users to supply the imported WSDL locally.

To mock a remote server for tests, I need a way to override both the
endpoint used for the SOAP services as well as the URI used in
`import` statements inside the WSDL.

The existing `Client.setEndpoint` works for the first case and this
adds a new `overrideImportLocation` wsdl option to override the
import statements.
@coveralls
Copy link

coveralls commented May 27, 2020

Coverage Status

Coverage increased (+0.004%) to 94.86% when pulling d601d18 on silverwind:override-import into 699b984 on vpulim:master.

@jsdevel jsdevel merged commit 7f5cf4c into vpulim:master Jul 15, 2020
@wesley102
Copy link

Ok

@silverwind silverwind deleted the override-import branch March 6, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants