Skip to content

Releases: vpulim/node-soap

Version 0.6.1

20 Dec 18:50
Compare
Choose a tag to compare
  • [ENHANCEMENT] Allow logging of received XML prior to parsing and processing it, which allows better debugging of incomingXML. (#524)
  • [ENHANCEMENT] Add support for importing external wsdl. (#523)
  • [FIX] Use correct namespaces for elements which consist of an array. (#522)
  • [FIX] Use correct namespaces for elements which have a different base namespace. (#521)
  • [FIX] Don't throw an Error when typeElement is undefined in ExtensionElement#description method. (#515)
  • [FIX] Only supply nonce when a password digest is used to avoid schema validation errors. (#496)
  • [FIX] Allow wsdl:documentation element under wsdl:message. (#508)
  • [FIX] Use correct namespaces in sequences with imported elements. (#502)
  • [FIX] Ignore default tns and disabled default tns specification in first element of the body. (#506)
  • [ENHANCEMENT] Define $xml to pass plain XML object. (#485)
    The $xml key is used to pass an XML Object to the request without adding a namespace or parsing the string.
  • [FIX] Updated '#extend' method to avoid overriding properties and ensure the 'inheritance' of <xsd:extension base=...> usage. (#493)

Version 0.6.0

29 Oct 19:02
Compare
Choose a tag to compare
  • Enhancement: Adding bearer security type Exporting security type for usage.
  • Enhancement: The qualified elementFormQualified must be respected only when the current element is not a global element. The namespace attribute is only needed if it's not included in the xmlns.
  • Fix: Remove automatic port appending to "Host" header.
  • Fix: Avoid creating soap:Header container when there are no children.
  • Fix: Allowing a 'null' argument for WSDL methods that take no arguments.
  • Fix: Wrong initialization of xmlns array when handling rpc stype wsdl.
  • Fix: Fault handling. err should be used less frequently now.
  • Fix: Added checking if there is input and output for operations under bindings section.
  • Fix: XSD conflict with same namespace.

Version 0.5.1

29 Aug 08:44
Compare
Choose a tag to compare
  • Enhancement: Add "defaults" parameter to BasicAuthSecurity's constructor
  • Enhancement: Added possibility to set a custom valueKey for the parsed values from XML SOAP Response
  • Fix: don't append port 80 to Host if not needed
  • Fix: Remove possible existing BOM characters from XML String before passing it to WSDL#_fromXML() and parsing it.
  • Fix: Handling nil attributes in response xml

Version 0.5.0

11 Jul 09:47
Compare
Choose a tag to compare
  • Enhancement: Allowing namespace prefixes to be ignored via config.
  • Enhancement: wsdl should handle more types
  • Fix: Handle defined messages ending with "Response", "Out", or "Output"
  • Fix: Adding default attributesKey to server and allowing the property to be configurable fixing issue #406
  • Fix: Remove extra characters before and after soap envelope
  • Fix: Allow operations to not have definitions
  • Fix: Ignore unknown elements
  • Fix: Keep ns from top-level
  • Fix: Check status code of invocation response

Version 0.4.7

16 Jun 15:37
Compare
Choose a tag to compare
  • Allow request elements to have both content and attributes.

Version 0.4.6

16 Jun 15:37
Compare
Choose a tag to compare
  • Fix for the elementFormDefault functionality.
  • Fix determining the namespace for complex elements.
  • Add support for the elementFormDefault schema attribute.
  • Fixing duplicate code which had gotten introduced because of a merge.
  • Added the ability to specify elements in a $value attribute for complex types.
  • Allowing the property name "attributes" to be configurable.
  • Fix for andling object arrays.
  • Fix for WSDL and Schema interaction.
  • Allowing response.xml to be optional in tests.
  • Allowing request.xml and response.json to be optional for tests.
  • Fix for adding an undefined XML namespace.
  • Added some documentation on options object when calling createClient.
  • Fix for namespaces in headers not being added appropriately.

Version 0.4.5

13 May 07:35
Compare
Choose a tag to compare
  • Fixed: Unspecified binding style defaults to 'document' (#346, #208)
  • Fixed: WSDL parse errors bubble up (#344)
  • Fixed: AssertionError: Invalid child type when WSDL contains imports (#322, #337)
  • Fixed: TargetNamespace not loaded when import in schema (#327, #325)

Version 0.4.4

17 Apr 05:35
Compare
Choose a tag to compare
  • Added namespace prefixes to SOAP headers. #307
  • Provided more documentation around security protocols in the README. #321
  • Added lodash. #321
  • Added a default parameter to ClientSSLSecurity. #321
  • Fix to reset the generated namespace number. #308
  • Fixed maximum callstack errors on certain responses. #257

Version 0.4.3

08 Apr 06:12
Compare
Choose a tag to compare

Note: An error occurred while publishing this version to npm. The version may be referenced via the 0.4.3 tag in the repo.

  • Refactored WS-security. small modifications to pull #275
  • Updated readme to add documentation for passing options to a client request
  • Added null check for portType and methods[methodname].output
  • Fixed issue where requests that included compex types led to invalid request XML.
  • Support for attributes array elements and support for complex extensions with array elements.
  • Make sure callback is done asynchronously for a cached wsdl
  • Added WSDL inheritance support (#133).

Version 0.4.2

13 Mar 23:03
Compare
Choose a tag to compare
  • Added the ability to inspect and clear soap headers.
  • Reducing test wsdl size.
  • No longer prefixing elements with a default namespace prefix i.e. xmlns.