Skip to content

Conversation

@clue
Copy link
Owner

@clue clue commented Sep 12, 2018

The Client now respects the WSDL type definition when decoding and supports the classmap option.

You can use the classmap option to map certain WSDL types to PHP classes
like this:

$client = new Client($browser, $wsdl, array(
    'classmap' => array(
        'getBankResponseType' => BankResponse::class
    )
));

This is a BC break because the decoder did previously only use the WSDL type definitions for encoding the outgoing SOAP request messages, but not for decoding the incoming SOAP response messages.

Builds on top of #32

@clue clue added this to the v0.3.0 milestone Sep 12, 2018
@clue clue merged commit 2ff8b0d into clue:master Sep 12, 2018
@clue clue deleted the decode-types branch September 12, 2018 16:27
@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.

1 participant