Help me out please. Facing Concern with configurable products inventory
Hi All, Dear All, i am a newbie in ofbiz & currently facing the concern while managing the inventory for the configurable goods. I am working on the requirement that if i receive the inventory for the configurable product then simultaneously the inventory (ATP / QOH) of the products that are selected as default config option under configuration tab of product administration should also reduce. The reduction of ATP & QOH of the default selected products must be equal to the quantity specified for that product under config option inside config item. I need your guidance & suggestions such that how exactly should i approach for this. Kindly help. Your help is highly appreciated. Thanks in advance. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Help-me-out-please-Facing-Concern-with-configurable-products-inventory-tp3006647p3006647.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Please help me out
Hi I am implementing e-PAS for Payment Processing in ofbiz for 3-D secure everything is going fine but the response that is coming which is html response I am storing in String.The response should be displayed on browser . how can i do it. I can forward it ftl or wat. I am sending Post Data to e-PAS server.It is going fine. The data which I am sending is printing on console it is HTML data with in HTML Tags HttpClient http = new HttpClient(serverURL); http.setParameters(context); String response = null; response = http.post(); System.out.println(Response); The respnse is printing fine with in tags.It is printing on console but the problem is I want to handle this response so that Pop window will appear on the browser from hsbc. Please tell me how to do it. - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Re: Help me out....!!!
Hi, Please look at following URL " http://forums.bea.com/thread.jspa?threadID=30536"; Regards, Abhishake On Thu, Apr 17, 2008 at 5:28 AM, Raj Saini <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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. > > > > > >
Re: Help me out....!!!
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 <[EMAIL PROTECTED]> 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.
Re: Help me out....!!!
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 () 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.
Re: Help me out....!!!
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 <[EMAIL PROTECTED]> 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.
Re: Help me out....!!!
"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.
Re: Help me out....!!!
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 <[EMAIL PROTECTED]> 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.
Re: Help me out....!!!
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.
Help me out....!!!
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.