Quantcast
Viewing all articles
Browse latest Browse all 10743

Assembler Service Issue Formatter Exception

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.DataContractSerializerOperationFormatter.DeserializeParame terPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParame ter(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParame ters(XmlDictionaryReader reader, PartInfo[] parts, Object[] parameters, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeBody(X mlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest)

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

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

   at System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(ProxyRpc& rpc)

   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.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)

   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 FormDesigner.AssemblerSvc.AssemblerService.invoke(invokeRequest request)

   at FormDesigner.AssemblerSvc.AssemblerServiceClient.FormDesigner.AssemblerSvc.AssemblerServi ce.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


Viewing all articles
Browse latest Browse all 10743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>