Title: SAXParser Exception

Could someone please help me with this one.

I have my SOAP Server currently running on a Unix environment.  When I run my test client against the service I have deployed, I get the following error:

[SOAPException: faultCode=SOAP-ENV:Client; msg=Parsing error, response was:
An invalid XML character (Unicode: 0x0) was found in the element content of
the document.; targetException=org.xml.sax.SAXParseException: An invalid XML
character (Unicode: 0x0) was found in the element content of the document.]

        java.lang.Throwable(java.lang.String)
        java.lang.Exception(java.lang.String)
        org.apache.soap.SOAPException(java.lang.String, java.lang.String)
        org.apache.soap.SOAPException(java.lang.String, java.lang.String,
java.lang.Throwable)
        org.apache.soap.rpc.Response
org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
        void
etc. etc.

I did get the test client working when the SOAP Server was running on a Windows environment.  The only other important note is that this exception occurs when SOAP Server has to return a complex Java Object.  When the SOAP Server has to return a primitive type such as a boolean, the test client is succesful.  I am using the BeanSerializer class to both serialize and deserialize my Java Objects.  Again, it works under Windows, but not under unix.  Any help would be greatly appreciated.

Cheers,

Damian.

Reply via email to