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. |
if you are customizing code and need help, I suggest you contact one of
the service providers. support of customized code is beyond the scope of this mailing list. Jame Jane sent the following on 4/16/2008 12:24 PM: > 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. |
I am not customizing any code...in clearcommerce nor in anything
if i try to send the same xml document to HSBC API Server it is working fine but if i want to send to HSBC e-PAS server for further processing its going to server but when reading only problem is coming. BJ Freeman <[hidden email]> wrote: if you are customizing code and need help, I suggest you contact one of the service providers. support of customized code is beyond the scope of this mailing list. Jame Jane sent the following on 4/16/2008 12:24 PM: > 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. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. |
In reply to this post by Jame Jane
"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 <[hidden email]> 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. |
Chris if you look I do give generic help
however if it is customize, then it is outside of this mailing list scope. unless there is something I missed. Chris Howe sent the following on 4/16/2008 1:03 PM: > 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 <[hidden email]> 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. > > > > |
In reply to this post by cjhowe
hi chris ..thanx for ur reply
but u know the same XML that I am sending to HSBC API server for processing it is showing well formed. But now I have to use HSBC e-PAS for furthere processing.If I send XML it is showing this error. What should I do I am not getting plz help me out. Chris Howe <[hidden email]> wrote: "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 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. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. |
In reply to this post by Jame Jane
It means the xml sent to server is not well formed. There is some space
or any other character before the prolog that is the first line of your xml document (<?xml version="1.0" encoding="UTF-8" ?>) Raj Jame Jane 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. > |
In reply to this post by Jame Jane
Jame,
There may be some minor variations. I would suggest spit out XML of both requests and compare them. There may be a simple non-printable character which may not be obvious. Yesterday I spend five hours in debugging a silly mistake. I was expecting a "OK" from payment processor and was comparing it with "0K" which was not obvious at first sight. I am sure, your problem is similar to this. Raj Jame Jane wrote: > hi chris ..thanx for ur reply > but u know the same XML that I am sending to HSBC API server for processing it is showing well formed. > But now I have to use HSBC e-PAS for furthere processing.If I send XML it is showing this error. > > What should I do I am not getting plz help me out. > > Chris Howe <[hidden email]> wrote: "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 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. >> > > > > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. > |
Hi,
Please look at following URL " http://forums.bea.com/thread.jspa?threadID=300000536" Regards, Abhishake On Thu, Apr 17, 2008 at 5:28 AM, Raj Saini <[hidden email]> wrote: > Jame, > > There may be some minor variations. I would suggest spit out XML of both > requests and compare them. There may be a simple non-printable character > which may not be obvious. Yesterday I spend five hours in debugging a silly > mistake. I was expecting a "OK" from payment processor and was comparing it > with "0K" which was not obvious at first sight. I am sure, your problem is > similar to this. > > Raj > > > Jame Jane wrote: > > > hi chris ..thanx for ur reply > > but u know the same XML that I am sending to HSBC API server for > > processing it is showing well formed. > > But now I have to use HSBC e-PAS for furthere processing.If I send XML > > it is showing this error. > > > > What should I do I am not getting plz help me out. > > > > Chris Howe <[hidden email]> wrote: "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 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. > > > > > > > > > > > > > > --------------------------------- > > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try > > it now. > > > > > > |
Free forum by Nabble | Edit this page |