Standalone Webservice

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
cstone
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Wed Jul 27, 2011 6:14 am

Standalone Webservice

Post by cstone » Wed Jul 27, 2011 6:28 am

I am looking to create a Standalone Webservice that I can reference CommmerceBuilder dll's?

It will be on a separate web server under an IIS7 web service.

plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

Re: Standalone Webservice

Post by plugables » Tue Aug 09, 2011 7:38 am

You will not be able to use AbleCommerce classes without a context being created first. The context in AbleCommerce is the Token class which is initiated automatically by AbleCommerce when serving HTTP requests. In non-HTTP context I am not sure if there is a simple way to initialize the Token. Also one has to have a valid AbleCommerce license for the token to initialize. Since license depends on the domain name, it is unlikely that you will be able to initialize the token in a non-HTTP context. It is possible to use AbleCommerce in a standalone web-service on the same server on which AbleCommerce store is installed.

Post Reply