Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Deserializer ..encountered child element which is NOT expected

Avatar

Level 3
Hello I created a process in Workbench that accept input documents (PDF and <br />MSWord) and uses the Assemble and Generate PDF service to merge the inputs into a single PDF. However, I am getting a fault exception <br />soapenv:Server.userException.<br />currently I'm trying to get it to work with one single input of a word document. <br /><br />Thank you for any insight to what might be causing the deserialization exception. <br /><br />HTTP/1.1 500 Internal Server Error<br />Server: Apache-Coyote/1.1<br />X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)/Tomcat-5.5<br />Content-Type: text/xml;charset=utf-8<br />Transfer-Encoding: chunked<br />Date: Tue, 29 Apr 2008 21:04:46 GMT<br />Connection: close<br /><br />376<br /><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring><detail><faultData><ns1:exception xsi:nil="true" xmlns:ns1="http://adobe.com/idp/services"/><ns2:message xmlns:ns2="http://adobe.com/idp/services">SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</ns2:message></faultData><ns3:hostname xmlns:ns3="http://xml.apache.org/axis/">DCAN00429351A</ns3:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope><br />0<br />AND I don't see a problem on the input<br /><br />top of input:<br /><br />POST /soap/services/docb3_assm?blob=base64 HTTP/1.1<br />content-type: text/xml; charset=utf-8<br />content-length: 49112<br />soapaction: "invoke"<br />accept: text/xml<br />sap-srt_id: 20080429/230444/v1.00_final_6.40/CFD014483801E93FE10000000A424026<br />user-agent: SAP Web Application Server (1.0;700)<br />host: 10.7.104.129:8090<br />accept-encoding: gzip<br />authorization: Basic YWRtaW5pc3RyYXRvcjpwYXNzd29yZA==<br />sap-language: E<br /><br /><soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header><n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/"><TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Error</TraceLevel></n0:Trace></soap-env:Header><soap-env:Body><nr1:invoke xmlns:nr1="http://adobe.com/idp/services" xmlns:nr2="http://xml.apache.org/xml-soap"><nr1:mapOfDocuments><nr2:item><nr2:key>item000.doc</nr2:key><nr2:value><nr1:contentType>doc</nr1:contentType><nr1:binaryData>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHc6d29yZERvY3VtZW50IHht<br />bG5zOmR0PSJ1dWlkOkMyRjQxMDEwLTY1QjMtMTFkMS1BMjlGLTAwQUEwMEMxNDg4MiIgeG1sbnM6<br />bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4bWxuczp3PSJodHRw<br />Oi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS93b3JkLzIwMDMvd29yZG1sIiB4bWxuczp3<br /><br />BOTTOM OF INPUT:<br /><br />VydmUiPiA8L3c6dD48L3c6cj48L3c6cD48L3c6<br />ZnRyPjx3OnBnU3ogdzpoPSIxNTg0MCIgdzp3PSIxMjI0MCIvPjx3OnBnTWFyIHc6Ym90dG9tPSIx<br />NDQwIiB3OmZvb3Rlcj0iNzIwIiB3Omd1dHRlcj0iMCIgdzpoZWFkZXI9IjcyMCIgdzpsZWZ0PSIx<br />ODAwIiB3OnJpZ2h0PSIxODAwIiB3OnRvcD0iMTQ0MCIvPjx3OmNvbHMgdzpzcGFjZT0iNzIwIi8+<br />PHc6ZG9jR3JpZCB3OmxpbmUtcGl0Y2g9IjM2MCIvPjwvdzpzZWN0UHI+PC93eDpzZWN0Pjwvdzpi<br />b2R5Pjwvdzp3b3JkRG9jdW1lbnQ+</nr1:binaryData><nr1:attachmentID>dummy</nr1:attachmentID><nr1:remoteURL>dummy</nr1:remoteURL></nr2:value></nr2:item></nr1:mapOfDocuments></nr1:invoke></soap-env:Body></soap-env:Envelope><br /><br />Thank you for any insight to what might be causing the deserialization exception. <br /><br />Regards, Jesse
2 Replies

Avatar

Level 9
Hi Jesse

How are you invoking the process? WatchFolder, invoking it from Java, or something different?

Howard

http://www.avoka.com

Avatar

Level 1

Hi -

I'm also having same issue with LiveCycel ES PDFGenerator. I'm invoking PDFG with web service using BLOB over https. PDFG is running on JBoss.

I generated client stubs for async process using the URL mentioned in documention.

Thanks,

Anand