SOAP API: array of object

Try something like that

api_method :fetchfilename, :expects => [:string], :returns => [[Wsm]]