Skip navigation
vivianchiu
Currently Being Moderated

Got "Reponse is not well-formed XML" error when calling FormDataIntegration web service

Feb 16, 2011 11:40 PM

Hi,

 

I'm using Windows Server 2008 + LiveCycle Server ES2 (Reader Extensions) + ASP.NET

 

This problem only happened when I run the ASP.NET program with the licensed version of the server, (which i installed form the CD provided)

However, there is no problem in my development environment with the trial version downloaded from Adobe website, the import data was successful and a correct PDF form can be returned.

 

My question is that whether there is a problem within the LiveCycle services? or there is missing component that needs to be installed?? Thanks

 

After call the importData of FormDataIntegration, I got below error

Response is not well-formed XML.
System.InvalidOperationException: Response is not well-formed XML. ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(Soa pClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
--- End of inner exception stack trace ---

 

I checked in LiveCycle's jboss log, I found below errors:

2011-02-17 14:16:37,086 ERROR [org.apache.axis.encoding.ser.BeanSerializer] Exception:

java.lang.NullPointerException

at com.adobe.idp.dsc.provider.impl.soap.axis.ser.ArraySerializer.seriali ze(ArraySerializer.java:76)

at org.apache.axis.encoding.SerializationContext.serializeActual(Seriali zationContext.java:1504)

at org.apache.axis.encoding.SerializationContext.serialize(Serialization Context.java:980)

at org.apache.axis.encoding.SerializationContext.serialize(Serialization Context.java:707)

at com.adobe.idp.dsc.provider.impl.soap.axis.ser.AdobeAxisBeanSerializer .serialize(AdobeAxisBeanSerializer.java:281)

:

:

at java.lang.Thread.run(Thread.java:619)

2011-02-17 14:16:37,087 ERROR [org.apache.axis.encoding.ser.BeanSerializer] Exception:

java.io.IOException: java.lang.NullPointerException

at com.adobe.idp.dsc.provider.impl.soap.axis.ser.AdobeAxisBeanSerializer .serialize(AdobeAxisBeanSerializer.java:326)

at org.apache.axis.encoding.SerializationContext.serializeActual(Seriali zationContext.java:1504)

at org.apache.axis.encoding.SerializationContext.serialize(Serialization Context.java:980)

:

: at java.lang.Thread.run(Thread.java:619)

2011-02-17 14:16:37,088 ERROR [org.apache.axis.SOAPPart] Exception:

java.io.IOException: java.io.IOException: java.lang.NullPointerException

at com.adobe.idp.dsc.provider.impl.soap.axis.ser.AdobeAxisBeanSerializer .serialize(AdobeAxisBeanSerializer.java:326)

at org.apache.axis.encoding.SerializationContext.serializeActual(Seriali zationContext.java:1504)

:

:

at java.lang.Thread.run(Thread.java:619)

2011-02-17 14:16:37,088 WARN  [org.apache.axis.attachments.AttachmentsImpl] Exception:

AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}hostname: XXXX

 

ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.

at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java: 333)

at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg y.java:32)

:

:

at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider .java:186)

at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java: 323)

... 33 more

Caused by: java.lang.NoClassDefFoundError: com/adobe/formServer/utils/LogUtils

at com.adobe.formServer.utils.CommonGibsonUtils.PDFDocumentFromDocument( CommonGibsonUtils.java:122)

at com.adobe.livecycle.formdataintegration.server.FormData.importData(Fo rmData.java:64)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(Defaul tPOJOInvokerImpl.java:118)

... 74 more

2011-02-17 14:16:37,090 ERROR [org.apache.axis.encoding.ser.BeanSerializer] Exception:

java.lang.NullPointerException

at com.adobe.idp.dsc.provider.impl.soap.axis.ser.ArraySerializer.seriali ze(ArraySerializer.java:76)

at org.apache.axis.encoding.SerializationContext.serializeActual(Seriali zationContext.java:1504)

at org.apache.axis.encoding.SerializationContext.serialize(Serialization Context.java:980)

at org.apache.axis.encoding.SerializationContext.serialize(Serialization Context.java:707)

 
Replies
  • Currently Being Moderated
    Feb 17, 2011 6:01 AM   in reply to vivianchiu

    At first glance, it looks like the document is not making it to the LiveCycle server.  How are you attaching the document to the request (base64, MTOM, File URL)?

     

    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?conte nt=003896.html

     
    |
    Mark as:

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