• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Andy Miller
#1 Posted : Friday, September 22, 2006 8:10:46 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
I have 5.01 installed. Rebuilt the site and updated the web reference. When I try Catalog_InternalProduct_FindByBvin I get this:




Code:

---------------------------
Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue
---------------------------
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Can not process shipments. ---> System.ApplicationException: Can not retrieve new shipments. ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: A circular reference was detected while serializing an object of type BVSoftware.Bvc5.Core.Catalog.InternalProduct.
at System.Xml.Serialization.XmlSerializationWriter.WriteStartElement(String name, String ns, Object o, Boolean writePrefixed, XmlSerializerNamespaces xmlns)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write28_InternalProduct(String n, String ns, InternalProduct o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write27_ProductChoiceCombination(String n, String ns, ProductChoiceCombination o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write28_InternalProduct(String n, String ns, InternalProduct o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write36_Product(String n, String ns, Product o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write1633_Item(Object[] p)
at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer2857.Serialize(Object objectToSerialize, XmlSerializationWriter writer)
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
at System.Web.Services.Protocols.SoapServerProtocol.WriteReturns(Object[] returnValues, Stream outputStream)
at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues)
at System.Web.Services.Protocols.WebServiceHandler.Invoke()
--- End of inner exception stack trace ---
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 StructuredSolutions.ShipperService.Bvc5.BVC5Services3.WebServices3.Catalog_InternalProduct_FindByBvin(AuthenticationToken token, String bvin)
at StructuredSolutions.ShipperService.Bvc5.BVC5ServiceAccess.Catalog_InternalProduct_FindByBvin(AuthenticationToken token, String productID)
at StructuredSolutions.ShipperService.Bvc5.StoreDatalayer.GetNewItemsRow(AuthenticationToken token, ShipperDataset data, ShipmentsRow shipment, LineItem lineitem)
at StructuredSolutions.ShipperService.Bvc5.StoreDatalayer.AddItem(AuthenticationToken token, ShipperDataset shipments, ShipmentsRow shipment, LineItem orderItem)
at StructuredSolutions.ShipperService.Bvc5.StoreDatalayer.GetNewShipments(AuthenticationToken token, ShipperDataset& changes, SendReceiveOptions options)
...

<truncated>
---------------------------
Abort Retry Ignore
---------------------------

Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Andy Miller
#2 Posted : Friday, September 22, 2006 8:32:50 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Perhaps you could mark ProductChoiceCombination.Product with XmlIgnore().

This is a rather severe issue for me (can't release Shipper for Bvc5).
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012