Showing posts with label Adapters. Show all posts
Showing posts with label Adapters. Show all posts

Tuesday, May 5, 2020

Creating FTP locally using WINDOWS 10

In this post, I will explain how to create a local FTP server which we can use for creating future OIC FTP adapters - 

Step1: Type cPanel in Search tab. Then Browse Control Panel\All Control Panel Items\Programs and Features. Click Turn Windows Features on or off as below:


Select FTP and IIS Management Console and click Close.

Step2: Type cPanel in Search tab. Then Browse Control Panel\All Control Panel Items\Administrative Tools. Right Click on Internet Information Services (IIS) Manager and Run as Administrator. You will see a similar console – 



Step3 : Under Sites à Create New FTP option


Step4: No SSL. Select basic Authentication. Allow access to Specified Users with Read , Write permissions. Use PORT 21

Step5: Browse Control Panel\All Control Panel Items\Windows Defender Firewall\Allowed apps. Select FTP. Click OK

Step6: Run cmd as Administrator, Type ipconfig and Enter. Copy the IPv4 address and Default Gateway IP

Step7: Login to your router by typing Default gateway in the browser. Usually the user id password should be admin and password

Step8: Go to Port forwarding option. Select this computer and provide IPv4 address

 

Download WinSCP or any other FTP software. Create new session with below details - 

Protocol : FTP
 Encryption : No Encryption
 Hostname : IPv4 address
 Port Number : 21
Username : Windows User Id (usually the Hotmail Id)
Password : Windows Password

Note - This is my personal recommendation. Since we have allowed the firewall to use this FTP server, the best would be to use this only for POC, development purpose locally and once objective is achieved, you should use WINDOWS to disable the FTP feature. 

 


Tuesday, March 24, 2020

SOA CS ADAPTERS - JMS

JMS ADAPTERS - Creating Weblogic Resources


JMS (Java Messaging Service) Adapter is based on JCA architecture (J2ee Connector Architecture) also known as Binding components. It can be used either as Inbound (receive message) or external (publish message).
Adapters basic helps converts native data to web services format to be used by composite. Conversion is done using JCA API, packaged as .rar file deployed in WebLogic server which is available during the runtime of a composite.


It falls under category of Technology Adapters. This can be used by both Oracle SOA Suite and Oracle Service Bus.
JMS is Java Messaging Server Application which runs of Application Servers as WebLogic provides JMS messaging infrastructure two mechanisms for message exchange –
  • Point to Point (Queue)
  • Publisher Subscribers (Topic)
This acts as a bi-directional adapter which allows messages to be published both (inbound and outbound)


JMS Adapter Configuration

  1. Login to SOA CS instanceàClick Managed Service IconàClick WebLogic Administrative Console.
  2. Login to WebLogic Admin ConsoleàExpand Domain Structure Panelà ServicesàMessagingàJMS Modules
  3. Click Lock and Edit Button. We can either create a new JMS module or create a new infrastructure under an existing module like SOAJMSModule. Click this module
  4. Click Newà Select Queue àClick NextàProvide Name and JNDI Name as TestQueue1 and jms/TestQueue1. Click Finish. The Queue is now created
  5. Click QueueàClick Subdeploymentà(Target to SOA JMS Server)
  6. Click NewàSelect Connection FactoryàClick NextàProvide Name and JNDI Name as TestCF1 and jms/TestCF1. Click Finish. The Connection Factory is now created
  7. Click ConnectionFactoryàClick Subdeploymentà(Target to SOA JMS Server)
  8. Expand Domain Structure Panelà Deploymentsà JmsAdapteràClick ConfigurationàClick Outbound Connection PoolàSelect Existing Connection FactoryàClick newàGive JNDI Name of ConnectionPool as eis/TestQueue1. Save the deployment plan as JMSAdapterPlan.xml
  9. Go Back to the ConnectionFactory created in Step8. Click the above JNDIàProvide ConnectionFactory created in Step 6 in the ConnectionFactoryLocation field, Click Save. Finally activate changes.
  10. Click Lock and Edit. Expand Domain Structure Panelà Deploymentsà Navigate to JMS AdapteràClick JMS AdapteràClick Update Button, Click the option having the deployment plan created in Step8

FBDI Introduction

FBDI  stands for File Based Data Import. It is a pattern provided by Oracle to have the data loaded into Oracle ERP Cloud. Its usually u...