Part 2; Understanding the Power of SAP HCI: SOAP2SOAP Scenario Design Time


In part one of these series; I discussed how to set up a modeling environment for creating iFlows and other artifacts in SAP HCI in the eclipse-based modeling environment. In this part 2, I will describe on a high level how to implement a simple SOAP2SOAP scenario. In this blog, SOAP UI will be used to trigger our client web service. So, let’s get started.

Modeling in eclipse is done in two perspectives:

Integration Designer: Creating iFlows, mappings, importing WSDL files and other existing SAP PI artifacts from the ESR, configuring communication channels and security artifacts.

Integration Operations: Deploying iFlows, monitoring the runtime.

Adding Operations server for Deployment, SAP PI Server for importing SAP PI artifacts

Launch eclipse, go to Windows à Perspectives à SAP HANA Cloud Integration and enter the necessary details to connect to the operations server (tenant) and Enterprise Service Repository for importing SAP PI objects and artifacts such as Message mappings, operation mappings, WSDL.

operations server.png

Create iFlow:

  1. Switch to Integration Designer Perspective: Go to Window àOpen perspective àOther à Integration Designer

 

/wp-content/uploads/2014/02/iflow_398106.png

To create an iFlow, first create an integration project, click on the project explorer palette, select New à Other à SAP HANA Cloud Integration à Integration Project

integration project.png

Follow the wizard through and the integration project will be created, follow the steps above to create an Integration Flow in the Integration Project and the following screen is shown:

hci workspace 1.png


Generate Security Artifacts

This section describes the security Artifacts that will be necessary to configure the sender and the receiver systems for security. Follow the steps described below;

1) SSL Certificate CA, Public and Private Keys

  • download certificate  e.g SAP Passport CA from SAP link (using S number and password) via Firefox; [1]
  • download the Private Key from this certificate following the steps listed in this blog; [2]
  • save the Private Key in a folder (to be loaded in SOAP UI through SSL Settings)download certificate SAP Passport CA from SAP link (using S number and password) via Internet Explorer, [3]
  • download the Public Key from this certificate following the steps listed below;
  • save the Public Key in a folder (to be exchanged with partner e.g SAP).
  1)internet options - 2)content- 3)certificates- 4)personal- 5)export

2) SOAP UI Settings: Load the Private Key into SOAP UI through the following steps

  • file preferences SSL Settings, browse to your Private Key (downloaded from step 1 ).

    3) Deploy Java Key Store

  • Java Key store containing the CA and Public Key from the HTTPs web service should be deployed as an artifact on the operations server. This is a step that is currently performed by SAP.

    4) Set up SOAP UI

Call the service exposed via SAP HCI using SOAP UI. The endpoint to be used in your SOAP UI can be constructed in the following manner: https: //<operations server name>/cxf/<path defined in the sender channel>.

    5) Monitoring:

  Check in SOAP UI to be sure the message is sent successfully and monitor it through the SAP HCI Eclipse IDE, Integration Operations perspective.

soap ui 1.png

After all the security artifacts have been made available, the configuration for the systems to communicate will be done. The details about the configuration steps are described in part 3 of this blog. At this point you are able to configure a simple SOAP2SOAP scenario. If you have questions thus far, please do not hesitate to contact me.


Written By; Abidemi Olatunbosun, Rojo Consultancy BV, The Netherlands

Contributor; Geert van den Reek, Rojo Consultancy BV, The Netherlands

To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

  1. Richard Kleibl

    HI,

    thanks for this blog. Currently i have access to the trial cloud (hanatrial.ondemand.com)

    But i can’t find the information how to connect from eclipse to the cloud

    eg. what exact URL do i have to enter? Could you please enlight me.

    Thank you in advance

    (0) 
  2. Vinay Avva

    Hi Olatunbosun,

    That was a great example.  I have just started working on HCI and this sample helped me a lot. But I’m having trouble, my iFlow is not starting on the SAP tenant which I have configured. I’m seeing the following Error. Kindly can you help me out

    [CAMEL][IFLOW][ERROR]:Integration flow failed.

      [CAMEL][IFLOW][EXCEPTION]:java.util.concurrent.TimeoutException

      [CAMEL][IFLOW][UNRESOLVED]:Unresolved dependency: (objectClass=com.sap.esb.security.KeyManagerFactory)

      [CAMEL][IFLOW][UNRESOLVED]:Unresolved dependency: (&(keystore=default)(objectClass=com.sap.esb.security.KeyCertificateAccessor))

      [CAMEL][IFLOW][UNRESOLVED]:Unresolved dependency: (objectClass=com.sap.esb.security.TrustManagerFactory)


    (0) 
        1. B. Van Rooij

          And so funny that you are referring to the .pdf I mentioned in my blog and uploaded to my dropbox 🙂

          (I created that blog so other people do not get stuck on the same problem(s))

          (0) 
            1. B. Van Rooij

              Not a problem! The intent of my blog was that people could find the solution, I’m glad you found it on google and used it to help me in my previous problem!

              (0) 
  3. diptee s

    Hello,

    Can the SAP Passport be used for establishing trust between HCI and on-premise servers? Please note the on-premise servers do not belong to a client landscape, they are training systems.


    Regards,

    Diptee

    (0) 

Leave a Reply