Hi,
I get the following exception when attempting to read multiple contact through the webservice. I use the fliter specified below. The same filter works with the CustomerCrad and VedorCrad webservices.
At first, I was thinking that the contact webservice lacked the 'Last_Date_Modified'-field, but that is not the case, as seen in the webservice xml.
What is causing this exception?
FILTER:
<Envelope xmlns="">schemas.xmlsoap.org/.../">
<Body>
<ReadMultiple xmlns="urn:microsoft-dynamics-schemas/page/contact">
<filter>
<Field>Last_Date_Modified</Field>
<Criteria>09 06 19..</Criteria>
</filter>
<bookmarkKey></bookmarkKey>
<setSize>1000</setSize>
</ReadMultiple>
</Body>
</Envelope>
EXCPETION:
System.ServiceModel.FaultException: Id 0 was not found in object!
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Contact_Port.ReadMultiple(ReadMultiple request)
at Contact_PortClient.Contact_Port_ReadMultiple(ReadMultiple request)
at Contact_PortClient.ReadMultiple(Contact_Filter[] filter, String bookmarkKey, Int32 setSize)
CONTACT WebService: