Hi, I have designed a job (SOAP service) that accepts an XML as the request. I would like to validate the input XML against an XSD file so I am using the tXSDValidator component (Only testing with one column at the moment). But whenever I send a SOAP request (Using the soapUI perspective in Talend Studio), I get the "There is a Fatal Error on line 1 : Content is not allowed in prolog." error. I would appreciate if you kindly help me solve this issue.
Re: tXSDValidator - Content is not allowed in prolog
The message points to the actual problem. There is some character which is not allowed. Sometimes it is a BOM (Byte Order Mark) at first byte in your XML. A BOM is ofter not visible. I would use a different editor like TextWrangler to edit the SOAP request. Some editors sets this BOM as first char to the text if you have as encoding UTF-8.