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

TypeError: Cannot read properties of undefined (reading 'description') #1271

Open
awunnenb opened this issue Jan 17, 2025 · 1 comment
Open

Comments

@awunnenb
Copy link

awunnenb commented Jan 17, 2025

simple greeter (server+client; "type":"commonjs") in node.js 22.13 and soap 1.1.7:

TypeError: Cannot set properties of null (setting 'descriptions')
at WSDL._fromXML (/home/myhome/Projects/playground/node/soap/node_modules/soap/lib/wsdl/index.js:1188:39)
at /home/myhome/Projects/playground/node/soap/node_modules/soap/lib/wsdl/index.js:67:26
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)

@w666
Copy link
Collaborator

w666 commented Jan 18, 2025

Hi @awunnenb

Could you please provide more details:

  1. How do you create client?
  2. WSDL file
  3. How do you load WSDL, using URL or from local file system?
  4. What request do you send?
  5. At what stage do see that exception?

Ideally it would good if you can provide a code snippet so I can replicate your problem.

Thanks.

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

No branches or pull requests

2 participants