Skip navigation
Currently Being Moderated

Assembler Service Issue Formatter Exception

Jan 10, 2012 10:07 AM

Hello,

 

I'm currently using the assembler service in  solution that stores the forms and fragments xdp's inside a database as varchar(max).

After reading the text from the database I pass it to a blob.MTOM object using Encoding.UTF8.GetBytes(myTemplateInString).

After filling the inputMap and send it with the blob assembly object, I get the following exception:

 

 

Thanks for your help.

 

The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://adobe.com/idp/services:invokeResponse. The InnerException message was 'Error in line 1 position 1733. Element 'http://xml.apache.org/xml-soap:value' contains data from a type that maps to the name 'http://adobe.com/idp/services:ProcessingException'. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to 'ProcessingException' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.'.  Please see InnerException for more details.

 

 

Server stack trace:

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatt er.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatt er.DeserializeParameter(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatt er.DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, Object[] parameters, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatt er.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest)

   at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyCont ents(Message message, Object[] parameters, Boolean isRequest)

   at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeReply(Me ssage message, Object[] parameters)

   at System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(Proxy Rpc& rpc)

   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperatio nRuntime 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.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)

   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMetho dCallMessage methodCall, ProxyOperationRuntime operation)

   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

 

Exception rethrown at [0]:

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessag e reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at FormDesigner.AssemblerSvc.AssemblerService.invoke(invokeRequest request)

   at FormDesigner.AssemblerSvc.AssemblerServiceClient.FormDesigner.Assembl erSvc.AssemblerService.invoke(invokeRequest request) in C:\Users\jrecio\Documents\Visual Studio 2010\Projects\FormDesigner\PDFAssembler\Service References\AssemblerSvc\Reference.cs:line 3793

   at FormDesigner.AssemblerSvc.AssemblerServiceClient.invoke(BLOB inDDXDoc, MyMapOf_xsd_string_To_xsd_anyType inputs, AssemblerOptionSpec environment) in C:\Users\jrecio\Documents\Visual Studio 2010\Projects\FormDesigner\PDFAssembler\Service References\AssemblerSvc\Reference.cs:line 3802

   at FormDesigner.PDFFormGenerator.byteArrayOfPrintedPDF(String assemblyName) in C:\Users\jrecio\Documents\Visual Studio 2010\Projects\FormDesigner\PDFAssembler\PDFDesigner\PDFFormGenerator. cs:line 374

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points