I recently purchased the AbleCommerce software with source code. I want to call the AbleCommerce Api from my web application. What are the common steps?
To test out, I created a test page in my web application and then I called the CommbceBuilder API to create my store and I was getting this error:
AbleCommerceHttpModule does not appear to be configured
If I follow this forum viewtopic.php?f=42&t=8080 and add these two lines:
Please have a look at your web.config file and make sure that httpModules section includes
Code:
<add name="AbleCommerceHttpModule" type="CommerceBuilder.Services.AbleCommerceHttpModule, CommerceBuilder.Services"/>
also make sure that system.webServer/modules has
Code:
<add name="AbleCommerceHttpModule" type="CommerceBuilder.Services.AbleCommerceHttpModule, CommerceBuilder.Services" preCondition="managedHandler" />
I get the following error message:
object reference not set to an instance of an object.
Please suggest how to approach this problem. Due the above issue, my development is kind of stuck.
Thanks.
Mahfuz
AbleCommerceHttpModule does not appear to be configured
-
- Ensign (ENS)
- Posts: 4
- Joined: Wed May 27, 2009 9:37 pm
Re: AbleCommerceHttpModule does not appear to be configured
In order to call AbleCommerce API your application must be in AbleCommerce application scope. Could you explain in details what are you trying to achieve? It seems to me that you are trying to use CommerceBuilder or AbleCommerce API in some where outside of AbleCommerce scope.
-
- Ensign (ENS)
- Posts: 4
- Joined: Wed May 27, 2009 9:37 pm
Re: AbleCommerceHttpModule does not appear to be configured
Yes, I am trying to use the CommerceBuilder or AbleCommerce API to do some customization. We have an existing functional web application where we want to integrate the AbleCommerce to implement the purchasing facility, with cart, store etc. and we will need to make some customization on some business logic. Discussing with my developer, he suggests that we would be able to accomplish this easily if he can call the APIs.
I know from the requirement perspective, we will need to apply some business logic but since the current AbleCommerce might now have the facilities, we thought the API call might enable us to achieve this goal.
Any suggestion/recommendation would be highly appreciated.
Thanks.
I know from the requirement perspective, we will need to apply some business logic but since the current AbleCommerce might now have the facilities, we thought the API call might enable us to achieve this goal.
Any suggestion/recommendation would be highly appreciated.
Thanks.
Re: AbleCommerceHttpModule does not appear to be configured
Although this is quite unusual use of application, I suggest you better to have another look at your requirements. You can skin AbleCommerce to look exactly like your existing application. One of following theads discuss that scenario as well.
In order to run API calls there must be a valid license available in that context make sure that you have license placed in your application. Read following thread
viewtopic.php?f=42&t=9545
Some other helpful threads
viewtopic.php?f=42&t=9592
viewtopic.php?f=42&t=9545
viewtopic.php?f=42&t=9148
viewtopic.php?f=42&t=8081
In order to run API calls there must be a valid license available in that context make sure that you have license placed in your application. Read following thread
viewtopic.php?f=42&t=9545
Some other helpful threads
viewtopic.php?f=42&t=9592
viewtopic.php?f=42&t=9545
viewtopic.php?f=42&t=9148
viewtopic.php?f=42&t=8081
-
- Ensign (ENS)
- Posts: 4
- Joined: Wed May 27, 2009 9:37 pm
Re: AbleCommerceHttpModule does not appear to be configured
Thanks for your response. Will have my developer look at those and have one of the ways suit to our need.
Do you think we could simply copy all our contents to the AbleCommerce web app and make the API calls from there? This would make the scope to AbleCommerce app itself.
Thanks a lot for your quick help.
Do you think we could simply copy all our contents to the AbleCommerce web app and make the API calls from there? This would make the scope to AbleCommerce app itself.
Thanks a lot for your quick help.
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: AbleCommerceHttpModule does not appear to be configured
That would probably work well.Mahfuz2009 wrote:Do you think we could simply copy all our contents to the AbleCommerce web app and make the API calls from there? This would make the scope to AbleCommerce app itself.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.