调webservice出错。
string[] ws = service.GetSerialAttributes("S0V30Z8V", "", "");Client found response content type of 'text/plain', but expected 'text/xml'.
The request failed with the error message:
GetSerialAttributes 这个函数返回值是string[]
webservice --------------------编程问答-------------------- 格式不对吧?
一个是普通的string 一个是XML 格式…… --------------------编程问答-------------------- 你是用什么写的。你看你有报的是什么错误。看看你有没有把他导入进来。 --------------------编程问答-------------------- 格式不正确吧?应该是xml格式 --------------------编程问答-------------------- 楼主监控下service.GetSerialAttributes("S0V30Z8V", "", "");,看看这个是数组吗?
补充:.NET技术 , ASP.NET