使用WebService中对象反序列化的问题
这个是c#,.net基本的问题,但是问题来自使用WebService的过程。。。
我有一个 Web Service方法:
public string SaveJinChengJiLu(ProcessInfoRecord[] pirArray);
POST /ChkService/Receiver.asmx HTTP/1.1Host: 192.168.0.222Content-Type: text/xml; charset=utf-8Content-Length: lengthSOAPAction: "http://www.tempurl.com/SaveJinChengJiLu"<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthHeaderCS xmlns="http://www.tempurl.com/"> <UserID>string</UserID> <Password>string</Password> </AuthHeaderCS> </soap:Header> <soap:Body> <SaveJinChengJiLu xmlns="http://www.tempurl.com/"> <pirArray> <ProcessInfoRecord> <RecordID>int</RecordID> <TaskWorkingID>string</TaskWorkingID> <ProcessName>string</ProcessName> <ProcessAddress>long</ProcessAddress> <ProcessID>int</ProcessID> <IsHidden>int</IsHidden> <Signature>int</Signature> <ProcessPath>string</ProcessPath> </ProcessInfoRecord> <ProcessInfoRecord> <RecordID>int</RecordID> <TaskWorkingID>string</TaskWorkingID> <ProcessName>string</ProcessName> <ProcessAddress>long</ProcessAddress> <ProcessID>int</ProcessID> <IsHidden>int</IsHidden> <Signature>int</Signature> <ProcessPath>string</ProcessPath> </ProcessInfoRecord> </pirArray> </SaveJinChengJiLu> </soap:Body></soap:Envelope>