Creation and Running of ERP Event Based Flow in SOACS Application - 2
Creation and Running of ERP Event Based Flow in SOACS Application - 2
Open the compatible version of JDev (PS2 with couple of patches. Bugs of patch (24901339,
24902015)). For windows make sure to run Jdev with Administrator privilege.
Create a SOA application and project
Drag and drop the ERP adapter from the cloud section of component window into Exposed
service side (inbound).
Provide WSDL URL, Event URL and create CSF key, which holds the credentials of ERP instance.
Not to confuse this CSF key with the one, which we will be creating at FA application.
EX:
WSDL URL : https://<host:port>/fndAppCoreServices/ServiceCatalogService?wsdl
Event URL : https://<host:port>/soa-infra
Also refer to documentation to get these URLs:
http://review.us.oracle.com/review2/Review.html#reviewId=343551;scope=document;status=o
pen,fixed;documentId=2053000;fragment=GUID-FB9CEFEC-BDD0-4629-9F06-
D073E8C6419C__OBTAININGTHESERVICECATALOGSERVICEWS-2F952D2C
Click the Test link to test the connection. Once it is successful, you would see the success
message on the screen. If test fails, check the Jdev proxy settings.
Then click on Next. It will download the metadata from the ERP FA server, will take some time
and you will be presented with a Request page.
Select the “Business Event” radio and the event, which you want to consume.
You will be presented with Response page. Here you can choose to send Business object as
response or no-response.
Before you deploy the composite on to SOACS using EM, do the following task.
Configure the key-store and proxy setting as per the requirement of the SOACS instance.
This can be configured in setDomainEnv.sh file.
Add the SSL certificate of FA instance into SOACS instance. Certificate(s) can be downloaded
from WSDL file.
Composite can be deployed.
Check if SOACS endpoint was subscribed to FA. You can check using following curl command
curl -X GET https://<fa-host>/soa-infra/PublicEvent/subscriptions -u <username>:<password>
In the curl response, if the subscription URLs host is null and port is 0 then, configure the
frontend URL at SOACS at setDomainEnv.sh file by adding the front end URL entry
-Dcloud.sdk.frontend.url=https://<soacs otd IP>:443
If the curl response does not include your SOACS subscription entry. Refer to SOACS logs.
Using SOA composer, create CSF key entry into FA(ERP) application, this CSF entry will hold the
credentials for SOACS instance. (Not to confuse this CSF key with the other, which you used in
JDev). Name of the CSF key should be same as present in subscription entry of your SOACS
endpoint which you got from the curl response.
SSL Certificate of SOACS instance registered should be installed on the trust store of FA(ERP)
application.
c) Create Item
Choose Organization: Ex: “V1”
Item Class: select item class, Ex: Root Item Class
Click Ok
If you won’t see any instance being created at SOACS, then please refer to SOA logs of the
FA(ERP) application
Troubleshooting/Known Issues:
http://aseng-wiki.us.oracle.com/asengwiki/display/ASDevSOA/EHF+FAQ#EHFFAQ-
25.ConnectionTimeOutwhileEHFiscallingtheICS-
Subscriber(Bug#26592008/27075373forreference)-PortnotenabledforInterDCCommunication