We have a SOAP service that we would like to use for handling orderstatus and inventory integration with an ERP.
But we have a problem with the service injection. We can’t inject the services in the regular way like in the other regular MVC controllers and so on, and if we use the IoC to resolve the services we get a ‘Litium.Security.AuthorizationException’ when updating an entity.
Is there any good ways to solve this?
We tried that, but it wouldn’t work. We got this error:
’ The service type provided could not be loaded as a service because it does not have a default (parameter-less) constructor. To fix the problem, add a default constructor to the type, or pass an instance of the type to the host.’
However, using the IoC and then the code you supplied worked great!
I am having a similar issue, while creating currency.
I was trying to setup base for website.
Solution.Instance.SystemToken is null.
I have setup my accelerator, but I have not created any channels or website.
My plan is to create everything from code, so I started with language, which worked.
but now when I started with currency i get this exception.