"Content is not allowed in prolog." has a specific meaning but essentially means that you're not sending well formed XML. If I were you, I would add a log line just before the data gets sent to clear commerce to spit out the content of what you're about to send. Copy and paste that into an XML editor and the malformed line should pop out. Then backtrack to figure out how the line was created.
Regarding BJ's comment, I would hate to think the community has devolved to the point where we can't offer generic help. I understand we often times get questions about other projects and it's appropriate to steer people back to those project because their questions will get answered with more timely and often times more authoritative responses. --- Jame Jane <[EMAIL PROTECTED]> wrote: > hi > I am working on Payment Process for HSBC through ClearCommerce.The > API for HSBC is e-PAS( Payer Authentication Service). > > I got all the setup but the problem is that when I send to the HSBC > e-PAS server > it is going to server but when > > Reading XML Response Document from ClearCommerce sendRequest method > it is showing this error > > [Fatal Error] :1:1: Content is not allowed in prolog. > Catch.........1 > 2008-04-17 00:09:19,686 (http-0.0.0.0-8443-Processor4) [ > ServiceDispatcher.java:411:ERROR] Service Error > [clearCommerceCCAuth]: Error reading response Document from a > String: Content is not allowed in prolog. > 2008-04-17 00:09:19,686 (http-0.0.0.0-8443-Processor4) [ > TransactionUtil.java:252:ERROR] > > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. > Try it now.
