Doorgaan naar hoofdcontent

Posts

Cordys BOP4: Database connector

Introduction Just like any other Enterprise Service Bus, Cordys BOP4 also has connectors like file, ftp, mail and database. This blog item shows how a database connector is configured within the product. Note: Within a Service Oriented Architecture that must be flexible and product independant I would advise not to use product specific database connectors. I would recommend to implement an abstraction layer around the database with for instance Hibernate and expose it as a webservice. Ws-AppServer Within the Cordys BOP4 platform a database connector is implemented with a so-called Ws-AppServer. This is a java layer between the database and can be used to implement some business logic and/or the place to react on database events. For this example I have used a MySql database instance (Test) with an Employee table. DROP TABLE IF EXISTS test.Employee; CREATE TABLE test.Employee ( EmployeeNumber varchar(255) NOT NULL DEFAULT '', FirstName varchar(255) NOT NULL DEFAU...

Hermes ebXML SSL Configuration

Introduction This blog item describes how I setup End-2-End security ebXML communication using the Hermes2 framework. The ebMS client is on a Tomcat installation and it communicates with an Apache WebServer (running on Linux and redirecting ebms communication to Tomcat instance on the same server). Prerequisite: Hermes2 (client) and Tomcat installed Hermes2 (server) and Tomcat installed Server certificates generated (self signed) Configuring Hermes2 (corvus webbapplication within Tomcat) When you change the partner agreement to use the https:// protocol towards the receiver you will get the following error (look in the ebms.log of the ebMS sender). hk.hku.cecid.ebms.spa.task.DeliveryException: Cannot send the message     by hk.hku.cecid.piazza.commons.net.ConnectionException: Unable to send HTTP SOAP request     by javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider...

SSL: Tomcat and Apache some handy links

Introduction I know there has been written a lot already about SSL configuration on Tomcat and Apache, but for my own registration I store some links I used to setup SSL. It also contains some handy commands I used to generate certificates. Links Client Certificate Authentication with Apache Apache webserver and SSL configuration Nice overview of SSL and OpenSSL OpenSSL and PKCS#12 FQA Description of Java keytool Most common keytool commands Configuration of Hermes2 (ebXML framework) with SSL Configuration of SSL in Tomcat Terms X.509 In cryptography, X.509 is an ITU-T standard for a public key infrastructure (PKI) for single sign-on (SSO) and Privilege Management Infrastructure (PMI). X.509 specifies, amongst other things, standard formats for public key certificates , certificate revocation lists , attribute certificates , and a certification path validation algorithm. PKCS#12 PKCS#12 is a standard for storing private keys and certificates securely. It define...

How to explain Cordys BPM?

Today I got a question from Anita one of my Twitter followers: "Most people just dont get the whole application, BPM, layered language, how do you explain Cordys to people? " So to get a discussion going i post this question to my Blog so that we can discuss here ! A few questions come to me: What do people don't get? The layering? The BPM language? Or the step towards Cordys? The whole thing about BPM is that you get a flexible business architecture that is abstracting the business processes from the technical implementation. This way you get technical flexibility as well as business flexibility. BPM brings business and IT together ! Cordys BOP4 is a platform that supports this notion of layering and processes with a service oriented architecture. It follows the principles as set by Thomas Erl's SOA Principles . Within the SOA patterns there is also the layering pattern : This is about layering your Services into three abstraction layers. Thomas ta...

Cordys: Authenticator is not instantiated via the properties

I was testing Basic Authentication with soapUI and got the following error: "Authenticator is not instantiated via the properties". <soapenv:Envelope xmlns:def="http://schemas.cordys.com/default" xmlns:mes="http://www.cvz.nl/csp/message" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">    <soapenv:Body>       <soapenv:Fault>          <faultcode xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">ns0:Client</faultcode>          <faultstring xml:lang="en-US">User validation failed for: '5517'.</faultstring>          <detail>             <cordys:FaultDetails xmlns:cordys="http://schemas.cordys.com/General/1.0/">                <cordys:...

Cordys: Contract First design

Introduction One of the principles of Service Design is Contract First . With this principle you first design the service contract of the service and then implement it. This blog item will show a small example within Cordys BOP4. Contract First First I will create a simple HRM Employee service first. The WSDL can be found here Before you can use this WSDL you have to import the WSDL. Create a Project with com/examples Folders Create new Web Service document in com/examples Folder Select Import WSDL and name the service, click Next Now you have to fill in the URL of the WSDL. I have installed Cordys on my Windows machine and put my EmployeeService within the <CordysInstallDir>/Web directory. This way the WSDL is accessable through a URL. Select Show Services to view the service defined within the WSDL. Check Interface WSDL , because it is just the interface and not the implementation we are importing. Now you are able to use this as a basis to define a Contract Bas...