Giter VIP home page Giter VIP logo

Comments (3)

rashmihunt avatar rashmihunt commented on May 13, 2024

@rpersso Can you send your test case code to show this problem?

from strong-soap.

rpersso avatar rpersso commented on May 13, 2024
var soap = require('strong-soap').soap;

var fileId = "myfileid-1";
var documentId = "mydocument-1";
var taskId = "mytask-1";

soap.createClient("https://preprod.signicat.com/ws/documentservice-v2?wsdl", function(err, client){
  var args = {
    "create-request-request": {
      service: "demo",
      password: "Bond007",
      request: {
        language: "sv",
        "days-until-deletion": 31,
        document: {
          $attributes: {
            "mime-type": "application/pdf",
            id: documentId,
            "ref-sds-id": fileId,
            $xsiType: "{https://id.signicat.com/definitions/wsdl/Document-v2}sds-document"
          },
          "external-reference": documentId,
          description: "Document to sign"
        },
        task: [{
          id: taskId,
          bundle: false,
          "days-to-live": 31,
          "on-task-postpone": "http://www.google.com",
          "on-task-complete": "http://www.google.com",
          "on-task-cancel": "http://www.google.com",
          subject: {
            "national-id": 123456789012,
            "first-name": "John",
            "last-name": "Doe",
            $attributes: {
              id: taskId
            }
          },
          "document-action": {
            "document-ref": documentId,
            $attributes: {
              "send-result-to-archive": false,
              optional: false,
              type: "sign"
            }
          },
          authentication: {
            $attributes: {
              artifact: true
            }
          },
          signature: {
            method: "sbid-sign"
          }
        }]
      }
    }
  };

  client.createRequest(args, function(err, data, body) {
    console.log(client.lastRequest); // namespace missing from request.document.description
  });
});

from strong-soap.

Gmentsik avatar Gmentsik commented on May 13, 2024

I have the same problem, is there a solution for this?

from strong-soap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.