Posts

Showing posts from 2012

Amazon Store 4 Mobile

It does not work :(
You can use the following form to search on Amazon.com Amazon.com Widgets
Here is an alternate option with a cloud of product tags: Amazon.com Widgets

News from the Open Cloud

There are interesting new initiative on the cloud front. Here are a few that catch my attention in the past weeks:
OASIS Cloud Application Management for Platforms (CAMP). OASIS Cloud Authorization (CloudAuthZ).The AWS GovCloud (US) Region Camp remind me of BootCamp or LeBootCamp :)
Is CloudAuthZ the next OAuth?
With all the buzz around cloud, I am curious to see where we are going. 
How are all these new initiatives going to impact us on the Web, while using DropBox, EverNote, or Google+, LinkedIn, Apple and the like? 
Where is the trust going to be on the WEB?
I'll like to keep the center-stage in this role game and own my identity, keep my tokens secured in my wallet like I do today. I am not sure I want to trust comercial entities to do this for me, free of charges.
Can players like Adobe, Microsoft, Oracle, RedHat and the telcos get into this game and provide the unified platform for everyone to standardize on?

soapUI is back, with lot more for you.

Image
It has been a long time since I last used soapUI - see my 2007 post - when I was using version 2.1.x. Today, I got 4.5.1, from the same location: http://www.soapui.org/
I wanted to test a simple WS using WS-Security username token and ran into an interesting issue; the invocations were failing with an HTTP error : 401 Unauthorized
The solution was simple - switch the HTTP authentication to use preemptive mode (see documentation).

Here are 2 common HTTP errors codes: HTTP/1.1 403 ForbiddenThe username/password you provided is not valid.HTTP/1.1 401 UnauthorizedThe server is sending back an auth challenge that may be ignored by the HTTP client library - the hint on the response is "WWW-Authenticate: BASIC realm="owsm".
And 1 common soap fault:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Header/>
  <env:Body>
    <env:Fault xmlns:ns0="http://schemas.oracle.com/owsm/policy-enforcement-2007-06">
  …

Where is my help menu?

Image
While I was trying to get some JUnit test written on my MacBook Air over the weekend, I end up spending wasting some time with a silly issue : get the JUnit extension installed.

From the documentation, it's pretty clear - the Help menu.


Enable JDev Extension - section 9 : http://docs.oracle.com/cd/E26098_01/install.1112/e17074/ojdig.htm#BDCBECBH
The issue was to find this menu - until I finaly found the empty entry right to the Window menu - It's the standard location for this entry, on Mac OS-X, except that it was not rendered due to the number of tools I have coming from the far right end.
As it took me some time to figure it out, I'll share it here in case you are running into the same small hurtle.
Once you have the extension installed, here is a good blog post that walk you through the next steps: https://blogs.oracle.com/bwb/resource/JUnit_Testing/Unit_Testing_with_JUnit_and_JDeveloper_11g.html

Enjoy

JDeveloper does not start after Mountain Lion upgrade

With Mountain Lion (OS X 10.8), I have found my first upgrade hurdle - starting JDeveloper give me a bash script that runs forever with ~100% CPU utilisation.

I am currently running the Studio Edition Version 11.1.2.1.0

Google gave me a good first place to start : A Mountain Lion Ate My JDeveloper. While this sounds like the right solution, I am going with a simple hack for now; it is to use JDK 1.7 and ignore the warning seen at startup.

Edit ~/Oracle11121/Middleware/jdeveloper/jdev/bin/jdev.conf

replace

SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
with

SetJavaHome /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home So far, so good and I am able to see my current projects and compile my code.

You mileage may varies.

Back to my WS-Root

Image
After a long time looking into Application development and UX widget, I am taking a fresh look at Web Services and I'll be starting to play with JSON and REST ideas.

But first thing first, I have to refresh my IDE install on my MacBook Air - This is an easy 2 steps process:

Download the latest version from OTN - Version 11.1.2.1.0 is the latest (Build 6081).Follow the steps from Shay's blog. The 1.7 GB file is not really lightweight on the WIFI network - it's better to have something else to do while waiting for the file to be ready, like learning about Oracle Enterprise Repository: Start with the overview, here.Next is the Java API References, a.k.a. the JavaDoc and the OSR online documentation. There is a lot of reading material, so you should be good for some time. You can also browse the Sample Code collections on OTN - My next stop is the Oracle CRM On Demand Sample Code.
Here are 3 screen shoots that are important: Pop-up screen you will get once the installer download…