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

Undefined output -> $this->portTypes[$bindingData['portType']][$operation]['output'] is undefined #123

Closed
hugoyair opened this issue Sep 18, 2024 · 3 comments

Comments

@hugoyair
Copy link

$this->portTypes[$bindingData['portType']][$operation]['output'] is undefined

When I use

$this->client->call('method',$params);

with try catch I have this error

Undefined array key "output"

line 4906
image

I´m using php 8.3

@tenzap
Copy link
Contributor

tenzap commented Feb 17, 2025

Maybe this one can be closed since there is fix commit?

@f3l1x f3l1x closed this as completed Feb 17, 2025
@benboydens
Copy link
Contributor

commit aaee1b0 seems to break things on our side.

if (!isset($opData['output']['name'])) {
    $this->debug('No output name in WSDL for operation ' . $this->methodname);
    $this->setError('Operation ' . $this->methodname . ' not present in WSDL');
    return false;
}

Not sure what is expected to be in the $opData['output']['name'] but for us this is always unset, and this causes the request to not get parsed.

We have tried changing the WSDL to add a name to the output, but nothing seems to work. Removing this if statement fixes our issues.

@nathantobin
Copy link
Contributor

Having the same issue as @benboydens. Taking this out fixed it for us. $opData['name'] exists, but $opData['output']['name'] does not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants