Before I spend too much (more) time on this, has anyone actually got the 15.2 SOA working in a Windows PHP environment for event registrations? Security and membership-related stuff is working, mostly due to the toolkits made available in previous versions, but event registration is proving to be a problem. There's lots of "PHP should work" comments and there's a few "I got this far" posts that don't seem to be resolved, but is there anyone actually doing live server-to-server connections and processing live event registrations without the need of a 3rd party product? If so, please let me know, I'd love to chat with you offline. Thanks.
API
MembershipWebService and Active/Inactive/Suspended statuses
I am using the MembershipWebService to create a custom login script in a third-party content management system. I want to write the script so that it will check to see whether the account is Active (and not Inactive or Suspended) before I authenticate.
Is there a way to check the account status using the MembershipWebService? Will iMIS authenticate an account if the status of the account is Inactive or Suspended?
How best to use On Behalf Of?
I was pondering how best to support On Behalf Of (OBO) in my iParts in addition to the existing support for Logged In ID and Selected ID, when I realized that ASI may have already solved part of this puzzle.
Are there any guidelines or patterns for how these three entities should be used? My initial perception is that OBO substitutes partially for Logged In ID, but things can get really fuzzy when you start playing with combinations.
Only members of the SysAdmin role are permitted to use Query Service
Hi,
(Not sure if I've tagged this post correctly.)
We're experiencing an issue integrating a Third Party Web Content Management system with iMIS.
Issue summary
Occasionally the QueryService, when accessed as the "Seamless" user, throws an exception instead of returning results.
Steps to reproduce
1. Acquire a Login cookie for the seamless user using the MembershipWebService LoginUserAndProvideCookies action
2. Acquire a Login cookie for the web user using the MembershipWebService LoginUserAndProvideCookies action
3. Using the seamless Login cookie from (1) to authenticate, query the QueryService, GetResultsWithParameters action, using the queryPath of '$/ContactManagement/DefaultSystem/Queries/Advanced/Contact/Entitlements' and a parameter of the web username
4. Result
a. Expected The set of entitlements associated with the web username are returned
b. Actual A SOAP exception is thrown:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Only members of the SysAdmin role are permitted to use Query Service.
We have checked the security of the user in (1) that is being used and they are a "full" user and they have the "SysAdmin" role attached.
Asi.Membership.MembershipService.MembershipWebService ws = new Asi.Membership.MembershipService.MembershipWebService();
We need to generate a password based on the iMIS Businesss rules from the Webconfig file.
Is there another iBO method to generate a password in 15.2.1?
Asi.Membership.MembershipService.
MembershipWebService ws = new Asi.Membership.MembershipService.MembershipWebService();string password = ws.GeneratePassword(); //failed with 404 error
Event Type: Information
Event Source: ASI
Event Category: None
Event ID: 0
Date: 5/31/2012
Time: 6:21:39 PM
User: N/A
Computer: IMIS152TEST
Description:
iPart: The request failed with HTTP status 404: Not Found.
Problem with Login cookie using the MembershipWebService's LoginUserAndProvideCookies request
Hello,
We are working on integrating a third-party PHP-based CMS with iMIS using the MembershipWebService. To start out, I have created a simple script in PHP that calls the MembershipWebService's LoginUserAndProvideCookies request, and I get a "Login" cookie back (as well as one other cookie, but it looks like only the Login cookie is necessary for iMIS authentication). We are making this request on the iMIS SQL server, which is based at sql.website.org (this is not available to the public). For the cookie, I set the domain to ".website.org" to allow all subdomains.
iBO COM Code Error with 100% Discount Registrations
Within a product we are using COM based iBO code for processing of registrations. For some clients we have included the capabilities to include discounts on the registrations via discount functions containing a negative amount to offset the cost of the registration in other functions.
For example:
Main Registration = $100, Discount = -$20, Total Cost = $80.
This code is within a product we created and is not using eSeries any other components other than iBO.
CMS Express Engine
Has anyone written an API for CMS Express Engine?
We are looking for iMIS 15.2.
Creating content via API
I created a utility that bulk loads content from an Excel spreadsheet into WCM. When I run the code to create a new folder, the folder doesn't always show up on the Manage Content screen.
The code to create the folder is based on this sample code provided by Eric in 2009: http://www.imiscommunity.com/how_to_programmatically_create_content
When I inspect the DocumentMain and Hierarchy tables in the database, everything looks exactly the same as folders that I created manually with the WCM tool:
Page-to-page communication
I have two pages, both with iParts, which need to communicate with each other. Some of the details I want to communicate are a bit sensitive. It's not credit cards or other personal info, but it could potentially be used to manipulate the system to gain access to records that shouldn't be seen by the current user.
I know the first page can pass parameters to the second page using the URL, but the security is non-existent. Even my mother-in-law can manipulate URL params.