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
Strong-Soap appears to modify the time portion of a date in UTC format #325
Labels
Comments
mgmpskywalker07
changed the title
Strong-Soap appears to modify the time time portion of a date in UTC format
Strong-Soap appears to modify the time portion of a date in UTC format
Jul 22, 2021
Same problem here. It seems that this affects to my document signature process. If I send the created xml via SoapUI then the response is valid from the third party WebService. If I send the document via strong-soap, then the response is "Invalid XML signature". I compared the created XML and client.lastRequest and only differences in those two documents are in timestamp fields. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am hoping I can ask this question without needing a sandbox because I cannot set one up.
The SOAP endpoints are proprietary and used by my company.
Here is part of the response I get back when I send a soap request from Postman:
Notice the time portion (after the 'T') are all 0's.
If I run the same request using Strong Soap and listen for the client Event 'response' (see code below), it gives me the same results as above (all '0's after the 'T').
However, when I use the client to call the same method as in the above two cases (see below code)
Here is the JSON I get back in 'result':
Notice that now after the 'T', instead of all '0's, the time starts at '07'.
As a result of this discrepancy, our tests are breaking and we don't just want to hard code the correct time.
I read over the strong soap documentation and do not see any configurations to setup a time zone. Other than what I have listed above, we are doing nothing to make the time portion change.
Any thoughts why strong soap seems to be changing the time when converting from XML to JSON?
The text was updated successfully, but these errors were encountered: