Dynamic Partner Link with BPEL 2.0 and SOA Suite 12.2.1.3
Problem: Calling the external soap services dynamically using BPEL 2.0.
Issues Fixed:
<selectionFailure xmlns=”h ttp://docs.oasis-open.org/wsbpel/2.0/process/executable”>
<part name=”summary”>
<summary>fromValue is not a sref:service-ref element</summary>
</part>
SOAP UI: Enabling TLSv1.2 / SSLv3
Problem: Error in Connecting to HTTPS Web Services / REST Services with changes in SSL
Error Details: ERROR: Exception in request: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Mon Nov 12 11:06:13 GST 2018:DEBUG:Sending request: CONNECT eaglehills.api.crm4.dynamics.com:443 HTTP/1.1
Mon Nov 12 11:06:14 GST 2018:DEBUG:Receiving response: HTTP/1.1 200 Connection Established
Mon Nov 12 11:06:14 GST 2018:DEBUG:Tunnel to target created.
Mon Nov 12 11:06:14 GST 2018:DEBUG:Attempt 1 to execute request
Mon Nov 12 11:06:14 GST 2018:DEBUG:Sending request: POST /XRMServices/2011/Organization.svc HTTP/1.1
Mon Nov 12 11:06:14 GST 2018:DEBUG:I/O error closing connection
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake Continue reading →
Transactions in SOA
Transactions
-
Services can be:
- Non-Transactional Services
- Transactional Service
- Non-Transactional services are the services that does not modify data.
E.g. File Adapter, FTP Adapter
- Transactional service can be defined as any service that performs DML operations, where each operation are subject to ACID(Atomicity, Consistency, Isolation, Durability) principles.
- Transactional services are implemented as a java web services or adapter services which are invoked from SOA using BPEL or Mediator
- Transactional boundaries depend on context, configurations and environment of the services that are implemented and invoked.
- Transactional semantics differs for the services that are invoked synchronously compared with services invoked asynchronously.
SOA Suite 12C Installation and Domain Creations
Open cmd prompt as Administrator
C:\>cd Java\jdk1.7.0_65\bin
C:\Java\jdk1.7.0_65\bin>java -jar C:\Softwares\fmw_12.1.3.0.0_soaqs_Disk1_1of1\f
mw_12.1.3.0.0_soa_quickstart.jar
We can configure below mentioned three different types of domain in Oracle SOA 12c.
Integrated WebLogic Server’s default domain in JDeveloper – Uses internal JavaDB
Standalone domain – Uses internal JavaDB
Compact domain – Uses External Oracle DB
Web service Standards
In this post i will be discussing about what is web service and various web service standards like WSDL, SOAP, UDDI
Parallel execution in OSB
Executing multiple tasks parallely in a process is implemented using split joins in OSB.
E.g. Need to implement a process which will interact with 2 different functionality which will return job details and personal details of an employee separately. So both the functionalities does not depend on each other. In such a case in can invoke the both the functionalities at a time in parallel.
Implementation: Refer the below URL for implementation.
https://drive.google.com/file/d/0Bz9wGhXL_T6WU2Z3TWpuOXlXcXM/edit?usp=sharing
J2EE Agent installation in ODI11g
Follow the below steps to install J2EE Agent in ODI11g
- Install Weblogic Application server
- Install J2EE Agent from odi installer on the Middleware home created by the Weblogic server
-
Weblogic Domain Creation. Here we need select required ODI product features like odiconsole, odi agent (i.e. oraclediagent)etc and then the specify the master, work repository details and specify admin server and managed server with required options.
Use the below file for domain creation: Continue reading →
Security Implementation in Weblogic Server
Securing web service or web applications deployed on web logic server are achieved by following the below steps
- Obtaining the Certificates
- Keystore
- Configure WLS with keystore and enable SSL
-
Obtain the Certificate: You can obtain the certificates from the certificate signing authority (i.e. Certificate Authority, CA like VeriSign etc.)
Otherwise you can obtain certificate by accessing the URL of the external system you want you use in integration.
There are two types of certificates
Trusted Certificates – These are certificates of Certifying Authority (CA).
Identity Certificates – These are certificates of Server to which certificates are issued.
SOA Server Startup Failed with error message: JDBC LLR, table verify failed for table ‘WL_LLR_ADMINSERVER’, row ‘JDBC LLR Domain//Server’
Most common errors that you probably get when you are starting off on soa server. While starting the server, if you check the server logs, and you get a message similar to this
<Critical> <JTA> <BEA-110482> <A logging last resource failed during initialization. The server cannot boot unless all configured logging last resources (LLRs) initialize. Failing reason:
weblogic.transaction.loggingresource.LoggingResourceException: java.sql.SQLException: JDBC LLR, table verify failed for table ‘WL_LLR_ADMINSERVER’, row ‘JDBC LLR Domain//Server’ record had unexpected value ‘base_domain//AdminServer’ expected ‘domain1//AdminServer’*** ONLY the original domain and server that creates an LLR table may access it ***
Customization in OSB
When you move your osb configuration / project from one environment to another environment like dev to testing, testing to production etc we may often require to change environment values like: port numbers, server names, URL’s, File and directory names etc.
Two ways to change the environment values:
- Find and replace in SB console: Used for One-off changes
- Create and apply customization file: Used for frequent changes and also update resource references
Recent Comments