lula / ngx-soap

Simple SOAP client for Angular
MIT License
66 stars 61 forks source link

Date type values are ignored when passed as parameter #46

Open robli314 opened 5 years ago

robli314 commented 5 years ago

Hi,

I tried to call a service that has some dates as arguments, and realized that the date type values are ignored. The tags are created, but with empty values. See example below:

'sessionId': '1091278110940339', 'eventKeys': [1, 2], 'scheduleId': [1], 'start': new Date(), 'filter' : { 'period': { 'start': new Date(), 'end': new Date() } }

` 1091278110940339

1
  <eventKeys>2</eventKeys>
  <scheduleId>1</scheduleId>
  <start></start>
  <filter>
    <period>
      <start></start>
      <end></end>
    </period>
  </filter>
</getAssignmentsByFilter>

</soap:Body> </soap:Envelope>`