Hi
When I double click on a basket. I get an error message saying that the
information sent to the webservice is invalid.
I did modify the order mapping information. However, my website works
properly. The error message doesn't tell me enough to know what is wrong.
When I double click on a purchase order, I get a bit more information
saying that the number of retrieved result tables 17 does not match
expected number 14 as defined in the mapping. (This error is thrown by
LoadFromDataSet method of POLoader)
The website works without a problem but the webservices seem to have
problems. How can I debug this?
Thanks
Phil
PS
The stack trace when retrieving a basket is
System.InvalidOperationException was caught
Message="There is an error in XML do***ent (1, 36576)."
Source="System.Xml"
StackTrace:
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at
Microsoft.CommerceServer.Internal.Orders.OrderServiceProxy.AuthorizedInvoke(String
methodName, Object[] parameters)
at
Microsoft.CommerceServer.Internal.Orders.OrderServiceProxy.GetBasketAsDataSet(Guid
orderGroupId)
at
Microsoft.CommerceServer.Internal.Orders.AgentOrderSystem.GetBasketAsDataSet(Guid
orderGroupId)
at
Microsoft.CommerceServer.Orders.OrderServices.DoGetBasketAsDataSet(Guid
orderGroupId)
at
Microsoft.CommerceServer.Orders.BasketManager.GetBasketAsDataSet(Guid
orderGroupId)
at
Microsoft.CommerceServer.UI.CustomerAndOrdersManager.BasketManagerProxy.GetBasketAsDataSet(Guid
orderGroupId, DataSet& basket) in
D:\Projects\Microsoft\CommerceServerPartnerSDK\Applications\CustomerAndOrdersManager\Proxy\BasketManagerProxy.cs:line
78


|