如果您有以下类型。{ public string LastName { get; set; } public Address Address { get; set; }public class Address public string Street { get; set; }
public string
使用ColdFusion 9,我创建了一个组件作为我正在开发的WinForm应用程序的SOAP服务。当我调用通过SOAP返回自定义组件的远程函数时,不返回任何数据。如果我在另一种方法中序列化到Json字符串,在客户端应用程序中反序列化,则需要做一些工作。我想避免这一步。在我缺少的组件/函数中是否有参数,或者这是CF9中的一个bug?当我通过web浏览器查看该方法时,我会看到以选定的返回格式返回的数据。{"stringField":"Test Value