view counter

Feed items

OEG - Oracle Enterprise Gateway - McAfee Anti-Virus

OEG can work in concert with various anti-virus tools such as CLAM AV, McAfee and Sophos.

This post details the setup for McAfee.

In my example OEG and McAfee are installed on the same machine.

Installing BPM11g feature pack on Windows

The patchset consists essentially of 4 patches that one applies to the
Common Oracle Home and the SOA Home.

One then updates the DB repository.

Upgrade JDeveloper

Do a couple of post install steps and then that's it.

please refer to my install doc at
https://docs.google.com/leaf?id=0B7YrnfO7h717YzE5YzY4ZmUtYWRmZi00YWUyLWE5MzQtOTMyZTZiMTRiYzU4&hl=en_US

Then check out otn for the new features doc

OEG - Oracle Enterprise Gateway Throttling - Part2

In this scenario have requests from Gold and Silver customers.
• Gold customers may execute 10 requests per minute
• Silver customers may execute 5 requests per minute

The customer status is stored in the http header – custStatus.

I created the following policies in OEG Policy Studio –

To begin with I create a policy for Silver customers -

OEG - Oracle Enterprise Gateway - Throttling

Simple example - throttle to only 5 requests per minute.

This builds on the example detailed in the previous OEG blog posting.

http://niallcblogs.blogspot.com/2011/09/registering-web-service-with-oracle.html

We will now amend the generated circuit (or shall we say, policy pipeline) to throttle requests to 5 per minute and email the Sys admin in case of violation.

We do this using the Throttling filter -

Cobol on the Bus Part 3

This time I have a somewhat more complex payload -

01 XXX.
05 XXX-STRUCT.
10 XXX-USER PIC X(04).
10 XXX-CODE PIC 9(08).

05 YYY-TAB.
07 YYY-DETAIL OCCURS 2 TIMES.
10 YYY-A PIC X(01).
10 YYY-B PIC S9(16)v9(2).
10 YYY-C PIC S9(16)v9(2).
10 YYY-D PIC S9(16)v9(2).
10 YYY-E PIC S9(3)v99.

Registering a Web Service with Oracle Enterprise Gateway (OEG)

Simple sanity test for OEG install.

I have created and deployed a simple creditCardValidation service to

http://localhost:7001/ValidateCC/ValidateCCPort?WSDL

The impl is as follows -

package validatecc;

public class ValidateCC {
public ValidateCC() {
super();
}
public CreditCardValidation validateCard(String cardType, String cardNr){
CreditCardValidation ccv = new CreditCardValidation();
ccv.setStatus("INVALID");

if (cardType.equalsIgnoreCase("AMEX")){
ccv.setValidFrom("20110101");

Installing/Configuring Oracle Enterprise Gateway on Windows

The software is available on OTN, just click on the download link at -
http://www.oracle.com/technetwork/middleware/id-mgmt/oeg-300773.html

Then simply follow my doc -

https://docs.google.com/leaf?id=1D0Z0KfgFdvqGHIcpG_7B32mWImGGCRkWhO882KyRVJFYAx94QK9yf6vVTjQP&hl=en

OEG - Oracle Enterprise Gateway

I'm currently in Santa Clara skilling up on OEG, which can secure access to your services etc. from the outside world. It works in conjunction with WSM. Think of it as taking care of security in the DMZ, working in concert with WSM which takes care of the last mile security.

To quote from OTN -

Oracle Enterprise Gateway provides DMZ-class security and a comprehensive threat defense system at the service perimeter to SOA and Cloud environments, thus providing critical protection needed between un-trusted and trusted zones.

BPM11g looping Subprocess

Scenario:

the ubiquitous example of an order and its order lines -

XSD


Adding ADF BC components to a BPM Human Task Form

Here is what we need to do...

The BPM process only contains the orderID in the payload. We will need to retrieve the order details from the database via ADF BC and display them on the task form page. My table is called am_order and is defined as follows -

view counter