Skip to content

elem.firstChild.setAttribute is not a function  #38

@anandguna

Description

@anandguna

Hi,

As per our requirement we need to send PDF file as stream. Is it possible use ws.js.

when i am using the below line of code i am getting an error "elem.firstChild.setAttribute is not a function"
I am passing file relative path in tempPath.
ws.addAttachment(ctx, "request", "//*[local-name(.)='Envelope']", tempPath, "application/pdf")

Regards,
Anand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions