I ended up having to use a String to handle this.
PHP DateTime not converted to xsd:datetime
-
03-10-2022 - |
Pergunta
I am experiencing this issue with a Soap Web Service I am creating. DateTime objects are not converted correctly and I end up with empty strings. I am using Zend Soap Server to build the service which is saving transactional data.
Is there a workaround to this issue besides converting it to a string? This seems to be a pretty fundamental problem with PHP's Soap implementation.
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow