Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个托管在 asp.net 中的 Web 服务,它公开了一个将对象作为参数的方法。这个对象有像 DateTime? 这样的属性吗?, 枚举, int , 字符串。
php可以处理日期时间或枚举吗?
当然可以..但是您应该在使用之前提供格式良好的格式。例如,对于日期时间,您应该传递如下示例: 2012-11-20T14:00:00 对于枚举,您应该提供相应的枚举字符串。
我希望它有帮助
PHP 不会理解 .NET 枚举或日期时间类型。从 WSDL 生成的代理是“理解” ASMX 发布的接口。