arrayofstring

Can I stop my WCF generating ArrayOfString instead of string[] or List<string>

I am having a minor problem with WCF service proxies where the message contains List<string> as a parameter. I am using the 'Add Service reference' in Visual Studio to generate a reference to my service. // portion of my web service message public List<SubscribeInfo> Subscribe { get; set; } public List<string> Unsubscribe { ge...

Using of Zend_Soap_Wsdl_Strategy_ArrayOfTypeComplex with string[]

Hi I'm currently using Zend_Soap_AutoDiscover to generate my WSDL file, the problem is I want this wsdl to handle output of type ArrayOfString ( string[] ). so I changed the complex type strategy to Zend_Soap_Wsdl_Strategy_ArrayOfTypeSequence, it works properly but the problem is that the output isn't really an array of string the outpu...

ArrayOf when using List<T> with a WCF Rest Service

Hello, I am trying to create a REST web service using .NET 4.0 and WCF. My REST service is returning a List which then gets serialized into XML. The problem I am having is that the XML being returned starts with ArrayOf, which I don't like. In other words, right now the XML looks like this: <ArrayOfAchievement> <Achievement> ...