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

fix determining the response body tag name #494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

underoll
Copy link

@underoll underoll commented Dec 4, 2022

Description

Looks like outputBodyDescriptor.elements[0].qname.name will never work, because it takes one level deeper then needed.
If it has the reason, i'd propose to return obj.Body as the result in case it is still empty after the three guesses.

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style
    guide

@underoll
Copy link
Author

underoll commented Dec 5, 2022

Same is here https://github.com/vpulim/node-soap/blob/master/src/client.ts#L341
Cant imagine the reason for .elements[0]...

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.

None yet

1 participant