.
- Got the latest source files from GDN
- Compiled to fwsync.exe
- Copied the exe to a local dir
- Opened a command prompt, in the local dir
- Ran the command fwsync /url http://www.flexwiki.com init c:\luke\FlexWikidotcom
- Received the following error
An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll
Additional information: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: Method
EditServiceImplementation.GetAllNamespaces can not be reflected. ---> System.InvalidOperationException: There was an error reflecting 'GetAllNamespacesResult'. --->
System.InvalidOperationException: There was an error reflecting type 'FlexWiki.ContentBase'. ---> System.NotSupportedException: The type System.Collections.Hashtable
is not supported because it implements IDictionary.
at System.Xml.Serialization.TypeScope.GetCollectionElementType(Type type)
at System.Xml.Serialization.TypeScope.ImportTypeDesc(Type type, Boolean canBePrimitive, MemberInfo memberInfo)
at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference)
at System.Xml.Serialization.StructModel.GetPropertyModel(PropertyInfo propertyInfo)
at System.Xml.Serialization.StructModel.GetFieldModel(MemberInfo memberInfo)
at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns)
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, Boolean repeats)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, Boolean repeats)
at System.Xml.Serialization.XmlReflectionImporter.CreateArrayElementsFromAttributes(ArrayMapping arrayMapping, XmlArrayItemAttributes attributes, Type arrayElementType,
String arrayElementNs)
at System.Xml.Serialization.XmlReflectionImporter.ImportArrayLikeMapping(ArrayModel model, String ns)
at System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, String ns, Type choiceIdentifierType)
at System.Xml.Serialization.XmlReflectionImporter.ImportMemberMapping(XmlReflectionMember xmlReflectionMember, String ns, XmlReflectionMember[] xmlReflectionMembers)
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement)
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement)
at System.Web.Services.Protocols.SoapReflector.ImportMembersMapping(XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, Boolean serviceDefaultIsEncoded,
Boolean rpc, SoapBindingUse use, SoapParameterStyle paramStyle, String elementName, String elementNamespace, Boolean nsIsDefault, XmlReflectionMember[] members, Boolean validate)
at System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter,
String defaultNs)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter,
String defaultNs)
at System.Web.Services.Protocols.SoapServerType..ctor(Type type, ProtocolsEnum versionsSupported)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
--- End of inner exception stack trace ---
Status
This is a known bug when running FwSync against the experimental build of FlexWiki. It is due to changes being made to the ContentBase that result in it being unable to be turned into XML with XmlSerializer. The fix is to add some XmlIgnore attributes to the offending properties of ContentBase. A unit test that can replicate the bug has been identified, but (2004-04-16) has not been coded, nor a fix been entered. -- CraigAndera
Luke Latimer is an applications developer at http://www.numericagroup.com/. His personal blog can be found at http://luke.jurasource.co.uk
1/24/2008 8:21:31 AM - FLWCOM-jwdavidson
FwSync is a command-line tool for editing the wiki.
7/21/2005 4:11:33 AM - -66.93.224.237
The software running this site. -> jump to HomePage
10/22/2006 7:52:17 AM - -81.182.199.248
Click to read this topic9/29/2004 10:24:37 AM - SirLogical-209.125.147.162
add a one or paragraph summary or description of what's discussed here; put yours after 'Summary:'
1/24/2008 8:48:27 AM - FLWCOM-jwdavidson
Click to read this topic9/29/2004 10:24:37 AM - SirLogical-209.125.147.162
Craig Andera is a consultant for Wangdera Corporation (his company). He blogs at "Pluralsight":http://pluralsight.com"","" and used to teach for DevelopMentor.
1/24/2008 8:03:42 AM - FLWCOM-jwdavidson