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 support for optional SOAP options and non-WSDL mode #32

Merged
merged 3 commits into from
Sep 12, 2018

Conversation

clue
Copy link
Owner

@clue clue commented Sep 12, 2018

The Client constructor now accepts an array of options. All given options will
be passed through to the underlying SoapClient. However, not all options
make sense in this async implementation and as such may not have the desired
effect. See also SoapClient
documentation for more details.

If working in WSDL mode, the $options parameter is optional. If working in
non-WSDL mode, the WSDL parameter must be set to null and the options
parameter must contain the location and uri options, where location is
the URL of the SOAP server to send the request to, and uri is the target
namespace of the SOAP service:

$client = new Client($browser, null, array(
    'location' => 'http://example.com',
    'uri' => 'http://ping.example.com',
));

Builds on top of #31
Resolves / closes #5
Refs #23

@clue clue added this to the v0.3.0 milestone Sep 12, 2018
@clue clue merged commit 59338ba into clue:master Sep 12, 2018
@clue clue deleted the options branch September 12, 2018 15:13
@clue clue modified the milestones: v0.3.0, v1.0.0 Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support non-WSDL mode
1 participant