Development kits

SOAP11 IMIS SOA set up

I am trying to set up IMIS SOA for imis 15.2.1 ,

the url i am trying to access is  http://localhost/iMIS15/EntityService.svc/

but i get the below error

Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http,net.tcp].

iQA/event list iPart

Is anyone aware of an iPart that will display the results of a query in a list format? I have a couple clients looking for something as simple as an event list - they don't want to use the calendar event listing nor the grids/tablular view of the standard iQA query iPart.

Just checking to see if anyone is aware of something like this.

set password for iMIS 15 web services using PHP

I keep receiving an error message while trying to set a password for user via SOA using PHP:

"Server was unable to process request. ---> You must authenticate with the web service before you can set a user's password"

Access to user defined tables via SOA?

Is it possible to access user defined tables via SOA? Are there any code examples or documentation on this?
Thanks

15.2 SOA Product Pricing error

 

This is wilth tech support as an SMR, but have not had a response in a few days.so  thought I would post here too incase anyone has had a similar problem and has suggestions.

 

Hello,

I am getting the following error when I try to get product pricing information using SOA calls.

The functionality is working fine on my development machine, but get this error when install on the client servers. I checked the product and there is member/nonmember pricing, the product looks similar to the set-up on the local machine that works.

I can add the product to the cart, but the pricing is zero, so leads me to believe the proper pricing is not being found that returns the null reference object.

Let me know what I else I can provide to get this web service call working.

Thanks Nick

CommerceManager.GetPartyItemPrice
Asi.Soa.Commerce.Persistence.V10.PartyItemPriceLinqDefinition.GetEntity()

Service Error:

An error has occurred while consuming this service. Please contact your administrator for more information. Error ID: e187ab14-3baf-48b2-8c6c-82e72c89bfe4
Timestamp: 3/27/2012 9:07:55 AM
Message Id: e187ab14-3baf-48b2-8c6c-82e72c89bfe4
An exception of type 'NullReferenceException' occurred
Type: NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Asi.Soa.Commerce.Persistence.V10
Stack Trace: at Asi.Soa.Commerce.Persistence.V10.PartyItemPriceLinqDefinition.GetEntity() in c:\Builds\42\ScrumV3\15.2.0_Main15_Commit\Sources\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Commerce.Persistence.V10\LinqDefinitions\PartyItemPriceLinqDefinition.cs:line 274
at Asi.Soa.Core.Persistence.LinqPersistenceTranslator.PersistenceInstanceToEntity(Object persistenceInstance) in c:\Builds\42\ScrumV3\15.2.0_MainFoundation_Commit\Sources\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Core\Persistence\Linq\LinqPersistenceTranslator.cs:line 78
at Asi.Soa.Core.Persistence.LinqQuery.TranslateLinqQueryResultsToEntityIdentityMapList(Repository repository, ExtendedEntityDefinition extendedEntityDefinition, IQueryable queryable) in c:\Builds\42\ScrumV3\15.2.0_MainFoundation_Commit\Sources\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Core\Persistence\Linq\LinqQuery\LinqQuery.cs:line 104
at Asi.Soa.Core.Persistence.LinqQuery.ExecuteQuery(QueryData query) in c:\Builds\42\ScrumV3\15.2.0_MainFoundation_Commit\Sources\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Core\Persistence\Linq\LinqQuery\LinqQuery.cs:line 124
at Asi.Soa.Core.Persistence.LinqPersistenceStrategyBase.FindMatching(QueryData query) in c:\Builds\42\ScrumV3\15.2.0_MainFoundation_Commit\Sources\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Core\Persistence\BaseClasses\LinqPersistenceStrategyBase.cs:line 145
at Asi.Soa.Core.Domain.Repository.FindMatching(QueryData query) in c:\Builds\42\ScrumV3\15.2.0_MainFoundation_Commit\Sources\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Core\Domain\Repository\Repository.cs:line 416
at Asi.Soa.Core.Services.EntityService.Find(QueryData query) in c:\Builds\42\ScrumV3\15.2.0_MainFoundation_Commit\Sources\imis.net\Packages\Soa\Asi.Soa\Asi.Soa.Core\Services\EntityService.cs:line 223
at SyncInvokeFind(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ServiceModel.FaultException`1Asi.Soa.Core.DataContracts.Faults.ServiceFault, Asi.Soa.Core.Contracts, Version=100.0.1.122, Culture=neutral, PublicKeyToken=null: Service Error:

An error has occurred while consuming this service. Please contact your administrator for more information. Error ID: e187ab14-3baf-48b2-8c6c-82e72c89bfe4
Timestamp: 3/27/2012 9:07:55 AM
Message Id: e187ab14-3baf-48b2-8c6c-82e72c89bfe4
An exception of type 'NullReferenceException' occurred
Type: NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Asi.Soa.Commerce.Persistence.V10
Stack Trace: at Asi.Soa.Commerce.Persistence.V10.PartyItemPriceLinqDefinition.GetEntity()

Populating SOURCE_CODE and CAMPAIGN_CODE for a ComboOrderData

I'm trying to populate the SOURCE_CODE and CAMPAIGN_CODE columns within the dbo.Trans table when creating a new order using the SOA.

I notice that there is a property named "SourceCode" on the OrderData class, and I've tried setting it to a valid SourceCode, but it seems to be ignored and it's empty in the DB.

I can't find a property to populate the CAMPAIGN_CODE

SOA Documentation

The documentation for SOA needs to be fixed up. For example:

http://docs.imis.com/SOA/index.htm?turl=commonoperations.htm

has a line saying "To Use Find - (TBD) - Include  a query". The query object should really be documented. This page also has "The details are removed:" everywhere.

On this page:

http://docs.imis.com/SOA/index.htm?turl=usingtheclientlibrar.htm

Multiple Entity WCM Setup

For a multiple entity iMIS setup, is it possible to set up online cash accounts (W_VISA) for multiple entities and set a variable on the site, product/event or page level to declare what entity/cash account the financial transaction should be processed through.

two entities: ABC and XYZ both have their own financial accounts and are two separate organizations, but they share the same iMIS database. For the desktop operations, they've setup cash accounts for A_VISA and X_VISA (same for MC and AMEX) to distinguish one entity from the other. Now whence getting WCM setup, will have two separate sites ABC.org and XYZ.org within WCM. Is it possible to set financial transactions on ABC.org to use W_A_VISA and XYZ.org to use W_X_VISA cash accounts? Or is there a way to at the product, event or even function level declare the entity that would then drive the cash account used? I am aware that events and functions have an entity code/setting, but does that drive cash accounts used for CC processing?

WCM 1600 Template Member/Non-Member Homepage

We've a client who has a WCM site using the 1600 template. They're looking to incorporate a homepage variation based on authorization, basically, having a Member Homepage and an Non-Member homepage.

We've tried using the 'AuthScript' code that is utilized for the Aspen themed Member site, but that 'breaks' the homepage design (gives the homepage the interior page layout), so that's not working. We've considered creating a navigational component for the MemberHome page that would not go into the navigation and a similar 'AuthScript' would be utilized to redirect if a user is logged in. The member home page would then use a different content area directory for the homepage design content, but this does not appear to be working as intended.

Setting IMISWebServerURL key within a class library dll

We are tryiing to use the iBO dlls within a custom class library that we are writing.  Would anyone know how to set the iMISWebServerURL key that is normally in the web.config file in the coding of the class library(dll) that we are writing? 

<appSettings><add key="System.WebLogin" value="MANAGER"/><add key="iBOCacheRefreshIntervalSeconds" value="300"/><add key="ImisWebServerUrl" value="http://localhost/imis15"/><appSettings>