I was having a small problem with WorkspaceId being set to zero all the time:
http://67.160.5.155/TAGMLWS/ClientManager.asmx/QueryLastActionList?workspaceId=1&lastActionId=0
Here is the web method. Straightforward.
[WebMethod]
public Action[] QueryLastActionList(UInt32 workspaceId, Int64 lastActionId)
{
return DbClient.GetLastActionList(ref workspaceId, ref lastActionId);
}
And here was the reader method.
while(reader.Read())
{
Action newAction = new Action();
newAction.ActionId = (Int64)reader["ActionId"];
newAction.ActionType = (ActionTypeEnums)(Int16)reader["TypeId"];
newAction.Table = (TableEnums)(Int16)reader["TableId"];
newAction.TableIndex = (UInt32)reader["TableIndex"];
newActionList.Add(newAction);
}
Alas, the WorkspaceId wasn't getting assigned which turned out to be the problem.
The connector works and is safe another day!