Hi. 
I'm interacting with a server written using GSOAP, to get DIME attachments 
from it. 

I have generated client code using WSDL2Java, but when I use the get 
method in order to get the attachements (images) I get the following error 
: 

org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xc) was 
found in the prolog of the document.
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:543)

Is there any way to turn off the validation in the SAX parser used by 
SOAP. If I could, then I could ignore the "invalid XML character". 

Has anyone any experience in getting DIME attachments using WSDL2Java 
generated code?

Thanks
James

Reply via email to