我有这样的方法
<OperationContract()>
<Web.WebGet(UriTemplate:="/GetBedTypeList?strErrMsg={strErrMsg}&chrErrFlg={chrErrFlg}&pcompanycode={pcompanycode}&pdiv={pdiv}&ploc={ploc}", ResponseFormat:=WebMessageFormat.Json, BodyStyle:=WebMessageBodyStyle.Wrapped)> _
Function GetBedTypeList(ByRef strErrMsg As System.Collections.Generic.List(Of String), ByRef chrErrFlg As Char, _
ByVal pcompanycode As String,ByVal pdiv As Integer, _
ByVal ploc As Integer) As System.Collections.Generic.List(Of CWReadClasses.clsBedTypeMaster)
但它给出错误请帮助
合约“iBedTypeMaster”中的操作“GetBedTypeList”有一个名为“strErrMsg”的查询变量,类型为“System.Collections.Generic.List 1[System.String]', but type 'System.Collections.Generic.List
1[System.String]”,不能由“QueryStringConverter”转换。UriTemplate 查询值的变量必须具有可由“QueryStringConverter”转换的类型。