403 Forbidden Error in OSB 12.2

HTTP requests to OSB Services are resulting in 403 Forbidden error.

When the services are invoked from the OSB test console, they are working fine but external requests(e.g Invoking from soapUI) to the same services are failing with 403 Forbidden error message.

Solution:

In weblogic console, Un-target the “API Manager Starter Application” on the OSB server & restart osb server.

Auto Purge in 12c

Recently I have faced data loss in one of our environment. When we queried for CUBE_INSTANCE table to check instance state I found all data before 7 day are gone. I have tried to find out the reason if that instance were ever created or not then I found one new feature of 12c called Auto Purge.

All of our instance’s data were purged because of this so the situation forced me to disable auto purge immediately. Later on I found this is very use full feature and configured them with optimal value as required for our environment.

Please read below page for some more info and to get basic idea on of this new feature.

Page Link : Auto Purge in 12c

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.

Web Service Authentication and Authorization using OWSM Policies in SOA

Secure your web services in SOA using owsm policies. In this tutorial we will enforce authentication and authorization(in simple term allow specific user to access specific web services) on SOA web services using custom policies. Authentication happens by simply creating username and password and attaching the wss username token service policy and for Authorization we have created custom binding authorization policy with specific role attached to them. Please follow the below link for detail step by step approach with screenshots.

Page Link : Web Service Authentication and Authorization using OWSM Policies in SOA

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.

How to use SOAP header in BPEL

A simple tutorial to show how we can capture custom soap header element from the request message in bpel service and also how to pass some value from one bpel to another bpel in soap header while invoking. In this tutorial I have added two custom header element as username and password and capturing them in one of the service and passing those credentials to other service.

Page Link : How to use SOAP header in BPEL

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.

Handle Dynamic Parameter using bpel.preference Property

A simple tutorial to show how we can use bpel.preference property to set dynamic parameter that we may need to change at run time without a code redeployment. We can also use this feature to update preference variable value during migration(to different environment) to set environment specific data using config plan file.

Page Link : Handle Dynamic Parameter using bpel.preference Property

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.

Schedule Sync WebService using Oracle Enterprise Scheduler Service

The Enterprise Scheduler Service(ESS) component is now bundled with SOA Suite 12c pack. In this post we will see one tutorial on how to schedule one Synchronous Web Service in Oracle ESS. The ESS is capable to scheduled other types of Job as well like Java, PL/SQL etc.

Page Link : Schedule Sync WebService using Oracle Enterprise Scheduler Service (ESS)

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.

SSLProtocolException: handshake alert:unrecognized_name

Recently I have encountered with one issue while invoking a web service on HTTPS. It gives me error like “handshake alert:unrecognized_name” and after reading on this I found out this is because of SNI feature of TLS protocol. In this post I have included the problem statement, error message, reason and solution for the handshake error with some screen shots of steps to resolve the issue. Please find the post at below link.

Page Link: javax.net.ssl.SSLProtocolException: handshake alert:unrecognized_name

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.

Generate Java Keystore from PFX file

Know how to generate keystore file from a .pfx file. The keystore file is required for SSL configuration in weblogic.  To generate keystore file here we have used OpenSSL and ImportKey.java file.

Page Link: Generate Java Keystore from PFX file using OpenSSL

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.

Base64EncoderDecoder-Java Embedding-SOA-BPEL2.0

Sometime we faces situtations where we need to deal with Base 64 binary data. Check the below link to know how to use java embedding activity in BPEL 2.0 specification for Base64 Encoding and Decoding with screenshots. The post also describes some business scenarios and error descriptions related to Base64 data encoding and decoding.

Page Link: Base64EncoderDecoder-Java Embedding-SOA-BPEL2.0

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.

PKIX path building failed: SunCertPathBuilderException: unable to find valid certification path to requested target

A solution page on well known issue “PKIX path building failed: SunCertPathBuilderException: unable to find valid certification path to requested target”. Supported with Problem statement, Error message and Reason.

Page Link:   PKIX path building failed: SunCertPathBuilderException: unable to find valid certification path to requested target

Like it if you have learned something. Comment your views, queries. Any suggestion and corrections are always appreciated. Keep learning.