Showing posts with label OAMMS. Show all posts
Showing posts with label OAMMS. Show all posts
Friday, March 15, 2013
My White Paper on OAM Mobile and Social
Back in December I started putting together a White Paper on OAM 11g R2's new Mobile and Social capabilities. The paper covered the work we did for a Proof of Concept for a bank's new mobile banking application. Between the end of year holidays, a bunch of other projects and a long vacation the whole process of getting it all down on paper, reviewed and published took much longer than I expected to, but the paper is finally ready.
If you're interested in writing iOS apps that authenticate against OAM and then access REST services protected by OAM this paper might be right up your alley.
The paper is available from the Mobile and Social Access Services page on Oracle.com. Just scroll down to the Technical Information section and hit the link Oracle Mobile and Social Case Study - Mobile Banking Application (PDF) (or just click that link).
If you read it and have ideas, questions, comments, or even absurd remarks I'm all ears!
Friday, December 14, 2012
My Silly (and common) Mistake with the OAM Mobile and Social SDK on iOS
I recently created an iOS application using the OAM Mobile and Social SDK for iOS and got an error in my debugger output window:
Those flags are needed whenever a new message (function) will be passed to existing class without extending it. Inside the bits of the M&S SDK NSString doesn't have OMJSONValue but the SDK will pass OMJSONValue to NSString, so those flags are needed to make it work.
Of course this is documented in a block marked "Important:" but I missed it and I'm guessing if you found this blog post via Google you did too!
2012-12-05 19:06:38.038 PiggyBank[24799:1303] -[__NSCFString OMJSONValue]: unrecognized selector sent to instance 0xb2be000This error appeared after the Application Profile was downloaded and I couldn't figure out what I had done wrong. Turns out I'd forgotten one step after adding the SDK bits to the XCode project - I had forgot to add the linker flags "-ObjC -all_load" under Build Settings. To fix this click on the Project, then click the Target, then click the "Build Settings" tab and find the "Other Linker Flags" row. Edit it and add -ObjC -all_load to whatever's already there. Here's a screen shot:

Subscribe to:
Posts (Atom)