tag:blogger.com,1999:blog-70391831982320834592024-03-11T04:58:57.846-07:00Sameh NassarExploring Oracle Middleware, Oracle Cloud Services, and the Power of Machine LearningSameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.comBlogger60125tag:blogger.com,1999:blog-7039183198232083459.post-67892211774684750982024-02-07T03:31:00.000-08:002024-02-07T04:03:42.210-08:00Seamless Transition from Oracle SOA and OSB to Oracle Integration Cloud (OIC)<p><span face="Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"" style="color: #374151; font-size: 16px; white-space-collapse: preserve;">In the fast-paced world of modern business, agility is key, and technology plays a pivotal role in achieving it. For enterprises relying on Oracle SOA (Service-Oriented Architecture) and OSB (Oracle Service Bus), the shift towards cloud-native solutions has become more than a trend – it's a necessity. Oracle Integration Cloud (OIC) emerges as a powerful alternative, promising enhanced efficiency, scalability, and a host of other benefits that can significantly transform your business operations.</span></p><p><span face="Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"" style="color: #374151; font-size: 16px; white-space-collapse: preserve;">Oracle SOA and OSB have been reliable workhorses for enterprises, offering a robust framework for integrating applications and services. However, with the evolving digital landscape, businesses face new challenges that traditional on-premises solutions struggle to address. The limitations of Oracle SOA and OSB, such as complexity, slower deployment cycles, and high maintenance costs, have prompted organizations to explore more agile and innovative solutions.</span></p><p><span face="Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"" style="color: #374151; font-size: 16px; white-space-collapse: preserve;">In this post, I will talk about the advantages of Oracle Integration Cloud (OIC) and I will Illuminate the Transformative Benefits in this Insightful Journey.</span></p><p><span face="Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"" style="color: #374151; white-space-collapse: preserve;"><b><u>Unveiling Oracle Integration Cloud (OIC):
</u></b>Oracle Integration Cloud (OIC) stands as a beacon for organizations seeking a seamless transition to the cloud. This comprehensive and unified integration platform brings together various tools and services, empowering businesses to connect their applications, automate processes, and leverage emerging technologies such as AI and machine learning. Let's delve into the key benefits of migrating from Oracle SOA to OIC:
<b>1. Accelerated Deployment:
</b>OIC offers a low-code, visual development approach that significantly speeds up the integration process. With pre-built adapters and templates, developers can rapidly create connections between diverse applications, reducing the time it takes to deploy and launch new services.
<b>2. Cost Efficiency:
</b>Moving to the cloud with OIC eliminates the need for extensive on-premises infrastructure, resulting in reduced hardware and maintenance costs. The pay-as-you-go pricing model allows organizations to scale resources as needed, optimizing expenditure and maximizing ROI.
<b>3. Seamless Scalability:
</b>OIC's cloud-native architecture ensures seamless scalability, adapting to the growing demands of your business. Whether you're dealing with increased data volume or expanding your service offerings, OIC effortlessly scales to meet your requirements.
<b>4. Simplified Maintenance:
</b>Say goodbye to the complex maintenance routines associated with on-premises solutions. OIC's cloud-based model shifts the responsibility of infrastructure management to Oracle, allowing your IT teams to focus on more strategic initiatives rather than routine maintenance tasks.
<b>5. Enhanced Connectivity:
</b>OIC provides a unified platform for connecting applications both on-premises and in the cloud. With support for various protocols and standards, including REST and SOAP, organizations can achieve seamless integration across their diverse IT landscape.</span></p><p><span face="Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"" style="color: #374151; white-space-collapse: preserve;"><b>6. Exceptional Exception Handling:
</b>Oracle Integration Cloud (OIC) streamlines exception handling with its robust capabilities. Through intuitive dashboards and proactive monitoring, OIC empowers businesses to swiftly identify and address integration errors, minimizing downtime and ensuring seamless operations.
<b>7. Complimentary File and Email Services:
</b>OIC simplifies file management with its built-in File Server and internal storage, offering a convenient solution for handling files across various integration processes. Additionally, OIC provides a complimentary email server for notifications, enabling organizations to effortlessly communicate crucial updates and alerts to stakeholders, further enhancing operational efficiency.
</span></p><p><b><span style="font-size: medium;">What is the next step?</span></b></p><p></p><ul style="text-align: left;"><li><span style="color: #374151;"><span style="white-space-collapse: preserve;">Provisioning Your Oracle Integration Cloud (OIC) Instance </span></span></li><li><span style="color: #374151;"><span style="white-space-collapse: preserve;">Initiating Simple Integrations</span></span></li></ul><p></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;"><br /></span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Now that you're equipped with insights into the remarkable advantages of Oracle Integration Cloud (OIC), it's time to take action. Follow these steps to kickstart your journey towards seamless integration and enhanced operational efficiency:</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;"><br /></span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;"><b>1. Provision Your OIC Instance:</b></span></span></p><p>Check out my latest blog post where I explain how to provision an Oracle Integration Cloud (OIC) instance in detail: <a href="https://sameh-nassar.blogspot.com/2024/02/oracle-integration-oic3-provisioning.html" target="_blank">Oracle Integration (OIC3) Provisioning Guide</a>. Simplify your setup process and unleash the power of OIC!</p><p><br /></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;"><b>2. Initiate Simple Integrations:</b></span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Start by identifying a straightforward integration scenario within your organization, such as connecting two commonly used applications or automating a manual process.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Access the OIC Integration Designer, where you can visually design integration flows using a simple drag-and-drop interface.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Utilize pre-built adapters and connectors to seamlessly connect your applications, databases, and services.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Configure data mappings, transformations, and business logic to ensure smooth data flow between systems.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Test your integration thoroughly within the OIC environment to validate functionality and identify any potential issues.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Once satisfied with your integration design, deploy it within your OIC instance to make it operational.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">3. Iterate and Expand:</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">As you gain familiarity with OIC and witness the benefits of seamless integration, continue to iterate and refine your integration processes.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Explore advanced features and capabilities offered by OIC, such as process automation, application development, and API management, to further optimize your operations.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Engage with the vibrant Oracle community, attend training sessions, and leverage resources such as documentation and tutorials to deepen your understanding and expertise in OIC.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">Consider expanding your integration initiatives to tackle more complex scenarios and unlock additional value for your organization.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;"><br /></span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;">By following these steps, you'll be well on your way to harnessing the full potential of Oracle Integration Cloud (OIC) and driving digital transformation within your organization. Embrace the power of cloud-native integration and propel your business toward unparalleled agility, efficiency, and innovation.</span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;"><br /></span></span></p><p><span style="color: #374151;"><span style="white-space-collapse: preserve;"><b>Conclusion:
</b>The migration from Oracle SOA to Oracle Integration Cloud marks a transformative leap for businesses, unlocking a new era of agility, efficiency, and innovation. Embracing OIC not only addresses the limitations of legacy solutions but also positions organizations to thrive in the ever-evolving digital ecosystem. As the business landscape continues to evolve, the choice to migrate to Oracle Integration Cloud becomes not just a strategic move but a fundamental necessity for staying competitive and future-ready.</span></span></p>Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0tag:blogger.com,1999:blog-7039183198232083459.post-21919508873678111022024-02-07T03:19:00.000-08:002024-02-07T03:19:31.775-08:00Oracle Integration (OIC3) Provisioning and User Access<p>In this blog post, I will delve into the intricacies of Oracle Integration (OIC) provisioning and user access, shedding light on best practices and essential considerations to ensure a smooth and secure implementation. </p><p align="center" class="MsoNormal" style="text-align: center;"><span style="text-align: left;"> </span></p><p class="MsoNormal"><b><span lang="EN-US" style="color: red; font-size: 16.0pt; line-height: 107%; mso-ansi-language: EN-US;">Provision OIC Instance<o:p></o:p></span></b></p><p class="MsoListParagraphCxSpFirst" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">1-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Login to OCI
with admin role and from main menu slect “Developer Services” </span><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="EN-US"> Integration<o:p></o:p></span></p><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLsB-puOZdb2m2HNX-b5La70FShOW3emhyphenhyphenVT2R8sXA57uccEeKl0ajzjH1IxarnbEIP2uBSusd14pacBzjg6m4i-W1mdbU-9dnYlXRxXulRPDo0MR1m_pQci1ODQHeHnhrwnn8oAFBLTLxUZ_towNsMtYq0_uaoSuxJRFycs2OjgTNKm6kfyEzVUnQ1obl/s773/1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="476" data-original-width="773" height="246" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLsB-puOZdb2m2HNX-b5La70FShOW3emhyphenhyphenVT2R8sXA57uccEeKl0ajzjH1IxarnbEIP2uBSusd14pacBzjg6m4i-W1mdbU-9dnYlXRxXulRPDo0MR1m_pQci1ODQHeHnhrwnn8oAFBLTLxUZ_towNsMtYq0_uaoSuxJRFycs2OjgTNKm6kfyEzVUnQ1obl/w400-h246/1.jpg" width="400" /></a></div><br /><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"> </span></p><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"> </span></p><p class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">2-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Choose the
Compartment and Region<o:p></o:p></span></p><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3O8xUOINDnskmcehPx_Swzm9-GJ8gwAASk4GuV-J8i2bBiiml-yJtR7qHjIHRivcZaTzwTZtpZSeXeSzuzlUJvJWkSXB3OjW751Spb98957A3q_3V93m8IdSMfQVvmdyinsLn1l6Oc44c8N-nvgly2GJXk7xx8-UohlsnEP7uv6KVlLyc7qgYW5PPg0mB/s1275/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="395" data-original-width="1275" height="124" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3O8xUOINDnskmcehPx_Swzm9-GJ8gwAASk4GuV-J8i2bBiiml-yJtR7qHjIHRivcZaTzwTZtpZSeXeSzuzlUJvJWkSXB3OjW751Spb98957A3q_3V93m8IdSMfQVvmdyinsLn1l6Oc44c8N-nvgly2GJXk7xx8-UohlsnEP7uv6KVlLyc7qgYW5PPg0mB/w400-h124/2.jpg" width="400" /></a></div><br /><p class="MsoListParagraphCxSpMiddle"><br /></p><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"> </span></p><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"> </span><span lang="EN-US" style="text-indent: -0.25in;">3-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><span dir="LTR" style="text-indent: -0.25in;"></span><span lang="EN-US" style="text-indent: -0.25in;">Press “Create
Instance” and enter the name of the instance and select the relevent options:</span></p><p class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">ü<span style="font-family: "Times New Roman"; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Select Oracle
Integration 3 as it the latest version<o:p></o:p></span></p><p class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">ü<span style="font-family: "Times New Roman"; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Select Standard
or Entrprise (you can start with Standard and switch later to Entrprise at any
time. If you want to use Process Autoation, you should choose Entrprise).<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: .75in;"><span lang="EN-US">This a quick comparison of capabilities of both Standard and Entrprise<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxbAEtdnkhpUXPDtRussm37qiCWLpR2olc0arzRZo9efgQKnN57xltMFCvW1-IETa5XjGGbejLQzHO40x77feQrdsfgCtHD-7V1QUPZBqVug_QaI8jp7X67Ua_zhX1P4gB9N6zAGUW3j8b_72bDNNY6BMdQc4vskeoZdIB1OExqBaNb4hp8aek0DYDmdL7/s599/3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="503" data-original-width="599" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxbAEtdnkhpUXPDtRussm37qiCWLpR2olc0arzRZo9efgQKnN57xltMFCvW1-IETa5XjGGbejLQzHO40x77feQrdsfgCtHD-7V1QUPZBqVug_QaI8jp7X67Ua_zhX1P4gB9N6zAGUW3j8b_72bDNNY6BMdQc4vskeoZdIB1OExqBaNb4hp8aek0DYDmdL7/w400-h336/3.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoListParagraphCxSpFirst" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">ü<span style="font-family: "Times New Roman"; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Shape
Development or Production (Both are the same but Development will get any
updates two weeks before Production so that you can test changes in DV before
it applied to Production)<o:p></o:p></span></p><p class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">ü<span style="font-family: "Times New Roman"; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">License either
new license or you can bring your on-prenise license to cloud<o:p></o:p></span></p><p class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">ü<span style="font-family: "Times New Roman"; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Message packs.
Min value 1 and max 12. Each message pack give you 5000 messages in an hour.
(You can start with 1 message pack).<o:p></o:p></span></p><p class="MsoListParagraphCxSpLast" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">ü<span style="font-family: "Times New Roman"; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Press “Create”<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiado3gL2a91JDtyQWIM93-tbjveIAwItqD5ymnXNFbHgaLFXrM2cvClB9nrlJzeXjjmMmhlzcVxx3eK7PHZl1XBMOBAXGfXiyZ9qFV0ihj1Pcmd3Hlp86L5Gfy-AE1-ejlOlVFGevR2APUwROt_HWUZAPaT5D6oBVRY0j80W1kFB7_2WBXLCEQ6ee2rU6s/s1100/4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="533" data-original-width="1100" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiado3gL2a91JDtyQWIM93-tbjveIAwItqD5ymnXNFbHgaLFXrM2cvClB9nrlJzeXjjmMmhlzcVxx3eK7PHZl1XBMOBAXGfXiyZ9qFV0ihj1Pcmd3Hlp86L5Gfy-AE1-ejlOlVFGevR2APUwROt_HWUZAPaT5D6oBVRY0j80W1kFB7_2WBXLCEQ6ee2rU6s/w400-h194/4.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoListParagraph" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">4-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">It will take
few minutes to get your instance provisioned and in active status<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA6a4jpKp01EZp-7QhiAahLvvmuW6Qzqb67Czw-u3TgGi6iSfFVyns4SYDkfYBLyy5sDgWHctnptBsw8NVYGFFxm_B4R-9c6I5OVG4ssRRDLBJUYh_LeYtFf2bsXfcCpgnQ_BwgVEb-euvx4If-m-MAxW_iBFBmJebyTNV9owgEhCM7UONsNEzYR1oVr4K/s1277/5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="253" data-original-width="1277" height="79" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA6a4jpKp01EZp-7QhiAahLvvmuW6Qzqb67Czw-u3TgGi6iSfFVyns4SYDkfYBLyy5sDgWHctnptBsw8NVYGFFxm_B4R-9c6I5OVG4ssRRDLBJUYh_LeYtFf2bsXfcCpgnQ_BwgVEb-euvx4If-m-MAxW_iBFBmJebyTNV9owgEhCM7UONsNEzYR1oVr4K/w400-h79/5.jpg" width="400" /></a></div><br /><p class="MsoNormal" style="margin-left: .25in;"><br /></p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US"> </span></p><p class="MsoListParagraph" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">5-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Click on the
instance and you can open the instance details<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwNWCizkfdGXXcFmD9Y27c_Avu0cmtQRsXH8ELCLG7AViKkGjLIRQuqy28QYzEDzsnA4clBHw25MW2083K_1XJR7K7JDJYKigtpEc0PSri3DpYzXcR9e-Ols8Y_6lCTsB1gm7c7B6Lw1MMyJW6i-f32grZSn04MEFd2fI6Le9UXk6Ek5sN4-wS6OoEQ6l8/s1182/6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="530" data-original-width="1182" height="179" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwNWCizkfdGXXcFmD9Y27c_Avu0cmtQRsXH8ELCLG7AViKkGjLIRQuqy28QYzEDzsnA4clBHw25MW2083K_1XJR7K7JDJYKigtpEc0PSri3DpYzXcR9e-Ols8Y_6lCTsB1gm7c7B6Lw1MMyJW6i-f32grZSn04MEFd2fI6Le9UXk6Ek5sN4-wS6OoEQ6l8/w400-h179/6.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoListParagraphCxSpFirst" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">6-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">OCI instance
came with File Server (with 500 GB free with the instance), Visual Builder and
Process Automation (For Entrprise License). By default these features is
disabled but you can enable these features if you want.<o:p></o:p></span></p><p class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">7-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">You can open
Integration console and start working with integration by presson on “Service
Console” button or by coping Service console URL.<o:p></o:p></span></p><p class="MsoListParagraphCxSpLast" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">8-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">You can Start,
Stop or Delete the instance from More actions menu<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaty249rrzAlmqGr1Z2n48FeAfG0OdtIU4A0x5_BoWhTioRyyfOamqazdve0PGwevxCSvrlWxckQ-FVsS7ax0OlqwGlDLjjT1gsr2r1OsnUpqu1ry8LaYaUKGvA5aGT9XYcsYEnFuU27v_oRCNgYTvipxVQxJsYIpYfPNMvNb5_ao2f-8hLCvs56nrTD3V/s1024/7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="467" data-original-width="1024" height="183" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaty249rrzAlmqGr1Z2n48FeAfG0OdtIU4A0x5_BoWhTioRyyfOamqazdve0PGwevxCSvrlWxckQ-FVsS7ax0OlqwGlDLjjT1gsr2r1OsnUpqu1ry8LaYaUKGvA5aGT9XYcsYEnFuU27v_oRCNgYTvipxVQxJsYIpYfPNMvNb5_ao2f-8hLCvs56nrTD3V/w400-h183/7.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoListParagraph" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">9-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">You can move
the instance compartment to another compartment by pressing on Move<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRQWMvsvZB6osTQGu79jPP4nVBjIPbcCJqDTO4Uoq8-3a79Vhs34T05LqTOEmV1efr_BqWtVlkpPxpe7YmckM2KlPogAraWdeNi9YKnMw54gX8HCrwRXnfQc2cijNk6OJwERE7fM8mKTwbn2L2GeE5OZnTCT_QuT-fsMS_gyOnKckDHDRjsoITNvBagCr9/s638/8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="194" data-original-width="638" height="121" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRQWMvsvZB6osTQGu79jPP4nVBjIPbcCJqDTO4Uoq8-3a79Vhs34T05LqTOEmV1efr_BqWtVlkpPxpe7YmckM2KlPogAraWdeNi9YKnMw54gX8HCrwRXnfQc2cijNk6OJwERE7fM8mKTwbn2L2GeE5OZnTCT_QuT-fsMS_gyOnKckDHDRjsoITNvBagCr9/w400-h121/8.jpg" width="400" /></a></div><br /><p class="MsoNormal" style="margin-left: .25in;"><br /></p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US"> </span></p><p class="MsoListParagraph" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">10-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">You can change
License Edition or message packs number by pressing on Edit button</span></p><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitz8pVGUIZ_k2mvkkrHJqtg_aNhKaO-SNFGyb6RNmUISljKB7rJCBNN3w3GhDcj5yJggsWwuwB0-_YR17t1JiSUZ-otUG44dKyqyy8lsbzj8nPQwYLjMwX0AUg3QlhWSG7ruu905v1-TsjuB0G24PWmQD32i0c8JNYtD_wLzvTmvhlrvgQcEzUmLLKfRbP/s837/9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="342" data-original-width="837" height="164" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitz8pVGUIZ_k2mvkkrHJqtg_aNhKaO-SNFGyb6RNmUISljKB7rJCBNN3w3GhDcj5yJggsWwuwB0-_YR17t1JiSUZ-otUG44dKyqyy8lsbzj8nPQwYLjMwX0AUg3QlhWSG7ruu905v1-TsjuB0G24PWmQD32i0c8JNYtD_wLzvTmvhlrvgQcEzUmLLKfRbP/w400-h164/9.jpg" width="400" /></a></div><br /><p class="MsoNormal" style="margin-left: .25in;"><br /></p><p class="MsoNormal" style="margin-left: .25in;"><b><span lang="EN-US" style="color: red; font-size: 16.0pt; line-height: 107%; mso-ansi-language: EN-US;">User
Access<o:p></o:p></span></b></p><p class="MsoNormal" style="margin-left: .25in;"><b><span lang="EN-US" style="color: red; font-size: 16.0pt; line-height: 107%; mso-ansi-language: EN-US;"> </span></b></p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US">In Oracle Cloud, access is managed with policies. Policies control
access for users in a domain group. However, in OIC you can give access to the
user using Application Roles only without policy as will shown below. So,
define policy for OIC access is not manadatory.<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US"><br /></span></p><p class="MsoListParagraphCxSpFirst"><span lang="EN-US"> </span><span lang="EN-US" style="text-indent: -0.25in;">1-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><span dir="LTR" style="text-indent: -0.25in;"></span><span lang="EN-US" style="text-indent: -0.25in;">From OCI goto
Identity </span><span lang="EN-US" style="font-family: Wingdings; text-indent: -0.25in;">à</span><span lang="EN-US" style="text-indent: -0.25in;">
Policies</span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs251m6cbwsAzSPGIz8bh2uWfdKBx1oNPjaaU3rLlYaTF8dh5BGk0nImOZGkGO37fF7KAwAtL1dlTr-E2wAOhn4ijWhdMvnStalzambgHGs00Nu0B2ReKboodNcI2-IRDAQjn7wCu8n7zIIHZwZCvbPTHtPwBEug4hkNzLRwUCiheDxlepAGdTTfJtQdIE/s1272/10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="470" data-original-width="1272" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs251m6cbwsAzSPGIz8bh2uWfdKBx1oNPjaaU3rLlYaTF8dh5BGk0nImOZGkGO37fF7KAwAtL1dlTr-E2wAOhn4ijWhdMvnStalzambgHGs00Nu0B2ReKboodNcI2-IRDAQjn7wCu8n7zIIHZwZCvbPTHtPwBEug4hkNzLRwUCiheDxlepAGdTTfJtQdIE/w400-h148/10.jpg" width="400" /></a></div><br /><p class="MsoNormal" style="margin-left: .25in;"><br /></p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span><span lang="EN-US" style="text-indent: -0.25in;">2-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><span dir="LTR" style="text-indent: -0.25in;"></span><span lang="EN-US" style="text-indent: -0.25in;">Press “Create
Policy” and entered the following to manage OIC instance</span></p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US">Policy syntax to allow to manage integration instance in compartment<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: .25in;"><i><span lang="EN-US" style="font-size: 10.0pt; line-height: 107%; mso-ansi-language: EN-US;">Allow group
<group-name> to manage integration-instance in compartment
<compartment-name><o:p></o:p></span></i></p><p class="MsoNormal"><span lang="EN-US">“manage”
mean give group ability to create, delete, edit and move OIC instances<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">You can use
“read” as shown below, to give user only read-only access to see the OIC
instances in a compartment and see the details of the instance<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoHyxYoCGoOGyBEWZRjM8wyeeSRB2BzuqDbYjlSS4aNX1ZeV5gPXop0xLdlQgLgLOocSkoDZQzNJjcYfSoM-lyJUYHNz30Pgw9bprjcZWzljYHNuSVT8f5et_kmwcg9-hITeqWBW0ioptdpus3FmJU5ANWBwWVsHbhRL75Kbntxj0gF6oRgSqbZ7eiuTu1/s854/11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="503" data-original-width="854" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoHyxYoCGoOGyBEWZRjM8wyeeSRB2BzuqDbYjlSS4aNX1ZeV5gPXop0xLdlQgLgLOocSkoDZQzNJjcYfSoM-lyJUYHNz30Pgw9bprjcZWzljYHNuSVT8f5et_kmwcg9-hITeqWBW0ioptdpus3FmJU5ANWBwWVsHbhRL75Kbntxj0gF6oRgSqbZ7eiuTu1/w400-h235/11.jpg" width="400" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFg3sEkIVNVEzLWU1gcEIYuXdiQcxKFthBIw3HksT7V924BOlkOGpwoLPszhKUOZZDOWN8AZViBn0OGl3UTn57GYMcUMFpDc-TEZSOSSAz_PM0lMzxPEJKrcHXCfqADL21Nf1Fo2nyRGQrxuPDxlewpCfdWFD2wH3NSW-KMfhePBRICvL6VOcJxQzflJRD/s633/12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="554" data-original-width="633" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFg3sEkIVNVEzLWU1gcEIYuXdiQcxKFthBIw3HksT7V924BOlkOGpwoLPszhKUOZZDOWN8AZViBn0OGl3UTn57GYMcUMFpDc-TEZSOSSAz_PM0lMzxPEJKrcHXCfqADL21Nf1Fo2nyRGQrxuPDxlewpCfdWFD2wH3NSW-KMfhePBRICvL6VOcJxQzflJRD/w400-h350/12.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">You can
optional create another policy for OIC observability as shown<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPlQW-OmSm_ZmhM49YHZ1o288K4lf9SRQC4ch54a1dsLPHop4kc5P3xMjKfu-HaorLp0uV3kkzg0I27IB7IcrpxEb2Zq2vNLf7E84QDrqH69I_12Q0xc11zGihULWMvdDj5ly_Mb5snFAQlfYKGOZyZLix9Y3VQOHNqzquv-GcI6OuJXennw7aarWgiUgO/s1001/13a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="824" data-original-width="1001" height="329" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPlQW-OmSm_ZmhM49YHZ1o288K4lf9SRQC4ch54a1dsLPHop4kc5P3xMjKfu-HaorLp0uV3kkzg0I27IB7IcrpxEb2Zq2vNLf7E84QDrqH69I_12Q0xc11zGihULWMvdDj5ly_Mb5snFAQlfYKGOZyZLix9Y3VQOHNqzquv-GcI6OuJXennw7aarWgiUgO/w400-h329/13a.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Optionally
you can create policy in the integration service level (not group level) for
announcment related to OIC instance (New updates, new release, maintenance…).
The notification announcement will contain announcment from OIC<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwzHqFrWTZO-NEdyWpsjxSp0wdnybO1NP2DMQzKixVTjx3tZvrRtXp5QFAWgsFxf4ESCd-xCVUINgymvaKkRYvGtWQ7FatFGRJ-kgeHr8XOGe4UtdNsqKd6BwTlMjLkAVa3vBapMdwdquCUjlDE3FVxinR7wX2H-Rx_QIr3SSvmIoZzFH7soWZUKhWFkvS/s1080/14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="641" data-original-width="1080" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwzHqFrWTZO-NEdyWpsjxSp0wdnybO1NP2DMQzKixVTjx3tZvrRtXp5QFAWgsFxf4ESCd-xCVUINgymvaKkRYvGtWQ7FatFGRJ-kgeHr8XOGe4UtdNsqKd6BwTlMjLkAVa3vBapMdwdquCUjlDE3FVxinR7wX2H-Rx_QIr3SSvmIoZzFH7soWZUKhWFkvS/w400-h238/14.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US">The
Announcement can be available in OCI notification<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS7iHqormKKY8fz5fTZFjn_tbq3-1HNYi4uTsxjtXRF3pGt_CJuin7YGKKxRp9ShLuce4PFw-RxV3yX3-Pc9QTFXMy_qW0dz5z1QZXCRPB2uMlYBh0USL9oA5nEvA700yBpeSNzANcE0bPOqrlUFggNlqR-s9BCnMfM3R5Ie5VsuTeLCDgTzt7UGKcrd6Y/s517/15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="197" data-original-width="517" height="153" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS7iHqormKKY8fz5fTZFjn_tbq3-1HNYi4uTsxjtXRF3pGt_CJuin7YGKKxRp9ShLuce4PFw-RxV3yX3-Pc9QTFXMy_qW0dz5z1QZXCRPB2uMlYBh0USL9oA5nEvA700yBpeSNzANcE0bPOqrlUFggNlqR-s9BCnMfM3R5Ie5VsuTeLCDgTzt7UGKcrd6Y/w400-h153/15.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8mskVbKyc7nup1QOutuYLTzv-hkxwjPiNpfub6wVMzOrEjIR9sS1YnHIztif2Vthw26FMgRXF8dTfO86PPFzZY6TGNh3rojOVuHZODWN0U56dsUZAm9eou_naH4I9WEPuhJaQrWH9mcf-VqkryI-N-Sjjrh9uiVcTaH_LJ5VfWJ_eav-xGqwWPl5E9ZLR/s1643/16.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="802" data-original-width="1643" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8mskVbKyc7nup1QOutuYLTzv-hkxwjPiNpfub6wVMzOrEjIR9sS1YnHIztif2Vthw26FMgRXF8dTfO86PPFzZY6TGNh3rojOVuHZODWN0U56dsUZAm9eou_naH4I9WEPuhJaQrWH9mcf-VqkryI-N-Sjjrh9uiVcTaH_LJ5VfWJ_eav-xGqwWPl5E9ZLR/w400-h195/16.jpg" width="400" /></a></div><br /><p></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Or
announcement can be seen from Oracle Integration Console<o:p></o:p></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcABoEfvFvivhSxliwbdFWAr5YHBQDaBzSMqij0zBbz6BFe9X6EIl7F_-O6XvnfDj3-ZW6d1U_cVnVeIerPwTsTtPakQ3DbHiUUmHLVIAp0sCoNuc6HfH_uuwtqP-QrS-iFBjdvuj8oOMnviR1khxwPAPi5-vt-gzqgbrAbzv7PRtjL4Zfo1ll-fzddk0x/s1900/17.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="460" data-original-width="1900" height="96" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcABoEfvFvivhSxliwbdFWAr5YHBQDaBzSMqij0zBbz6BFe9X6EIl7F_-O6XvnfDj3-ZW6d1U_cVnVeIerPwTsTtPakQ3DbHiUUmHLVIAp0sCoNuc6HfH_uuwtqP-QrS-iFBjdvuj8oOMnviR1khxwPAPi5-vt-gzqgbrAbzv7PRtjL4Zfo1ll-fzddk0x/w400-h96/17.jpg" width="400" /></a></div><span lang="EN-US"> <div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxM7IcGlhOzxUMymlXX87LewzJayzdE87kp9WffPXp2b2vZwcMQeIE1tQDQa07F9rCzwlDvactl056V3xhTm0nar5Y3r1jIg1TPj-erlEMDZ5CnfqfnafD4WEJliEHS95E-yYr8k5PAZJo2sqLVE5NNkvnpXYPr65mhJUCK6ZNI-IhXqVHvt8ugULIOaq/s1223/18.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="813" data-original-width="1223" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxM7IcGlhOzxUMymlXX87LewzJayzdE87kp9WffPXp2b2vZwcMQeIE1tQDQa07F9rCzwlDvactl056V3xhTm0nar5Y3r1jIg1TPj-erlEMDZ5CnfqfnafD4WEJliEHS95E-yYr8k5PAZJo2sqLVE5NNkvnpXYPr65mhJUCK6ZNI-IhXqVHvt8ugULIOaq/w400-h266/18.jpg" width="400" /></a></div><br /><br /></span><p></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span><span lang="EN-US" style="text-indent: -0.25in;">3-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><span dir="LTR" style="text-indent: -0.25in;"></span><span lang="EN-US" style="text-indent: -0.25in;">Application
Roles. Once OIC instance is provisioning, in order to give developers or other
users access to that particular instance to the instance console, you need to
define and assign application roles.</span></p><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US">Select Identity & Secuirity </span><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="EN-US">Domains </span><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="EN-US"> your domain </span><span lang="EN-US" style="font-family: Wingdings; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="EN-US"> Oracle Cloud Services<o:p></o:p></span></p><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT2vPyt3TqnFd6ZEesfOIhcufsio0j-39yn5tf9oU1sbHvUIuGBz_k5SHapW610JcVjJlDpyl4i8L0WcaHrbu93yxMeXr9DpEuplCxG4WmUJ2Xsd8NTY0NCoWwXHcxqOhb-IS0Jt9Nw9oNjeuvbffllAwcejObQu0GTyiTWzT8lcozZ11kTJ7iD3t2n-wX/s692/18a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="692" data-original-width="562" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT2vPyt3TqnFd6ZEesfOIhcufsio0j-39yn5tf9oU1sbHvUIuGBz_k5SHapW610JcVjJlDpyl4i8L0WcaHrbu93yxMeXr9DpEuplCxG4WmUJ2Xsd8NTY0NCoWwXHcxqOhb-IS0Jt9Nw9oNjeuvbffllAwcejObQu0GTyiTWzT8lcozZ11kTJ7iD3t2n-wX/w325-h400/18a.jpg" width="325" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3cX3ebK8niARLy3r1CQpFAF_1bKioEaZok2UJSeMoJf3RotVvC-pAJz5HsyCGCqyT2SjpnH04FWkEV-7Jlj_BtZqzc1NnJeufnbovx82hC0O_x5nRscrdTiwO2qqO8j1oJ9ck4ZqHis6lBot01HycSDSbLlomPHPZeX6gA93CGs1ThBI-4ZDNNdB73ZxA/s932/19.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="673" data-original-width="932" height="289" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3cX3ebK8niARLy3r1CQpFAF_1bKioEaZok2UJSeMoJf3RotVvC-pAJz5HsyCGCqyT2SjpnH04FWkEV-7Jlj_BtZqzc1NnJeufnbovx82hC0O_x5nRscrdTiwO2qqO8j1oJ9ck4ZqHis6lBot01HycSDSbLlomPHPZeX6gA93CGs1ThBI-4ZDNNdB73ZxA/w400-h289/19.jpg" width="400" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><p class="MsoListParagraphCxSpMiddle"><br /></p><p class="MsoListParagraphCxSpMiddle"><br /></p><p class="MsoListParagraphCxSpMiddle"><span lang="EN-US"> </span></p><p class="MsoListParagraphCxSpLast" style="mso-list: l1 level1 lfo3; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">4-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Select OIC
instance<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOm34UhswdX6hjJtRclN1RTnZM18PnMOzdBeAdw4BKxgH2sriEiokzQRibp9p4lqS-PzsrzVytJLPHgsPaIgLXhxb2XNWrYNVlfYNbkWUS5H54HWANTHqMUn-kcE-_5Q_uawK44z39V505GAU9o-6Ahrjcc51Sgf0YunVkEyRMFGKrTneMb0nkUj2c7OBQ/s1255/21.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="862" data-original-width="1255" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOm34UhswdX6hjJtRclN1RTnZM18PnMOzdBeAdw4BKxgH2sriEiokzQRibp9p4lqS-PzsrzVytJLPHgsPaIgLXhxb2XNWrYNVlfYNbkWUS5H54HWANTHqMUn-kcE-_5Q_uawK44z39V505GAU9o-6Ahrjcc51Sgf0YunVkEyRMFGKrTneMb0nkUj2c7OBQ/w400-h275/21.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoListParagraph" style="mso-list: l1 level1 lfo3; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">5-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">From Resource
select Application Roles<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDw1o6ZRwiayG80g56DCD3RWGQKC81OjcSH80k20ni83Lk2SEDxT8sYYZ3DhKKsTfLIxSnSFF8lUADeBJ1Wye1ubmHPsb3I_DDy1NNijwjQmpvK8L1Vae2X2UTivJUhbawkUR2g25biyxoEkONrDCgxu_tsVgQD8TL-NkgW_ooRKMMYLu7KzLaboTiPO4j/s1364/22.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="818" data-original-width="1364" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDw1o6ZRwiayG80g56DCD3RWGQKC81OjcSH80k20ni83Lk2SEDxT8sYYZ3DhKKsTfLIxSnSFF8lUADeBJ1Wye1ubmHPsb3I_DDy1NNijwjQmpvK8L1Vae2X2UTivJUhbawkUR2g25biyxoEkONrDCgxu_tsVgQD8TL-NkgW_ooRKMMYLu7KzLaboTiPO4j/w400-h240/22.jpg" width="400" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoListParagraph" style="mso-list: l1 level1 lfo3; text-indent: -.25in;"><!--[if !supportLists]--><span lang="EN-US">6-<span style="font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-US">Expand the
required role and assign user or group. Best to assign Group as shown<o:p></o:p></span></p><p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVNpFffIJ34IVdRqFY4evlMlG1MDj3zCIcqKpG7WauVY99Q8fd1vRrhV9sK9r5jITV1ZUHlocp1L3_REQ-voVnHRmEdKO_SyPxmEJClxLPFAWenhqO6p0sp2GJB81HwdFnqzKZpm-7ewROTmhPHstUN3KL3YbHpdkW9EHJRO06-a4dw1OqGWvCWi-TDVmE/s1663/23.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="565" data-original-width="1663" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVNpFffIJ34IVdRqFY4evlMlG1MDj3zCIcqKpG7WauVY99Q8fd1vRrhV9sK9r5jITV1ZUHlocp1L3_REQ-voVnHRmEdKO_SyPxmEJClxLPFAWenhqO6p0sp2GJB81HwdFnqzKZpm-7ewROTmhPHstUN3KL3YbHpdkW9EHJRO06-a4dw1OqGWvCWi-TDVmE/w400-h136/23.jpg" width="400" /></a></div><p></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLfdMJiLnUsKR3DZLx5RAbifKBT4tINaTLlnRDaiHhmQpwclyX70Ll28hcPjKApnev5vmfzia5xH7qZhgIyKqOITKR5jmhjwhz_5LG6RqlLEnQYUI_KlnFf86zNUMd1VSKe0a745cE1o1po7T6Kc_v5Cq9apvhB89RYlO6N-BdZD5Kv98bXddM09VdPfo7/s1237/24.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="745" data-original-width="1237" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLfdMJiLnUsKR3DZLx5RAbifKBT4tINaTLlnRDaiHhmQpwclyX70Ll28hcPjKApnev5vmfzia5xH7qZhgIyKqOITKR5jmhjwhz_5LG6RqlLEnQYUI_KlnFf86zNUMd1VSKe0a745cE1o1po7T6Kc_v5Cq9apvhB89RYlO6N-BdZD5Kv98bXddM09VdPfo7/w400-h241/24.jpg" width="400" /></a></div><span lang="EN-US"> <br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLnIdoNjlriqriTTkmoKSJtbnaB5QiqaqAQkKQWhUhhdmGaJ6ij_dRJAKznFXFmz7Aqq6OkSYjBtKs-auXNDvn2CZdPhHoRmZtFLiUoqF3IwAN00tmvprBsCeFUMbYw3VuWDpXQdWBDi1FHQskE41V_CpH0mdS_SFjIlD5bJSKxnzNuUuRsb2mRq61OsW0/s885/25.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="849" data-original-width="885" height="384" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLnIdoNjlriqriTTkmoKSJtbnaB5QiqaqAQkKQWhUhhdmGaJ6ij_dRJAKznFXFmz7Aqq6OkSYjBtKs-auXNDvn2CZdPhHoRmZtFLiUoqF3IwAN00tmvprBsCeFUMbYw3VuWDpXQdWBDi1FHQskE41V_CpH0mdS_SFjIlD5bJSKxnzNuUuRsb2mRq61OsW0/w400-h384/25.jpg" width="400" /></a></div><br /><br /><br /></span><p></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq1MUD1xsGvYwtcSFq5LeIS5BoDaGXqyowr1f0R6xYcSpwQj4L5HRJJOmJDvC90mip9dQ2UbUZU9B1EHSxB7a9oKKX919Kweh9umtMAAgY2WFZPA3mrD1Cnp6cY9Rn__sSkBAK4Bjq0eTIMpjq6s49ApC47_wWMxn5mJr3wZCpN06yKiDq596dm2kCsUJP/s986/26.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="986" data-original-width="914" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq1MUD1xsGvYwtcSFq5LeIS5BoDaGXqyowr1f0R6xYcSpwQj4L5HRJJOmJDvC90mip9dQ2UbUZU9B1EHSxB7a9oKKX919Kweh9umtMAAgY2WFZPA3mrD1Cnp6cY9Rn__sSkBAK4Bjq0eTIMpjq6s49ApC47_wWMxn5mJr3wZCpN06yKiDq596dm2kCsUJP/w371-h400/26.jpg" width="371" /></a></div><br /><p></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US"> </span></p><p class="MsoNormal">
</p><p class="MsoNormal" style="margin-left: .25in;"><span lang="EN-US"> </span></p>Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0tag:blogger.com,1999:blog-7039183198232083459.post-33540129494106181182021-04-20T14:40:00.006-07:002021-04-20T14:42:11.391-07:00Complete Oracle JET Course<p>I have created an Oracle JET Course for beginners. In the course, I will go step by step and develop a complete Oracle JET application. By end of the course, you should be able to develop a complete Web Application using Oracle JET.</p><p>You can find the course in:</p><p><br /></p><p><a href="https://www.udemy.com/course/complete-oracle-jet-course-for-beginners-step-by-step/">https://www.udemy.com/course/complete-oracle-jet-course-for-beginners-step-by-step/</a></p>Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com1tag:blogger.com,1999:blog-7039183198232083459.post-18690841810290577742019-01-12T05:34:00.002-08:002019-01-12T05:34:49.370-08:00Advanced Oracle ADF 12c Course<div dir="ltr" style="text-align: left;" trbidi="on">
I have created an Advanced ADF course to complete the full cycle of learning ADF. If you want to learn Oracle technologies you should take my courses in this order:<br />
<br />
1- Take "Complete ADF 12c Course for Beginners (step-by-step)"<br />
<br />
2- Take "Advanced ADF 12c Course"<br />
<br />
3- Get ADF Certificate by taking "ADF for Certificate Course"<br />
<br />
4- If you want to learn more Oracle technology you can Take "Oracle BPM for Beginners" Course.<br />
<br />
<br />
Courses URL:<br />
<br />
ADF for Beginners Course:<br />
<a href="https://www.udemy.com/oracle-adf-12c-for-beginner-step-by-step/" target="_blank">https://www.udemy.com/oracle-adf-12c-for-beginner-step-by-step/</a><br />
<br />
Advanced ADF Course:<br />
<a href="https://www.udemy.com/advanced-oracle-adf-12c-course/" target="_blank">https://www.udemy.com/advanced-oracle-adf-12c-course/</a><br />
<br />
<br />
ADF for Certificate Course<br />
<a href="https://www.udemy.com/oracle-adf-12c-light-course-for-certification/" target="_blank">https://www.udemy.com/oracle-adf-12c-light-course-for-certification/</a><br />
<br />
<br />
Oracle BPM Course<br />
<a href="https://www.udemy.com/oracle-bpm-12c-for-beginners-step-by-step/" target="_blank">https://www.udemy.com/oracle-bpm-12c-for-beginners-step-by-step/</a><br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com1tag:blogger.com,1999:blog-7039183198232083459.post-19423150611659912562018-10-18T13:56:00.003-07:002019-01-12T05:38:47.635-08:00Next Step After Learning ADF<div dir="ltr" style="text-align: left;" trbidi="on">
Some people keep asking me what after we learned ADF? what technology we can start to learn?<br />
<br />
I can suggest 3 options:<br />
<br />
- Take Advanced ADF Course if you are a beginner.<br />
- Get ADF Certificate.<br />
- Learn another Oracle Fusion Middleware technology but ADF should be part of it so that you will not forget ADF. I recommended Oracle BPM, because you will use Oracle ADF for creating Oracle BPM Human Task.<br />
<br />
I have created 4 courses in Udemy can help you to take the second step after you learning ADF:<br />
<br />
- <b>Complete Oracle ADF course</b> (for anyone want to start working in Oracle Fusion Middleware but he don't know from where he can start).<br />
- <b>Advanced Oracle ADF Course</b> (If you know ADF but want to go more deeply inside ADF).<br />
- <b>Oracle ADF for Certification</b> (For anyone know ADF and want to be ADF Certified or anyone want a light ADF course and want to get ADF certificate).<br />
- <b>Oracle BPM Course</b> (For anyone know ADF and want to take the second step).<br />
<br />
<br />
You can have a look on these courses from the following URLs:<br />
<br />
- <a href="https://www.udemy.com/oracle-adf-12c-for-beginner-step-by-step/?couponCode=ANSA2583" target="_blank">Udemy ADF Course for Beginners (Step-by-Step)</a><br />
<br />
- <a href="https://www.udemy.com/advanced-oracle-adf-12c-course/" target="_blank">Udemy Advanced Oracle ADF Course</a><br />
<br />
- <a href="https://www.udemy.com/oracle-bpm-12c-for-beginners-step-by-step/?couponCode=ANSA2583" target="_blank">Udemy Oracle BPM Course for Beginners (Step-by-Step)</a><br />
<br />
- <a href="https://www.udemy.com/oracle-adf-12c-light-course-for-certification/?couponCode=ANSA2583" target="_blank">Udemy Light ADF Course for Certification</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinEW64BhtTzuDvctsCHZNvoTWr9QD_uLN74HUd78-LfDRFSImVgkgbtckFiOsKbR17T7hXZvv_kJrlbgiMi4HzSlUc_yqLTG1FG2G6uzK0BfPJqJBk0Hj3IomfUWfIr66ddS_UUYq2ebAi/s1600/udemy_pic.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="630" data-original-width="1200" height="210" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinEW64BhtTzuDvctsCHZNvoTWr9QD_uLN74HUd78-LfDRFSImVgkgbtckFiOsKbR17T7hXZvv_kJrlbgiMi4HzSlUc_yqLTG1FG2G6uzK0BfPJqJBk0Hj3IomfUWfIr66ddS_UUYq2ebAi/s400/udemy_pic.png" width="400" /></a></div>
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com4tag:blogger.com,1999:blog-7039183198232083459.post-11191202897177253552018-10-09T08:45:00.001-07:002018-10-09T08:57:45.258-07:00Secure Your SOAP Web Service Using username Token Security<div dir="ltr" style="text-align: left;" trbidi="on">
Some developers asked me how can they add security to their web services, so in this post I will show you how you can develop SOAP web service and secure the web service using username token security.<br />
<br />
I use JDeveloper 11g (11.1.1.7.0) and I use SOAPUI to test my web service.<br />
<br />
<b><u>First Step: Develop SOAP Web service</u></b><br />
<br />
<br />
<ul style="text-align: left;">
<li>Open JDeveloper and create new Application</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY5yl1qggRHSO0YS8FwlgwQ55WL965yW-HJpdpvjxgE_T6Q33CNxF2iGApHXsCD2ef5oYngIXl-TZwY5aclK4Ws_JQg0W26nDxz-N3Qk0oeMFI05EhvcQWWb8gItD-C1qLLEQbP_MvmmSN/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="473" data-original-width="626" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY5yl1qggRHSO0YS8FwlgwQ55WL965yW-HJpdpvjxgE_T6Q33CNxF2iGApHXsCD2ef5oYngIXl-TZwY5aclK4Ws_JQg0W26nDxz-N3Qk0oeMFI05EhvcQWWb8gItD-C1qLLEQbP_MvmmSN/s320/1.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>Create a class which will be your web service (e.g MyWebService)</li>
</ul>
<div>
<br /></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKtJqh9XSjHdZNBq6eLGYC4_jSX3pBz1rhrI3q-dVk_BtHL5TX6Glpl_4VmqXZRZ7MZEpfcESTLwhkGM3xV-s-AlKmd2VohOugfoPeWi63GfBtuBdKZ8Oxv2pLeyox0fVtPSZfpX_yxQB3/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="519" data-original-width="423" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKtJqh9XSjHdZNBq6eLGYC4_jSX3pBz1rhrI3q-dVk_BtHL5TX6Glpl_4VmqXZRZ7MZEpfcESTLwhkGM3xV-s-AlKmd2VohOugfoPeWi63GfBtuBdKZ8Oxv2pLeyox0fVtPSZfpX_yxQB3/s320/2.png" width="260" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>Write your web service. In this example I will create simple web service with one function call sayHello, this function will receive <name> as a parameter and return Hello, <name>, as shown:</name></name></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiMyDd9VmCv_8hSGtqh5rDkPbD7IVigUYy7Nvsc2qsrtbSvfEkUaCEBe_ZoerbhTO8l7S2ThiKAjvkBBTb0PbrIfJ1B-siRt2Xsdf3rMCE3SDzb3JhuVPVM8hJUf5nytaYFxiDK7fVYcl5/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="247" data-original-width="843" height="93" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiMyDd9VmCv_8hSGtqh5rDkPbD7IVigUYy7Nvsc2qsrtbSvfEkUaCEBe_ZoerbhTO8l7S2ThiKAjvkBBTb0PbrIfJ1B-siRt2Xsdf3rMCE3SDzb3JhuVPVM8hJUf5nytaYFxiDK7fVYcl5/s320/3.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<ul style="text-align: left;">
<li>To convert the java class to web service, right click on the class --> Create web service</li>
</ul>
<div>
<br /></div>
</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF-2UwhtQBeDdIfD9o5Fk9O6fZDkwohkKSsiyzJ8aaz24OYHqrAwrrh-XfK-CvAqAPUPgnwfltFXvAj0_-8SG9M5erw6NxBCvpKn0ql9nO-lmaRKB-9nBBz5o8H2tXHUzNV_GBThYpATKx/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="616" data-original-width="397" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF-2UwhtQBeDdIfD9o5Fk9O6fZDkwohkKSsiyzJ8aaz24OYHqrAwrrh-XfK-CvAqAPUPgnwfltFXvAj0_-8SG9M5erw6NxBCvpKn0ql9nO-lmaRKB-9nBBz5o8H2tXHUzNV_GBThYpATKx/s320/4.png" width="205" /></a></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>Follow these screenshots then press Finish:</li>
</ul>
<div>
<br /></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_2jjg8VErogw55iOHlFjkAxoqx_mynwTOw8SEY7jhTLzhiLDOiTQi24t6jwwop9sbq1w6rsQy9tlIt_P2qSK1A_qwKdAfc-kR3tC8Z59tdtBNdq243rOYbFqje4Ut2HAi0_mCuFiJS4x/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="473" data-original-width="626" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_2jjg8VErogw55iOHlFjkAxoqx_mynwTOw8SEY7jhTLzhiLDOiTQi24t6jwwop9sbq1w6rsQy9tlIt_P2qSK1A_qwKdAfc-kR3tC8Z59tdtBNdq243rOYbFqje4Ut2HAi0_mCuFiJS4x/s320/5.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2RVYBa19W-TaXbpOUxv8pxHgPlZBfOdJ0Cqz93B8v4zqMGyOJO-XHUB5J1UoPyXtAXi6gZRl3V-aG3xJnNvZGAWA-MlaeJn6FOvJakQdnOpkum-ARU3b8A4VDvEYREXFlDNuVOIC-Au3L/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="473" data-original-width="626" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2RVYBa19W-TaXbpOUxv8pxHgPlZBfOdJ0Cqz93B8v4zqMGyOJO-XHUB5J1UoPyXtAXi6gZRl3V-aG3xJnNvZGAWA-MlaeJn6FOvJakQdnOpkum-ARU3b8A4VDvEYREXFlDNuVOIC-Au3L/s320/6.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnCk6ZWeJ2w7a0tMWr5UmcLPoeivpdPXj0P6dbY6UWUiHSLU-XRW8MI9992ZylHhaFT54AmaHbdMysi8v04L6HEZqy-OwzhCHqflw9iIJ2Dm4qoH8YUN3oIzJziR8fOoP62nn3oBcWQ-Jq/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="473" data-original-width="626" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnCk6ZWeJ2w7a0tMWr5UmcLPoeivpdPXj0P6dbY6UWUiHSLU-XRW8MI9992ZylHhaFT54AmaHbdMysi8v04L6HEZqy-OwzhCHqflw9iIJ2Dm4qoH8YUN3oIzJziR8fOoP62nn3oBcWQ-Jq/s320/7.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9tkPHp0-b81LL0OQ57bEOYITURJ3T7kkrJfXl0z8rsMX3y-qfWNnlPC0POlbNESk6d9uFTSaB_Wgy_cLAhk2scHKjHCIcouBn-sMYUrPX0uoJirE23YoQzGO-IhUXW0g1cDydY0xtuOpD/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="473" data-original-width="626" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9tkPHp0-b81LL0OQ57bEOYITURJ3T7kkrJfXl0z8rsMX3y-qfWNnlPC0POlbNESk6d9uFTSaB_Wgy_cLAhk2scHKjHCIcouBn-sMYUrPX0uoJirE23YoQzGO-IhUXW0g1cDydY0xtuOpD/s320/8.png" width="320" /></a></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
<ul style="text-align: left;">
<li>Your web service will looks like this:</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit_bcw3vwXj0qBu4DY3Fx4I-namhCT0-Nx0KRNyOxyOz1JJb4iI-6jEP12tz4i8U8hqfVnVpBvEQgYe4Bk6YX6637jKe3frUAtuVuxD8MOGyljBzlFndrgrlCLeeserg5rUtfbWslKcH5x/s1600/9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="321" data-original-width="796" height="129" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit_bcw3vwXj0qBu4DY3Fx4I-namhCT0-Nx0KRNyOxyOz1JJb4iI-6jEP12tz4i8U8hqfVnVpBvEQgYe4Bk6YX6637jKe3frUAtuVuxD8MOGyljBzlFndrgrlCLeeserg5rUtfbWslKcH5x/s320/9.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>To add the security, in WEB-INF create folder call "policies" and inside this folder create an xml file call "usernametoken.xml".</li>
<li>Inside this usernametoken.xml write as shown (you can download the <a href="http://www.mediafire.com/file/ok8qagxzzjwiqsi/SecureWebService.zip/file" target="_blank">Sample Application</a> and take this file)</li>
</ul>
</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Irc1bBvynkxbGBhWyWahP6K0xhpBXz9oLlq70HNHao7dv_k9RvCOEcKrglg7tISOc_B16k5J3hrUthpy3-FJOkshU9Q4mdmlwxGI4jkFyZtHptUMt5_CsmevcxJ6ZLWsyHZczRvsfHGh/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="363" data-original-width="1195" height="97" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Irc1bBvynkxbGBhWyWahP6K0xhpBXz9oLlq70HNHao7dv_k9RvCOEcKrglg7tISOc_B16k5J3hrUthpy3-FJOkshU9Q4mdmlwxGI4jkFyZtHptUMt5_CsmevcxJ6ZLWsyHZczRvsfHGh/s320/10.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>In your webservice, point to this usernametoken.xml file by writing "@Policies({ @Policy(uri = "policy:usernametoken.xml") })" under "@WebService" as shown:</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1OO8eGqJ8fFUz1Jl1S2shbqatGlCQ43yfkHDPJDaJ9PbaB2-LkvC585pkl8nCWf73ge8nVwpqkVJwhAdaoYmhWE-V1N_vKGrwrllyQOuEO0KE4OB3TdXBmvJ5QG6npUDteD2sB5vvsxuT/s1600/11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="379" data-original-width="822" height="147" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1OO8eGqJ8fFUz1Jl1S2shbqatGlCQ43yfkHDPJDaJ9PbaB2-LkvC585pkl8nCWf73ge8nVwpqkVJwhAdaoYmhWE-V1N_vKGrwrllyQOuEO0KE4OB3TdXBmvJ5QG6npUDteD2sB5vvsxuT/s320/11.png" width="320" /></a></div>
<div>
<br /></div>
</div>
<div>
<ul style="text-align: left;">
<li>Save all and run your webservice.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4SmlsCcpFVECTAD3OfaSlgbyCdjClcvlZF5KtQr6Vp_u0mvMOoS7KFT8hmHulpO5v0EDA_StX_c-YkJ5LpBHM5QF0I3ntvDVUOQsiiTLyjAu2vuTQXentFjQED80ugJvU8JavX57hUigQ/s1600/12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="464" data-original-width="676" height="219" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4SmlsCcpFVECTAD3OfaSlgbyCdjClcvlZF5KtQr6Vp_u0mvMOoS7KFT8hmHulpO5v0EDA_StX_c-YkJ5LpBHM5QF0I3ntvDVUOQsiiTLyjAu2vuTQXentFjQED80ugJvU8JavX57hUigQ/s320/12.png" width="320" /></a></div>
<div>
<br /></div>
</div>
<div>
<ul style="text-align: left;">
<li>After your webservice is running, just open the browser and run web service WSDL, the usernametoken secuirty should appear in the wsdl as shown:</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0sLzLTx5kwBqWnneb8u0mg8-InMXBMtFWzv6gHcYCpDs9FgtJ_PI7XgV-BJaPr6qK0HxJDsdM9V-oOBceKdsCYb8GEe9gcSYQ1uw4kREl1CkRvP-eV_ogzP1NuyCRfkaP_KVo9TA_CPPX/s1600/13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="690" data-original-width="1294" height="170" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0sLzLTx5kwBqWnneb8u0mg8-InMXBMtFWzv6gHcYCpDs9FgtJ_PI7XgV-BJaPr6qK0HxJDsdM9V-oOBceKdsCYb8GEe9gcSYQ1uw4kREl1CkRvP-eV_ogzP1NuyCRfkaP_KVo9TA_CPPX/s320/13.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
<b><u>Second Step: Test SOAP Web service using SoapUI</u></b></div>
<div>
<b><u><br /></u></b></div>
<div>
<ul style="text-align: left;">
<li>Open SoapUI and create new SOAP Project.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxqIQfkXj_eb3MIpdEs31ibAophH4XLT9jPuOv0HUxjc4wFlFTf9FbC7YjKGkePrwvzklQawZhxuFxP_qhx9LYiqRD4TGkDL2eJ_GWnbJUuXE2wp7xkilX7nHPPjALC3tFf3f3ys1vTkmT/s1600/15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="472" data-original-width="443" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxqIQfkXj_eb3MIpdEs31ibAophH4XLT9jPuOv0HUxjc4wFlFTf9FbC7YjKGkePrwvzklQawZhxuFxP_qhx9LYiqRD4TGkDL2eJ_GWnbJUuXE2wp7xkilX7nHPPjALC3tFf3f3ys1vTkmT/s320/15.png" width="300" /></a></div>
<div>
<br /></div>
</div>
<div>
<ul style="text-align: left;">
<li>Enter any project name and enter your web service WSDL.</li>
</ul>
<div>
<br /></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis2poBixuHlBGNX7beYr7G-4sADyc0TQ62Nfv2wI1A71Yzi5H-qvrTBiv7Lud2Dkc4KdNVYomnC-jx-YbTGIolE2uEmJhdxzIS-Vzk3X-PBHP4RB8sc6uQI97fc8zq_XYKhJfgXNhvotKx/s1600/16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="262" data-original-width="560" height="149" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis2poBixuHlBGNX7beYr7G-4sADyc0TQ62Nfv2wI1A71Yzi5H-qvrTBiv7Lud2Dkc4KdNVYomnC-jx-YbTGIolE2uEmJhdxzIS-Vzk3X-PBHP4RB8sc6uQI97fc8zq_XYKhJfgXNhvotKx/s320/16.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>Open the Webservice request and try to enter any value in the parameter and run to test webserivce. You will get security error message as shown:</li>
</ul>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid6TUnhE1xklIZxqBpP0omPDApKVKpMwnLb_W9I8f5eO8NeL1dIoF7SlAOlZe0Jc8cHUn8yMEFa8pYLATJrhMXNo5ljwWOuZhlz1G3Fl0LpSDyORfLRtgSaeocgqBebWOFhmBh_rAB2T0g/s1600/17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="451" data-original-width="1260" height="114" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid6TUnhE1xklIZxqBpP0omPDApKVKpMwnLb_W9I8f5eO8NeL1dIoF7SlAOlZe0Jc8cHUn8yMEFa8pYLATJrhMXNo5ljwWOuZhlz1G3Fl0LpSDyORfLRtgSaeocgqBebWOFhmBh_rAB2T0g/s320/17.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>You get error message because we didn't enter username/password to invoke the webservice. Let us first add the user which we will use to test WS. In weblogic server which the webservice is running, you can open weblogic console --> Secuirty Realms --> myrealm --> Users and Groups</li>
</ul>
<div>
<br /></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoSjETDgAnQcmiq2mBH5_Fhf80HTo2grE3saJld0HHIigS9yVW5lemiO3ON_E90MTMtz0Bo9a1gHdHdHLeC9mY9i1i-db5Onxu2tze6fwHbta3pklUzypv_h7ZNuLnkHRdy3KH4zePLmI4/s1600/28.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="565" data-original-width="801" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoSjETDgAnQcmiq2mBH5_Fhf80HTo2grE3saJld0HHIigS9yVW5lemiO3ON_E90MTMtz0Bo9a1gHdHdHLeC9mY9i1i-db5Onxu2tze6fwHbta3pklUzypv_h7ZNuLnkHRdy3KH4zePLmI4/s320/28.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li><div>
You can add any user and set the password (I will use weblogic user to test the WS)</div>
</li>
</ul>
<div>
<br /></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmoN3-C-Qw-85LCg-8H0BteUdiBvI4jo1AzvVTbhNufcum0as9pGB5S5-DK4GdUKBaEwXN4Uelfs7i-Hbqc_7GVSwknr8KyB81e1kOY_DR2d_0sAeGTeqErkgCV7N1LAjVoXh166dSNBlH/s1600/29.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="596" data-original-width="840" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmoN3-C-Qw-85LCg-8H0BteUdiBvI4jo1AzvVTbhNufcum0as9pGB5S5-DK4GdUKBaEwXN4Uelfs7i-Hbqc_7GVSwknr8KyB81e1kOY_DR2d_0sAeGTeqErkgCV7N1LAjVoXh166dSNBlH/s320/29.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>Back to SoapUI, and we should set username and password to invoke WS. Right click on the Soap Project --> Show Project View</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdiSZz3YiravXup2kiSxr8sVqP2-y19pHy4eFABzuc6al-03v9H2X8CJzEO-Z3ILhabOefiJbW6509CLxCFaqJeNKts-7SHpxS5WoyddoeSAmuXGWs7CNBrgMmJBLQGr_8T63RVaazT7YB/s1600/18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="461" data-original-width="525" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdiSZz3YiravXup2kiSxr8sVqP2-y19pHy4eFABzuc6al-03v9H2X8CJzEO-Z3ILhabOefiJbW6509CLxCFaqJeNKts-7SHpxS5WoyddoeSAmuXGWs7CNBrgMmJBLQGr_8T63RVaazT7YB/s320/18.png" width="320" /></a></div>
<div>
<br /></div>
</div>
</div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>In WS-Secuirty Configurations --> Outgoing WS-Secuirty Configurations --> press on Add button</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc3Zx6SuT1agFSOBsqu1A7Z1WBCRO-EQX0yLLbZQUNuUwtEHdaNcf3FYbp_wr5BfUPI7q2yd60UgZKhpHhTVSj6IkZiThRQlPDbwiMWrCrInHqSt_zTp2aBgGZtMs83jkI_3_PmVYbXbg1/s1600/19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="360" data-original-width="912" height="126" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc3Zx6SuT1agFSOBsqu1A7Z1WBCRO-EQX0yLLbZQUNuUwtEHdaNcf3FYbp_wr5BfUPI7q2yd60UgZKhpHhTVSj6IkZiThRQlPDbwiMWrCrInHqSt_zTp2aBgGZtMs83jkI_3_PmVYbXbg1/s320/19.png" width="320" /></a></div>
<div>
<br /></div>
</div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>Enter any name</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQX5k2sdXrXEvREhsnVvKofYZy8RxjC47-Cjfc-folMSUZHf_GqfPMeRwURvSh6kd3sdPBZnV3-yC26XUKchimnNvBPqAk0jcrirkwt1p1-zvPArreg8yWUVvKCZgMQw4PHZZO1zXO_AIW/s1600/20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="126" data-original-width="295" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQX5k2sdXrXEvREhsnVvKofYZy8RxjC47-Cjfc-folMSUZHf_GqfPMeRwURvSh6kd3sdPBZnV3-yC26XUKchimnNvBPqAk0jcrirkwt1p1-zvPArreg8yWUVvKCZgMQw4PHZZO1zXO_AIW/s1600/20.png" /></a></div>
<div>
<br /></div>
</div>
<div>
<ul style="text-align: left;">
<li>In the left bottom section add new WSS entry</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjswdIG0R6qr5I8NgRDf752Zw_D4m5kwHXZjrq7YPOchyphenhyphenTvP59BqK9D20BxM_hhXcdd4_ujbgbi9pZthMjt_ABoiujS7vP6WzHtPSL9StKjdIaGMaAgMaq5tNKqJt3g6jivFXZx0MtxcQ0f/s1600/21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="454" data-original-width="596" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjswdIG0R6qr5I8NgRDf752Zw_D4m5kwHXZjrq7YPOchyphenhyphenTvP59BqK9D20BxM_hhXcdd4_ujbgbi9pZthMjt_ABoiujS7vP6WzHtPSL9StKjdIaGMaAgMaq5tNKqJt3g6jivFXZx0MtxcQ0f/s320/21.png" width="320" /></a></div>
<div>
<br /></div>
</div>
<div>
<ul style="text-align: left;">
<li>From drop down list select type "Username"</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuJcrF73ZJgY0IBdeQqQJb7llViZcni9zjI4ggH-lKWj5UZZrgmm8ImsPQHD3HXEIr3URPZC4z837i0IUvDgPE_PmQDpnR52SkXbGXJZyvsXcwwCg9rvve0HO3sTvuF95NVdNAHO6MJn2_/s1600/22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="202" data-original-width="346" height="186" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuJcrF73ZJgY0IBdeQqQJb7llViZcni9zjI4ggH-lKWj5UZZrgmm8ImsPQHD3HXEIr3URPZC4z837i0IUvDgPE_PmQDpnR52SkXbGXJZyvsXcwwCg9rvve0HO3sTvuF95NVdNAHO6MJn2_/s320/22.png" width="320" /></a></div>
<div>
<br /></div>
</div>
<div>
<ul style="text-align: left;">
<li>Enter Username and Password (the user which you defined in weblogic) and select PasswordText as shown</li>
</ul>
<div>
<br /></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFXlQgMRKqdcdEQydhxArSLXAgECAvaiFDw7DbpKqG2JOApTajbd-5L5l-clWRhax_mRqg-CBlX-BTX5A0Uz52E8cQwPZjC19pnZ0rk3GdMVxR6h-yiwKx7PI8YeqPg4VbFM5UY1aCPFEx/s1600/23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="418" data-original-width="652" height="205" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFXlQgMRKqdcdEQydhxArSLXAgECAvaiFDw7DbpKqG2JOApTajbd-5L5l-clWRhax_mRqg-CBlX-BTX5A0Uz52E8cQwPZjC19pnZ0rk3GdMVxR6h-yiwKx7PI8YeqPg4VbFM5UY1aCPFEx/s320/23.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>In the soap request close it and reopen it again. In the bottom of the request select <b>Auth </b>and select Add New Authentication</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKVefgBGz7547ANOlL7FzZh72NDOoYnROnGjS0TovwN28x6kI0HB4FVoq653O1-m92XAf8lcyoUD6oiJt1p4FE3u58WAkMmcpIxUttPUEjyCVURzJzc8sG1Duv_tWZrowr0AnjsmFk7sKx/s1600/24.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="541" data-original-width="432" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKVefgBGz7547ANOlL7FzZh72NDOoYnROnGjS0TovwN28x6kI0HB4FVoq653O1-m92XAf8lcyoUD6oiJt1p4FE3u58WAkMmcpIxUttPUEjyCVURzJzc8sG1Duv_tWZrowr0AnjsmFk7sKx/s320/24.png" width="255" /></a></div>
<div>
<br /></div>
</div>
<div>
<ul style="text-align: left;">
<li>Select Type --> Basic</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8x6UXdmCOUbtOQ_IqVXeddIeEbQkrA0cUceBRgUY9YjNRepuqhQkscqmbOAhk6KyMW6C1CVCwFz8MHJ_LzLu0CkWUvUdyD2ZjgVEEfA3ZmkG_PsohGwE7i8rvf3SnUJlejRqtnc6lmpzx/s1600/25.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="203" data-original-width="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8x6UXdmCOUbtOQ_IqVXeddIeEbQkrA0cUceBRgUY9YjNRepuqhQkscqmbOAhk6KyMW6C1CVCwFz8MHJ_LzLu0CkWUvUdyD2ZjgVEEfA3ZmkG_PsohGwE7i8rvf3SnUJlejRqtnc6lmpzx/s1600/25.png" /></a></div>
<div>
<br /></div>
</div>
<div>
<ul style="text-align: left;">
<li>Select the created Outgoing WSS as shown</li>
</ul>
<div>
<br /></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp9L1xeSCcJa-bq94Ls-Fz5-9ZdaOlNpib8KU1rKOKD-27tJxHKPA_cJQ9TyvlEApHcdB9U4ZTzQCN9I-PRFcA553wP-jiu9LYmhN4_ToOUT6QyZ8Qr-06DAx_wzQli3hoOshsN6tn1_jR/s1600/26.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="598" data-original-width="529" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp9L1xeSCcJa-bq94Ls-Fz5-9ZdaOlNpib8KU1rKOKD-27tJxHKPA_cJQ9TyvlEApHcdB9U4ZTzQCN9I-PRFcA553wP-jiu9LYmhN4_ToOUT6QyZ8Qr-06DAx_wzQli3hoOshsN6tn1_jR/s320/26.png" width="283" /></a></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>Now invoke the web service again, you will find the result is generated and the webservice is called successfully.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyru4aN9NJzHozRMpIUsOvyEgoQc9Rrvwu7wq4vPxUJneBf4hpj5B5f77iCIFwRYU30T0bWHe8xwwkIkKpky6XaxGNeYcK49eig7jdbTMcku7SPHH0POI7FzPB6eBoSOdG2gjektadjoBD/s1600/27.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="596" data-original-width="1019" height="187" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyru4aN9NJzHozRMpIUsOvyEgoQc9Rrvwu7wq4vPxUJneBf4hpj5B5f77iCIFwRYU30T0bWHe8xwwkIkKpky6XaxGNeYcK49eig7jdbTMcku7SPHH0POI7FzPB6eBoSOdG2gjektadjoBD/s320/27.png" width="320" /></a></div>
<div>
<br /></div>
</div>
<div>
<br /></div>
<div>
You can download the webservice sample application from this <a href="http://www.mediafire.com/file/ok8qagxzzjwiqsi/SecureWebService.zip/file" target="_blank">here</a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com1tag:blogger.com,1999:blog-7039183198232083459.post-91268509800247686882018-09-29T16:20:00.002-07:002018-09-29T18:42:58.034-07:00Learn Oracle ADF From Scratch Step-by-Step<div dir="ltr" style="text-align: left;" trbidi="on">
I have created a course in Udemy for anyone like to learn ADF. I covered almost all ADF life cycle and at end of the course I create a complete ADF application to show you how you can develop a complete ADF application. By end of this course you should be able to create a complete ADF application by yourself.<br />
<br />
ADF can be the first step to Oracle Fusion Middleware world.<br />
<br />
This is the course URL<br />
<br />
<a href="https://www.udemy.com/oracle-adf-12c-for-beginner-step-by-step/" target="_blank">https://www.udemy.com/oracle-adf-12c-for-beginner-step-by-step/</a><br />
<br />
Hopefully you find your goal in this course.</div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0tag:blogger.com,1999:blog-7039183198232083459.post-68743465795516977372018-06-19T03:28:00.000-07:002018-06-19T03:31:07.828-07:00Create New ADF Business Component Issue in Jdeveloper 12c<div dir="ltr" style="text-align: left;" trbidi="on">
In JDeveloper 12c I will show you one of the issue you may face when you try to create new Entity Object or create ADF Business Components From Table.<br />
<br />
For this example I have an ADF application with model project and I want to create one new Entity Object in the model project:<br />
<br />
- Right click on the Model Project --> New --> Entity Object<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjYYOWzZmNDHRacetPoo-lgGNsFRlU-UTD2yG2CC_CTeErGvb3zAln9DmYESXTpuNrz-_5d0ecI2IpvBXLyBaOd6biWkXfu0Qn7hJ9u3v7GmDPGw9CrPeBvcDrReW45AIpb_1xQfpRXYZk/s1600/is.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="189" data-original-width="663" height="91" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjYYOWzZmNDHRacetPoo-lgGNsFRlU-UTD2yG2CC_CTeErGvb3zAln9DmYESXTpuNrz-_5d0ecI2IpvBXLyBaOd6biWkXfu0Qn7hJ9u3v7GmDPGw9CrPeBvcDrReW45AIpb_1xQfpRXYZk/s320/is.png" width="320" /></a></div>
<br />
- You will find there is no Database Schema and You can't Browse schema object.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPWyboLR-IHo-zOcK1XQ3I_4sO054SAKl-KomxAA070l1-H-XBFS5HbsYjUbOWSYgp3_Foi7mOmEWT0s4WDsflXkwGIFFrnIWxfa4l_7vrcTu4TnHVjuNBAatBjNg4IlIhf8L2WxfN5JWb/s1600/issue2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="363" data-original-width="781" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPWyboLR-IHo-zOcK1XQ3I_4sO054SAKl-KomxAA070l1-H-XBFS5HbsYjUbOWSYgp3_Foi7mOmEWT0s4WDsflXkwGIFFrnIWxfa4l_7vrcTu4TnHVjuNBAatBjNg4IlIhf8L2WxfN5JWb/s320/issue2.png" width="320" /></a></div>
<br />
- In the Model project if you check if there is a database connection is defined in ADF Business Components or not, you will find there is a database connection defined.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwkI10927zq11C5OHXjbsopQB0Ft7UUJt-Owql5cHn8gx9KwIeqOMof0oAHNmAI2QwI7X8Lj-XnXObsEo7HKhtHuI4ke-sBJ3bOIX5coU81safndoqV7SYL_ZpaV7wp7voFi9AoelSRGG2/s1600/issue3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="319" data-original-width="681" height="149" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwkI10927zq11C5OHXjbsopQB0Ft7UUJt-Owql5cHn8gx9KwIeqOMof0oAHNmAI2QwI7X8Lj-XnXObsEo7HKhtHuI4ke-sBJ3bOIX5coU81safndoqV7SYL_ZpaV7wp7voFi9AoelSRGG2/s320/issue3.png" width="320" /></a></div>
<br />
<br />
So where is the problem?<br />
<br />
Let us try to create the entity using Business Components From Table<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMezJ7yIo57QEezExfCRqacal-IVa_Q47dTitQkYDGuFCzT0pKQzGCbuJYJejR4weSvP12oeDHVqgsZ8FFjaE3DMXPCbiPqiHmXxF12GzhJCxK5Tmt7eV0V5fBMPVBkmoCTez5KSV5G29V/s1600/issue4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="189" data-original-width="673" height="89" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMezJ7yIo57QEezExfCRqacal-IVa_Q47dTitQkYDGuFCzT0pKQzGCbuJYJejR4weSvP12oeDHVqgsZ8FFjaE3DMXPCbiPqiHmXxF12GzhJCxK5Tmt7eV0V5fBMPVBkmoCTez5KSV5G29V/s320/issue4.png" width="320" /></a></div>
<br />
You will find in the third step, there is no schema and you can't shuttle anything and the wizard<span style="background-color: white; color: #545454; font-family: "arial" , sans-serif; font-size: x-small;"> </span>will stop in this step as shown:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb7gu8PohfZeSQJ6clikO2P3gQep7Ft0YkwdCVP4tmRFqZNMTCN8inBmg-8Nxvh_gNlUsjJYmqkDBJffNAsA18_IxnjfhKEx2yfVVZ1hGNAJ1CJizAuwrZVAowjRWTa0oc2THkwgjFfC4r/s1600/issue5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="487" data-original-width="775" height="201" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb7gu8PohfZeSQJ6clikO2P3gQep7Ft0YkwdCVP4tmRFqZNMTCN8inBmg-8Nxvh_gNlUsjJYmqkDBJffNAsA18_IxnjfhKEx2yfVVZ1hGNAJ1CJizAuwrZVAowjRWTa0oc2THkwgjFfC4r/s320/issue5.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When you have a look on the JDev log, you can find exception like:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both;">
<span style="color: red;">SELECT /*OracleDictionaryQueries.ALL_VISIBLE_USERS_QUERY*/</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;">U.USERNAME, 'SCHEMA', NULL OBJECT_ID, NULL LAST_DDL_TIME</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;">FROM SYS.DBA_USERS U</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;">WHERE EXISTS ( SELECT 1</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> FROM SYS.DBA_TAB_PRIVS_RECD TPR</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> WHERE TPR.OWNER = U.USERNAME )</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;">AND U.USERNAME LIKE ?</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;">UNION</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;">SELECT USER, 'SCHEMA', NULL OBJECT_ID, NULL LAST_DDL_TIME FROM SYS.DUAL</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;">oracle.javatools.db.DBSQLException: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.javatools.db.execute.StatementWrapper.createDBSQLException(StatementWrapper.java:711)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.javatools.db.execute.ConnectionWrapper.call(ConnectionWrapper.java:199)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.javatools.db.execute.ConnectionWrapper.call(ConnectionWrapper.java:117)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.javatools.db.execute.ConnectionWrapper.run(ConnectionWrapper.java:102)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.javatools.db.execute.QueryWrapper$QueryExecutionRunnable.runImpl(QueryWrapper.java:459)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.javatools.db.execute.StatementWrapper$ExecutionRunnable.run(StatementWrapper.java:920)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.ideimpl.db.ProgressBarExecutionWrapper.runAndLog(ProgressBarExecutionWrapper.java:137)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.ideimpl.db.ProgressBarExecutionWrapper.access$000(ProgressBarExecutionWrapper.java:37)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.ideimpl.db.ProgressBarExecutionWrapper$R.run(ProgressBarExecutionWrapper.java:181)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:961)</span></div>
<div class="separator" style="clear: both;">
<span style="color: red;"> at java.lang.Thread.run(Thread.java:748)</span></div>
<div class="separator" style="clear: both;">
<br /></div>
<br />
<br />
The reason of this issue come from the database user privileges. To fix this issue follow the following steps:<br />
<br />
1- Connect to sys database and grant dba to the database user which you use in ADF application Model.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL8kK3ahhkK03YNBSq6v7U7miPLnGWQ0AT2p0Oo6Ray8_z7fj_Vu066BDF-eqHz746ZAgoNzIcSpdqIlQ8XNoGc4ZnjvOSKyzpbfU-aA96OlNSSNKQpb5-aitqRvNlaqV7imt-HQ2mKIAW/s1600/issue6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="267" data-original-width="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL8kK3ahhkK03YNBSq6v7U7miPLnGWQ0AT2p0Oo6Ray8_z7fj_Vu066BDF-eqHz746ZAgoNzIcSpdqIlQ8XNoGc4ZnjvOSKyzpbfU-aA96OlNSSNKQpb5-aitqRvNlaqV7imt-HQ2mKIAW/s1600/issue6.png" /></a></div>
<br />
2- Restart Jdeveloper.<br />
<br />
3- Now try to create new Entity or Create Business Component From Table, it should be ok and works fine.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5U9akd9S-xBg_s_U_ONsMVulPZHOF1TIyKl-3fgV7CaA3dY9SRF_-4f_0ZQWvbe0g_X1qr8DlXJ0rfY6TITWDeew3JUSSotF8ITiwL7XZHf3E1UJnJZrXlFF4KiBIj28mhTRSkeaDQkSq/s1600/issue7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="364" data-original-width="783" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5U9akd9S-xBg_s_U_ONsMVulPZHOF1TIyKl-3fgV7CaA3dY9SRF_-4f_0ZQWvbe0g_X1qr8DlXJ0rfY6TITWDeew3JUSSotF8ITiwL7XZHf3E1UJnJZrXlFF4KiBIj28mhTRSkeaDQkSq/s320/issue7.png" width="320" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin22Z-7S1ob6UNiXhR-Ja0EsX4xkutfiiXu0w25fpWM1e17HsKLEfk4NaX6v3mvpMqL8T91pxYc4oU7JjulAvHlPzUDbISEzXlPl1v-VDfcGL4gXNmV_rXmHDCWwT7J0Big-ldaf9iXTBe/s1600/issue8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="485" data-original-width="773" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin22Z-7S1ob6UNiXhR-Ja0EsX4xkutfiiXu0w25fpWM1e17HsKLEfk4NaX6v3mvpMqL8T91pxYc4oU7JjulAvHlPzUDbISEzXlPl1v-VDfcGL4gXNmV_rXmHDCWwT7J0Big-ldaf9iXTBe/s320/issue8.png" width="320" /></a></div>
<br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0tag:blogger.com,1999:blog-7039183198232083459.post-10857353747114228612016-04-25T06:11:00.004-07:002016-04-25T06:20:14.356-07:00Setup Standalone Weblogic 12.2.1 (Step-by-Step)<div dir="ltr" style="text-align: left;" trbidi="on">
In this post I will show you how to setup weblogic 12c in production environment. We will go throw all these points:<br />
<br />
<ul style="text-align: left;">
<li><b><span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;">Sources
required</span></b></li>
<li><b><span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><b><span lang="EN-IE" style="font-size: 11pt; line-height: 107%;">Setup
JDK 8</span></b></span></b></li>
<li><b><span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><b><span lang="EN-IE" style="font-size: 11pt; line-height: 107%;"><b><span lang="EN-IE" style="font-size: 11pt; line-height: 107%;">Setup
weblogic 12.2.1</span></b></span></b></span></b></li>
<li><b><span lang="EN-IE"><b><span lang="EN-IE"><b><span lang="EN-IE"><b><span lang="EN-IE"><span style="font-family: "calibri" , sans-serif;"><span style="font-size: 11pt; line-height: 107%;">Setup
FMW Infrastructure (ADF </span><span style="font-size: 14.6667px; line-height: 15.6933px;">Runtime</span><span style="font-size: 11pt; line-height: 107%;">)</span></span></span></b></span></b></span></b></span></b></li>
<li><b><span lang="EN-IE"><b><span lang="EN-IE"><b><span lang="EN-IE"><b><span lang="EN-IE"><span style="font-family: "calibri" , sans-serif;"><span style="font-size: 11pt; line-height: 107%;"><b><span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;">Create
Repository Configuration Utility (RCU)</span></b></span></span></span></b></span></b></span></b></span></b></li>
<li><b><span lang="EN-IE"><b><span lang="EN-IE"><b><span lang="EN-IE"><b><span lang="EN-IE"><span style="font-family: "calibri" , sans-serif;"><span style="font-size: 11pt; line-height: 107%;"><b><span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><b><span lang="EN-IE" style="font-size: 11pt; line-height: 107%;">Create
Weblogic Domain</span></b></span></b></span></span></span></b></span></b></span></b></span></b></li>
<li><b><span lang="EN-IE"><b><span lang="EN-IE"><b><span lang="EN-IE"><b><span lang="EN-IE"><span style="font-family: "calibri" , sans-serif;"><span style="font-size: 11pt; line-height: 107%;"><b><span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><b><span lang="EN-IE" style="font-size: 11pt; line-height: 107%;"><b><span lang="EN-IE" style="font-size: 11pt; line-height: 107%;">Run
and Configure the domain</span></b></span></b></span></b></span></span></span></b></span></b></span></b></span></b></li>
</ul>
<div>
<span style="font-family: "calibri" , sans-serif;"><span style="font-size: 14.6667px; line-height: 15.6933px;"><b><br /></b></span></span></div>
<div>
<span style="font-family: "calibri" , sans-serif;"><span style="font-size: 14.6667px; line-height: 15.6933px;"><b><u>1. Sources Required</u></b></span></span></div>
<div>
<span style="font-family: "calibri" , sans-serif;"><span style="font-size: 14.6667px; line-height: 15.6933px;"><b><u><br /></u></b></span></span></div>
<br />
<div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE">1.<span style="font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">JDK 8<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">2.<span style="font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Weblogic
12.2.1.0.0<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">3.<span style="font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">FMW
Infrastructure (ADF Runtime)<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTqEQAfY6u-Uw-m9d7t1AGq58yrOvr9MKwFYEZeCj7M8a1_KwP8zzdloS1bvzajtPx92IR1Oh1JzG7scq6l7R1tbw5AiW_TKQgKr6Wr0w2fLNJOMRkRm2FRy9BWN30KyrXaSAyX970xyk2/s1600/wls1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="68" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTqEQAfY6u-Uw-m9d7t1AGq58yrOvr9MKwFYEZeCj7M8a1_KwP8zzdloS1bvzajtPx92IR1Oh1JzG7scq6l7R1tbw5AiW_TKQgKr6Wr0w2fLNJOMRkRm2FRy9BWN30KyrXaSAyX970xyk2/s400/wls1.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>2. Setup JDK 8</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u><br /></u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;">Double
click on the jdk .exe file and setup jdk on the path has no space as</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWaupiJAdCvBJx01pQCWsxMsT1WEbBCI5omFcW7AD53fES-lgtaPTJRnHbzruYahah0MLH6JdLMj9Y0Kpx2sD4PHqemuGkYiW2eOyZ2tJiss68WtNh3Pu3xT55Ktd4v52FJxoESSEKwO7j/s1600/wls2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWaupiJAdCvBJx01pQCWsxMsT1WEbBCI5omFcW7AD53fES-lgtaPTJRnHbzruYahah0MLH6JdLMj9Y0Kpx2sD4PHqemuGkYiW2eOyZ2tJiss68WtNh3Pu3xT55Ktd4v52FJxoESSEKwO7j/s400/wls2.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;">Do
the same in JRE as</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs4iS_PhSxqW_MvShAVb0KYBNePPIJjHHQYYcvynkbAa0ylmNKiMWHUtsmsCnbyKXf-SN7mPQxnm9oE_Q05Gjz8elb0ZCxx7UAa4FMqQB3RAXrMMhhzjOjOZzv77hDK6VxYsftnTypPgXX/s1600/wls3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs4iS_PhSxqW_MvShAVb0KYBNePPIJjHHQYYcvynkbAa0ylmNKiMWHUtsmsCnbyKXf-SN7mPQxnm9oE_Q05Gjz8elb0ZCxx7UAa4FMqQB3RAXrMMhhzjOjOZzv77hDK6VxYsftnTypPgXX/s400/wls3.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><b><u><br /></u></b></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><b><u>3. Setup Weblogic 12.2.1</u></b></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><b><u><br /></u></b></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Open cmd and write this:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><jdk-path>/bin/java.exe
–D64 –jar <path file="" jar="" to="" wls=""><o:p></o:p></path></jdk-path></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="separator" style="clear: both;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;">
</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">C:\Java\jdk1.8.0_74\bin\java.exe
–D64 –jar C:\12c_sources\fmw_12.2.1.0.0_wls.jar<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinA8BCkUaxSbgnmkfKhERIFmRm-CpQrwxE2qFAI8uQ4A3kqFCnC5eD8I3OpKcGp6dFEsn_y29bkAQEhb9wC9IkcFNI6fFd9PavQuoZ0KL4Be6Kf1wi6V_hOSYmIP34IiwL1MWyD3araEjX/s1600/wls4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="41" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinA8BCkUaxSbgnmkfKhERIFmRm-CpQrwxE2qFAI8uQ4A3kqFCnC5eD8I3OpKcGp6dFEsn_y29bkAQEhb9wC9IkcFNI6fFd9PavQuoZ0KL4Be6Kf1wi6V_hOSYmIP34IiwL1MWyD3araEjX/s400/wls4.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Follow the following screen shots to setup
Weblogic 12c<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_x98Znqyyy_6ygyUSornclAyWUUUeG15e9CCswqonn96ZI-fSV7tHytJOSXq1_dTBLDN8VNJ_8euoVSo3yw31G_2D-jci04dmNuIY4iLuDywkLeJQQGt57v1ki_1wJldY4AUoLDQ7aCxY/s1600/wls5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_x98Znqyyy_6ygyUSornclAyWUUUeG15e9CCswqonn96ZI-fSV7tHytJOSXq1_dTBLDN8VNJ_8euoVSo3yw31G_2D-jci04dmNuIY4iLuDywkLeJQQGt57v1ki_1wJldY4AUoLDQ7aCxY/s400/wls5.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6GG_E_AK_zxx_cWtfeF6tJgkHS1RsDSO9dTka7brk-_vLYGPXmRNayygTzmpoVSH2V83moObR-7qsJ07ukocBv-4UXK6EhdNFzek7HxWTqTf3YiZ38xoz9_pLoIZNAncFo1VFiLOIOVop/s1600/wls6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6GG_E_AK_zxx_cWtfeF6tJgkHS1RsDSO9dTka7brk-_vLYGPXmRNayygTzmpoVSH2V83moObR-7qsJ07ukocBv-4UXK6EhdNFzek7HxWTqTf3YiZ38xoz9_pLoIZNAncFo1VFiLOIOVop/s400/wls6.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7Y2Jt5ccwlqIVs3WxpbXlu04x_4LiJcZmaLd9B2E73PvDwKN45bqCDq8uxQ9EajANWH8g2AUQvC26O1WuH2HFDGKtJ7K13ewvDcRyAkZ9QAdYcYfDXOqANUxIuILR96WccQ6LHbUP53QB/s1600/wls7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7Y2Jt5ccwlqIVs3WxpbXlu04x_4LiJcZmaLd9B2E73PvDwKN45bqCDq8uxQ9EajANWH8g2AUQvC26O1WuH2HFDGKtJ7K13ewvDcRyAkZ9QAdYcYfDXOqANUxIuILR96WccQ6LHbUP53QB/s400/wls7.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh0yiZYcZwtOS21wXMYQKiuwe2VrkF-gSvFxvkR0l4BUJYyi7_gx6MToDPpbg_WGpiLlIh8fMDNEHqbt8RD4FAnJ53e6C50AMcDiEnk8XCEvWpzl77zEDVQ3zPWwwnZdSBkj0pDluA2CTF/s1600/wls8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh0yiZYcZwtOS21wXMYQKiuwe2VrkF-gSvFxvkR0l4BUJYyi7_gx6MToDPpbg_WGpiLlIh8fMDNEHqbt8RD4FAnJ53e6C50AMcDiEnk8XCEvWpzl77zEDVQ3zPWwwnZdSBkj0pDluA2CTF/s400/wls8.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBRQRvVJv-z21zz03lD6a-bRa9sVvlV2n-t44QlRfvU-GQFaRTxM3zYAMUYfh8I5j5r-BPnlYAnQjRPOP8EEkP5SKcAmf4XrdDTH7hGuDEWIDc7BWH4Th9XgjhYKhuVG9ptbjyoxhtklSz/s1600/wls9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBRQRvVJv-z21zz03lD6a-bRa9sVvlV2n-t44QlRfvU-GQFaRTxM3zYAMUYfh8I5j5r-BPnlYAnQjRPOP8EEkP5SKcAmf4XrdDTH7hGuDEWIDc7BWH4Th9XgjhYKhuVG9ptbjyoxhtklSz/s400/wls9.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhugiKJ0q3zKGT8VQyeuMnm3h3mmb_AFjSQLmP39NLtTglIcdqN0-TlsN1OeVILhn_gsysmr7zo8PK_59hrRRAPRxT3v-eOYurGjzq7qZtg5sZzZAausl1wultFjyi5SRpF_mvWSxQXqKIk/s1600/wls10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhugiKJ0q3zKGT8VQyeuMnm3h3mmb_AFjSQLmP39NLtTglIcdqN0-TlsN1OeVILhn_gsysmr7zo8PK_59hrRRAPRxT3v-eOYurGjzq7qZtg5sZzZAausl1wultFjyi5SRpF_mvWSxQXqKIk/s400/wls10.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtZfkn0mZQzc63XUaI-hBwQ_vcdXqIY7WuDORlGeP4Xvt3U5EhEoRIkYQJ0_6cyepd8bfZ5Z0x7PA1-eK3mfM8CKDhrrNvAd415mWFMI1gQcVz8lzTJhn8XmptuLzycemrRWHs1Z81HU0L/s1600/wls11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="315" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtZfkn0mZQzc63XUaI-hBwQ_vcdXqIY7WuDORlGeP4Xvt3U5EhEoRIkYQJ0_6cyepd8bfZ5Z0x7PA1-eK3mfM8CKDhrrNvAd415mWFMI1gQcVz8lzTJhn8XmptuLzycemrRWHs1Z81HU0L/s400/wls11.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWHo-AXH4MA2GoTcOLjUAuMWxp7WljMF4zfzm8_qicV8vawuvvHI0TdBo0ZcV40S44CQsLDgOh1Nfy_jIJSHF42MbS0eOpLJPSbejfOwmDbQpPAsYnVffeqkwzWiMMDIYkrLQAccNwDQGp/s1600/wls12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWHo-AXH4MA2GoTcOLjUAuMWxp7WljMF4zfzm8_qicV8vawuvvHI0TdBo0ZcV40S44CQsLDgOh1Nfy_jIJSHF42MbS0eOpLJPSbejfOwmDbQpPAsYnVffeqkwzWiMMDIYkrLQAccNwDQGp/s400/wls12.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>4. Setup FMW Infrastructure</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u><br /></u></b></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Open cmd and write this:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><jdk-path>/bin/java.exe
–jar <path file="" jar="" to=""><o:p></o:p></path></jdk-path></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="separator" style="clear: both;">
</div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">C:\Java\jdk1.8.0_74\bin\java.exe
–jar C:\12c_sources\fmw_12.2.1.0.0_infrastructure.jar<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbSRPtYnNjo07o1n2YbHcd0qBr0nxMV6bCGhsPkvoScbwBIBc-0O3a-_6BLZMjdrZHRUSBkaMSSJTwkSnfhOXzL-HGZgUyVXzfQhXskKUDokgO4pWyf657KCXAmVswTlizgeoGRKFgX3TX/s1600/wls13.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="45" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbSRPtYnNjo07o1n2YbHcd0qBr0nxMV6bCGhsPkvoScbwBIBc-0O3a-_6BLZMjdrZHRUSBkaMSSJTwkSnfhOXzL-HGZgUyVXzfQhXskKUDokgO4pWyf657KCXAmVswTlizgeoGRKFgX3TX/s400/wls13.jpg" width="400" /></a></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Setup infrastructure on the created Middleware
folder as shown on these screenshots<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHHWZU-Oqufno6210iKGjweASQinh1BQBT9YrK5oOOLj3Ym959scGOnPZDNUr2Mw2MyrncuoW4rl6HPoG1cse2xoovebN93fm47S2YawrChS1CvBsSSiS1sq3v87EguBmtyyoQ0B7bCAuQ/s1600/wls14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHHWZU-Oqufno6210iKGjweASQinh1BQBT9YrK5oOOLj3Ym959scGOnPZDNUr2Mw2MyrncuoW4rl6HPoG1cse2xoovebN93fm47S2YawrChS1CvBsSSiS1sq3v87EguBmtyyoQ0B7bCAuQ/s400/wls14.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1dNqwV2SM1VKckP3V1w6rhbTRQKfgOK0Xy9gOmGfmy29NXUmTNg5G6zNJv7wt2Er82Yz1UQzz8pOJkzmC9dDNIMX-_z9EcevmJ00N2RZ5g63JlanFRLqnh_mH29Fz01HgVM104g20csUi/s1600/wls15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1dNqwV2SM1VKckP3V1w6rhbTRQKfgOK0Xy9gOmGfmy29NXUmTNg5G6zNJv7wt2Er82Yz1UQzz8pOJkzmC9dDNIMX-_z9EcevmJ00N2RZ5g63JlanFRLqnh_mH29Fz01HgVM104g20csUi/s400/wls15.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAciS6I6QV5Gf042_VX7NgO2W1VAkawWP3kIT4kBOhmHmoq_2Phowcyrzglf6G9nPYE_ON0rajJLAPNuhD4Mha0mMbID_SYNRKQndydYz9I9Po-SmqfhZbdXS-ICvYXzs4RfOhI1P2JPt8/s1600/wls16.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAciS6I6QV5Gf042_VX7NgO2W1VAkawWP3kIT4kBOhmHmoq_2Phowcyrzglf6G9nPYE_ON0rajJLAPNuhD4Mha0mMbID_SYNRKQndydYz9I9Po-SmqfhZbdXS-ICvYXzs4RfOhI1P2JPt8/s400/wls16.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><b><u>5. Create </u></b></span><b><span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><u>Repository
Configuration Utility (RCU)</u></span></b></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;"><br /></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">You should know database connection information
with sys user before start setup RCU.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Open cmd and run “rcu.bat” located on this path
(<middleware home="">/oracle_common/bin)<o:p></o:p></middleware></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="separator" style="clear: both;">
<span lang="EN-IE" style="font-family: "calibri" , "sans-serif"; font-size: 11.0pt; line-height: 107%;">
</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">C:\Oracle\Middleware12.2.1\oracle_common\bin\rcu.bat<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijZdrPh66bU5-a8IAHtyHKk2MoOUvJ-QYbKPpAjMJt9b3wNskGFBqB-cIJcCEZk63r9rDMH7X_JkwrxLFK3GCyuPwwgHromoTbcqwrhmSlij_2hub4nR9filrXWMIDDcZOHhT9H2T9HR2e/s1600/wls17.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="42" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijZdrPh66bU5-a8IAHtyHKk2MoOUvJ-QYbKPpAjMJt9b3wNskGFBqB-cIJcCEZk63r9rDMH7X_JkwrxLFK3GCyuPwwgHromoTbcqwrhmSlij_2hub4nR9filrXWMIDDcZOHhT9H2T9HR2e/s400/wls17.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Follow these screenshots to setup RCU<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMorLFREcal4OlCmEi3Iq9Y7q-HcxdZCJoA5_1XFh-3toX1gz4jvg6PH-RQ-ys7SH1vfx4fwXWbI130j4N-TW7vBTiLlffpZ55NWLPxtIY_CTxKJLosY45EfVlGIaw1W-sUohkFgzZI7m_/s1600/wls18.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMorLFREcal4OlCmEi3Iq9Y7q-HcxdZCJoA5_1XFh-3toX1gz4jvg6PH-RQ-ys7SH1vfx4fwXWbI130j4N-TW7vBTiLlffpZ55NWLPxtIY_CTxKJLosY45EfVlGIaw1W-sUohkFgzZI7m_/s400/wls18.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMpanX8ggtyveNLsHhZNrUFNRHJkcWoxr9KDUUXwSbU-i22tXawBjj54RFuOoLb_vhu9TEKWVNDuenimOgYI_iw-YZBa8dIUr_I7i6S-4Lw8BJdyPsmXixi8RqITA822YbyRCHxftitDZD/s1600/wls19.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMpanX8ggtyveNLsHhZNrUFNRHJkcWoxr9KDUUXwSbU-i22tXawBjj54RFuOoLb_vhu9TEKWVNDuenimOgYI_iw-YZBa8dIUr_I7i6S-4Lw8BJdyPsmXixi8RqITA822YbyRCHxftitDZD/s400/wls19.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlqYTVe_mbtdDQngPfGefUdj87pmssk8TPjQAlp7XiBLfUJ94L51X61KGODNRRsqhz9cTodS0e5uk_60MhWNQ7WlblN8R-SO5zR5pYiOh5OtBLDVp0KKvRq7-NojfBewJ4Aq63fGbCfjZ5/s1600/wls20.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlqYTVe_mbtdDQngPfGefUdj87pmssk8TPjQAlp7XiBLfUJ94L51X61KGODNRRsqhz9cTodS0e5uk_60MhWNQ7WlblN8R-SO5zR5pYiOh5OtBLDVp0KKvRq7-NojfBewJ4Aq63fGbCfjZ5/s400/wls20.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div align="center" class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; text-align: center;">
<span lang="EN-IE">These
schema owner will be used when you create weblogic domain.<o:p></o:p></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRXS3_8flFEGUE-yYIlcg7eYs3A2Z3knlgu62Ngw-Up1mriCbsamb2fgE89P55ATpyeniL6g04PUHexPljkyK3SPJzZoeMtOt1L0bpfLWUPOHCuohk0kI6ZE7EgGiCr3VJ1Sqqz_YmRpOa/s1600/wls21.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRXS3_8flFEGUE-yYIlcg7eYs3A2Z3knlgu62Ngw-Up1mriCbsamb2fgE89P55ATpyeniL6g04PUHexPljkyK3SPJzZoeMtOt1L0bpfLWUPOHCuohk0kI6ZE7EgGiCr3VJ1Sqqz_YmRpOa/s400/wls21.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX-ZC4Ze-EDz0SMhffMhkmbRXm3-5H3QJz0S4Tm5gbd_bsryzhuu2mPGDnbKLWm7nxcax2Iv7586H_eH58u2kCBcwts116_gPV0fBIRD5-igHxAr5mnRZySuTvlczL41CtseZ3WHGi1inA/s1600/wls22.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX-ZC4Ze-EDz0SMhffMhkmbRXm3-5H3QJz0S4Tm5gbd_bsryzhuu2mPGDnbKLWm7nxcax2Iv7586H_eH58u2kCBcwts116_gPV0fBIRD5-igHxAr5mnRZySuTvlczL41CtseZ3WHGi1inA/s400/wls22.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHghdZh0EBNOZ54ZwVrzugk1vYvOBZY3y8jTEO4bz0NRNPT6L1InW9F4_kjCPP5anL9-docaRCt4Rgkjf3tPUA3AkSXxl4MU-eWZ5F9_nyCXfjkMu9N9zE7np-0qrM6FdNVPHJqAFYgar0/s1600/wls23.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHghdZh0EBNOZ54ZwVrzugk1vYvOBZY3y8jTEO4bz0NRNPT6L1InW9F4_kjCPP5anL9-docaRCt4Rgkjf3tPUA3AkSXxl4MU-eWZ5F9_nyCXfjkMu9N9zE7np-0qrM6FdNVPHJqAFYgar0/s400/wls23.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSRllA_W4Gmm5wVwBezEjEigTV_mxzXg0zlfXlndgnPyhGG5I0iU46CqtX-RalSehXBSujNSynLOHWZ8PscKZ1W9vIgq9WSBcWHcbdif1vHgjCFtdfANSYR5KYjF38EbVfqu55zGB4_G2y/s1600/wls24.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSRllA_W4Gmm5wVwBezEjEigTV_mxzXg0zlfXlndgnPyhGG5I0iU46CqtX-RalSehXBSujNSynLOHWZ8PscKZ1W9vIgq9WSBcWHcbdif1vHgjCFtdfANSYR5KYjF38EbVfqu55zGB4_G2y/s400/wls24.jpg" width="400" /></a></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"></span></div>
<div class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE" style="font-family: "symbol"; mso-ansi-language: EN-IE; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><b><span lang="EN-IE"><u>6. Create Weblogic Domain</u><o:p></o:p></span></b></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Open cmd and run <middleware_home>\wlserver\common\bin\config.cmd<o:p></o:p></middleware_home></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">
</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">C:\Oracle\Middleware12.2.1\wlserver\common\bin\config.cmd<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-OzqjG-TjhA6LquoVbGiI7Nb3gWEUG4cG8rKV_bzH5xzmiBO37yH4Jq40jR9_f2ObrPdyz0cfB1P_CR7b999OUXAzVjRMhJHuDFKMSU_saCoGOJSXVpp6lT1zdqkrCsFc-s9RLoF2W8kE/s1600/wls_missing.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="42" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-OzqjG-TjhA6LquoVbGiI7Nb3gWEUG4cG8rKV_bzH5xzmiBO37yH4Jq40jR9_f2ObrPdyz0cfB1P_CR7b999OUXAzVjRMhJHuDFKMSU_saCoGOJSXVpp6lT1zdqkrCsFc-s9RLoF2W8kE/s400/wls_missing.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Follow these screenshots to create the domain:<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkkvDYIghEGg97kRe6zDEx3Ba5glGtz19eJgFErc9zGgL887n1YiGt1xTK6akcUMbCYEsDdJkJcg3eXBuHKo6fcGK3OMp3r6IqXaBArMa53gFkaNUJCRgqutteAbhqsI8o1q-a_rJXk4Tf/s1600/wls25.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkkvDYIghEGg97kRe6zDEx3Ba5glGtz19eJgFErc9zGgL887n1YiGt1xTK6akcUMbCYEsDdJkJcg3eXBuHKo6fcGK3OMp3r6IqXaBArMa53gFkaNUJCRgqutteAbhqsI8o1q-a_rJXk4Tf/s400/wls25.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAGarQttzuLghrao13Z568wrKHZpiB2XkUxVEpqG3HF0yEnWwUtokjZxcGQfJt34b4cYmShLomVSWEm9uRo6uCoWxnnjbcNsREG1kfzelion_ehwyqpnEP0dvcK51B08xrLIVaMBKD9H_R/s1600/wls26.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAGarQttzuLghrao13Z568wrKHZpiB2XkUxVEpqG3HF0yEnWwUtokjZxcGQfJt34b4cYmShLomVSWEm9uRo6uCoWxnnjbcNsREG1kfzelion_ehwyqpnEP0dvcK51B08xrLIVaMBKD9H_R/s400/wls26.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ypOMSU1LEjurW1qOqWogIxA_B8ouspnZ9bOvsZYELKMTE6KqjQiHMp2kxW_AKskl5fwI_ZebBWDKyFSMWnMXoEuMuRDo3rfc0LR_AmM6QRYNmfeT6SOIndiJbXPRQloYLmOKw7Ifz8eX/s1600/wls27.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="301" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ypOMSU1LEjurW1qOqWogIxA_B8ouspnZ9bOvsZYELKMTE6KqjQiHMp2kxW_AKskl5fwI_ZebBWDKyFSMWnMXoEuMuRDo3rfc0LR_AmM6QRYNmfeT6SOIndiJbXPRQloYLmOKw7Ifz8eX/s400/wls27.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVCMdghviHEwY1vnSxxWACdOE_3bGmcOkbshDXS0_S5NZYJRnpe1__r9Sk_qt43tFYBt6ilgBBZDQyHiwhyphenhyphenTyoPxFkltRWMeXblNe74k559WQnL3P1ZHq_gky7bu80d_Gx78XZCBQmpDoI/s1600/wls28.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVCMdghviHEwY1vnSxxWACdOE_3bGmcOkbshDXS0_S5NZYJRnpe1__r9Sk_qt43tFYBt6ilgBBZDQyHiwhyphenhyphenTyoPxFkltRWMeXblNe74k559WQnL3P1ZHq_gky7bu80d_Gx78XZCBQmpDoI/s400/wls28.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj3vTW9GXndQxtztSererrIgXgeyc_rbQqhKDEhrKIXWgjDPYzAXxtAa0J5qkrQKxCLKb7et35Ydz5bwpnUH3l66j4mCd4ZZgB3PvGgGI_wrZBoPhQVtWLE8jMjQNqX42QccjMNNWV4V2E/s1600/wls29.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="297" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj3vTW9GXndQxtztSererrIgXgeyc_rbQqhKDEhrKIXWgjDPYzAXxtAa0J5qkrQKxCLKb7et35Ydz5bwpnUH3l66j4mCd4ZZgB3PvGgGI_wrZBoPhQVtWLE8jMjQNqX42QccjMNNWV4V2E/s400/wls29.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMHvELnTsq4dqhwKT1bKl6EIox_wK_l1hiZlYO3R8JeB9FQ9PoyVy2zlOUin-yB9YeJ0rmIPfq7D9TgRjxmdqlhgGe0H9jX-z0B3pIO9fqHv6QCsVyIJf8AcUOfQF8o7cE5LDTL6_ecYpC/s1600/wls30.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMHvELnTsq4dqhwKT1bKl6EIox_wK_l1hiZlYO3R8JeB9FQ9PoyVy2zlOUin-yB9YeJ0rmIPfq7D9TgRjxmdqlhgGe0H9jX-z0B3pIO9fqHv6QCsVyIJf8AcUOfQF8o7cE5LDTL6_ecYpC/s400/wls30.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRDn3g7nlCf7W_Ky0LCfbI8edfjfN5NE6SMAnWJLVVmGOXR93i2LXt_3Ozx4aB1isPcW-otUnR19cS5veXHhXJl2WzFG0PeyRXod6fHBVas4-mLiLVrhRf58eY5fW_LtTatJ4N-N4aOb8G/s1600/wls31_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRDn3g7nlCf7W_Ky0LCfbI8edfjfN5NE6SMAnWJLVVmGOXR93i2LXt_3Ozx4aB1isPcW-otUnR19cS5veXHhXJl2WzFG0PeyRXod6fHBVas4-mLiLVrhRf58eY5fW_LtTatJ4N-N4aOb8G/s400/wls31_1.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieZ_KMsPQlRfovvh4JFJigubc7B5dV4VYBGiL7egK5gVGC9uTWbi5S_YpFatJ1j5Tll2DQW_miOt4FxNJXxItPajSvO3mnjrzbnJWgj-nA0S2aF75n9W2Fegf5K8YlM7OHZDyI4zEq3uxi/s1600/wls33.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="301" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieZ_KMsPQlRfovvh4JFJigubc7B5dV4VYBGiL7egK5gVGC9uTWbi5S_YpFatJ1j5Tll2DQW_miOt4FxNJXxItPajSvO3mnjrzbnJWgj-nA0S2aF75n9W2Fegf5K8YlM7OHZDyI4zEq3uxi/s400/wls33.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span lang="EN-IE" style="font-family: "symbol"; text-indent: -18pt;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><b style="text-decoration: underline; text-indent: -18pt;"><span lang="EN-IE">7. Run and Configure the domain</span></b></div>
<div class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b><span lang="EN-IE"><o:p></o:p></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Run this command to run AdminServer
<middleware_home>\ user_projects\domains\<domain_name>\bin\startWebLogic.cmd
<o:p></o:p></domain_name></middleware_home></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">
</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain\bin\startWebLogic.cmd<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigBTqEUx48LRAXYgnI8WJQuv2wSOeZhLhE6SoIxLaejQBOWcpzWRrK0GcP_lJunHRFTrAy8lCG4nbeGcUs7z_ChIMf7Pl6-FWb3c1MP-1cFS89Sq7QDVqbx6h8BkwlTgDQidNyH-n_Avib/s1600/wls32.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="43" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigBTqEUx48LRAXYgnI8WJQuv2wSOeZhLhE6SoIxLaejQBOWcpzWRrK0GcP_lJunHRFTrAy8lCG4nbeGcUs7z_ChIMf7Pl6-FWb3c1MP-1cFS89Sq7QDVqbx6h8BkwlTgDQidNyH-n_Avib/s400/wls32.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">After successfully running the AdminServer open
the browser and open the console from this url http://serverIp:port/console<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"> http://weblogic12:7001/console <o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">From the console create a ManagedServer and
after creating the managed server the JRF libraries automatically will applied
to the server so no need to go to em to apply JRFTemplate anymore<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEvszjmf7OPxOGPX9AYJR0m5DZHq2ugn2WUdwEwjbg1lmsXSaa6FHzdyV-dLe5RyeJ4XPPrwyPdGDudL9nvbYRaMCF0MOqd9GqI5nNA7-fUeK1UUlQC57skKovGXhtV84lidnaI5XYEtuO/s1600/wls33_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEvszjmf7OPxOGPX9AYJR0m5DZHq2ugn2WUdwEwjbg1lmsXSaa6FHzdyV-dLe5RyeJ4XPPrwyPdGDudL9nvbYRaMCF0MOqd9GqI5nNA7-fUeK1UUlQC57skKovGXhtV84lidnaI5XYEtuO/s400/wls33_1.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Create a Machine and add AdminServer and
ManagedServer to this machine<o:p></o:p></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV4G1Lsxzj_39yPkmCjoJjBxJFtTZN8B8dqB9nn-jH-PS74mJyJ1J2neX-i12gsOtnIUyQcuZ78NE4_6z6nDXvfFVmehue7Vw8R-3BsxbOgRLjD5Yt3I8thBcMJsY_t315jKGPHXv-xXLW/s1600/wls34.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV4G1Lsxzj_39yPkmCjoJjBxJFtTZN8B8dqB9nn-jH-PS74mJyJ1J2neX-i12gsOtnIUyQcuZ78NE4_6z6nDXvfFVmehue7Vw8R-3BsxbOgRLjD5Yt3I8thBcMJsY_t315jKGPHXv-xXLW/s400/wls34.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Install Node Manager services by invoking
<milddleware_home>\user_projects\domains\<domain_name>\bin\installNodeMgrSvc.cmd<o:p></o:p></domain_name></milddleware_home></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain\bin\installNodeMgrSvc.cmd<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">You can configure node manager from <b>nodemanager.properties</b>
file. You can find this file in this path:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><middleware_home>\user_projects\domains\<domain_name>\nodemanager<o:p></o:p></domain_name></middleware_home></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain\nodemanager<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">Note: if you make any
changes in <b>nodemanager.properties</b> file you have to restart node manager
services.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Shutdown AdminServer and ManagedServer.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">To increase the ManagedServer memory, you can
open <b>setStartupEnv.cmd </b>file from this path:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><middleware_home>\user_projects\domains\<domain_name>\bin\<o:p></o:p></domain_name></middleware_home></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<i><span lang="EN-IE">For example:<o:p></o:p></span></i></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain\bin\<o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE">In the section <b>if "%STARTUP_GROUP%"=="“
</b>you can configure memory as<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaqdEVDby3pI-fNzCnU3rxbO08qaRugx0tIHrfs-j8Klmk7f4QIL8RKt_8sgV9HIk9ixLORjsJkQRjCRl2wnY8_ghHejW5BPdiuVqFjFRXmXk-BWQhPXzT48m_lZO5qj3hE0zPK3LylWQ5/s1600/wls35.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaqdEVDby3pI-fNzCnU3rxbO08qaRugx0tIHrfs-j8Klmk7f4QIL8RKt_8sgV9HIk9ixLORjsJkQRjCRl2wnY8_ghHejW5BPdiuVqFjFRXmXk-BWQhPXzT48m_lZO5qj3hE0zPK3LylWQ5/s400/wls35.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE">-<span style="font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Run AdminServer and ManagedServer using node
manager as:<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraph" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"></span></div>
<div class="MsoListParagraph" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE" style="font-family: "wingdings"; mso-ansi-language: EN-IE; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">Ø<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Run wlst.cmd
from <middleware_home>\wlserver\common\bin\wlst.cmd<o:p></o:p></middleware_home></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib2A6m_6iJwniqwVUuJL_OjSX26YES1j-w9i4XD3IyJJRCtDPgf8R84HtLHI5mS18OupZtAmmObenyVK_ZRH8rgKtyNVem3REEqv3F6xVLf7mF3A0AG78Di_4XNVofo6yBnf3Kge6n7RSD/s1600/wls36.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="85" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib2A6m_6iJwniqwVUuJL_OjSX26YES1j-w9i4XD3IyJJRCtDPgf8R84HtLHI5mS18OupZtAmmObenyVK_ZRH8rgKtyNVem3REEqv3F6xVLf7mF3A0AG78Di_4XNVofo6yBnf3Kge6n7RSD/s400/wls36.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE" style="font-family: "wingdings"; mso-ansi-language: EN-IE; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">Ø<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Connect to node
manager using this command<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto;">
<span lang="EN-IE">nmConnect('weblogic','<weblogic_password>','<node_manager_ip>','<node_manager_port>','<domain_name>','<domain_path>','ssl')<o:p></o:p></domain_path></domain_name></node_manager_port></node_manager_ip></weblogic_password></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto;">
<span lang="EN-IE">For example:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 90.0pt; mso-add-space: auto;">
<span lang="EN-IE">nmConnect('weblogic','weblogic1','localhost','5556','ADFDomain','</span><span lang="EN-IE"> </span><span lang="EN-IE">C:\Oracle\Middleware12.2.1\user_projects\domains\ADFDomain
','ssl')<o:p></o:p></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMt6k-_iJSiAMP8s-yqXTz9aGMOdj6RF3mLjM13XN96x2iCAtqXnwX85kNBe19nEc7p1RiZadpRCngyV9CfmHDVWxKIsrRUZesSuc8HSLk_pG_UMNxkCQo8MZ4pfhBIZeI6M9DwTnypXVS/s1600/wls37.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="97" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMt6k-_iJSiAMP8s-yqXTz9aGMOdj6RF3mLjM13XN96x2iCAtqXnwX85kNBe19nEc7p1RiZadpRCngyV9CfmHDVWxKIsrRUZesSuc8HSLk_pG_UMNxkCQo8MZ4pfhBIZeI6M9DwTnypXVS/s400/wls37.jpg" width="400" /></a></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE"><br /></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE" style="font-family: "wingdings"; mso-ansi-language: EN-IE; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">Ø<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Start
AdminServer using this command:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto;">
<span lang="EN-IE">nmStart('AdminServer')<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="EN-IE" style="font-family: "wingdings"; mso-ansi-language: EN-IE; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;">Ø<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><span dir="LTR"></span><span lang="EN-IE">Start
ManagedServer using this command:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto;">
<span lang="EN-IE">nmStart('<managedservername>')
as <o:p></o:p></managedservername></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="EN-IE">
</span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 90.0pt; mso-add-space: auto;">
<span lang="EN-IE">nmStart('ADFServer')<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto;">
<span lang="EN-IE"><br /></span>
<span lang="EN-IE"><br /></span><span lang="EN-IE">You can download a word document file (.docx) from <a href="http://www.mediafire.com/download/5zx4957kz255io5/Setup_Weblogic_12c.docx" target="_blank">here</a></span><br />
<span lang="EN-IE"><br /></span>
<span lang="EN-IE"><br /></span>
<span lang="EN-IE"><br /></span>
<span lang="EN-IE"><br /></span></div>
</div>
</div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com3tag:blogger.com,1999:blog-7039183198232083459.post-60796634414026245892016-02-02T03:09:00.001-08:002016-02-02T06:15:14.394-08:00Change Web Service WSDL at Runtime When Calling SOAP Web Service (Step-by-Step)<div dir="ltr" style="text-align: left;" trbidi="on">
Sometime we need to change the Web Service WSDL URL dynamically at runtime when we call web service. The Web Service may deployed in different environments and you want depending on some conditions you will decide which version you should call.<br />
In this example I will show you how to call SOAP Web Service progrmatically with dynamic wsdl url.<br />
<br />
<span style="color: red;"><b>I used JDev 11.1.2.4.0 for developing this complete example.</b></span><br />
<br />
<b><u>1- Create a Simple Web Service:</u></b><br />
<br />
I will create a simple web service has one function call "sayHello" this function will receive String and will return "Hello " + String.<br />
<br />
- From JDeveloper create a custom application "e.g SimpleWebService" with one project "e.g SimpleWS" then create a class "e.g MyWebService.java" has one function sayHello as shown<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTh7uupvTk06Xw8CbnmE__SknMS5V5mK5t5vitTMjFPWZoXHeDGsNrGlFFxaQbwRYBeocOHlxXQBEjfdKroQUkVfbYMupxxW5qm97XD3Rc7gRq4VT3PG9ilZCW-een5zjRLyc177FaNUDX/s1600/dynamicws1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="196" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTh7uupvTk06Xw8CbnmE__SknMS5V5mK5t5vitTMjFPWZoXHeDGsNrGlFFxaQbwRYBeocOHlxXQBEjfdKroQUkVfbYMupxxW5qm97XD3Rc7gRq4VT3PG9ilZCW-een5zjRLyc177FaNUDX/s640/dynamicws1.jpg" width="640" /></a></div>
<br />
<br />
<br />
- Right click on the MyWebService.java --> Create Web Service<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl9q1Vi7Lr8uANhQyhu08k8taQHX0lCMz_jLgUYFqXxAvOxTMRs5eU_K6j9nsbd2pAsvgaPdTwPEDC0N1i50EdeHl8pjyryYNiUoRkt_3nPVLQUdHU1pPt0o3vnD8MHlHux5-CqYiObLxc/s1600/dynamicws2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl9q1Vi7Lr8uANhQyhu08k8taQHX0lCMz_jLgUYFqXxAvOxTMRs5eU_K6j9nsbd2pAsvgaPdTwPEDC0N1i50EdeHl8pjyryYNiUoRkt_3nPVLQUdHU1pPt0o3vnD8MHlHux5-CqYiObLxc/s400/dynamicws2.jpg" width="347" /></a></div>
<br />
- Go throw the opened wizard to create the web service. After finish creating the web service the application should be like:<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLYpZnDYtG7u3OkgFljuqzn7e4ZxiEUfmV-8l7zpRfgnHqZAcWm_mK9iQHwMviqDThqKS0K56y8DythRAGF7C8VPH8tLdP3P11h6MqFR75rUmDHZoEVgwSIgu6O_ZTgO2cski69B2exQqu/s1600/dynamicws3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLYpZnDYtG7u3OkgFljuqzn7e4ZxiEUfmV-8l7zpRfgnHqZAcWm_mK9iQHwMviqDThqKS0K56y8DythRAGF7C8VPH8tLdP3P11h6MqFR75rUmDHZoEVgwSIgu6O_ZTgO2cski69B2exQqu/s640/dynamicws3.jpg" width="640" /></a></div>
<br />
- Right click on the MyWebService.java --> Test Web Service<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4gELvAvRVwkCxxuFJjbBdYrYHCUCnx335o4Sk-XwfRkmGowAl5HDHrxyRY_Ucs0xc-bsbqF0O7_0cPEMzkpObMlHbIr4kLpeK1cDfYGE1eNeKJgsbUqrfEc300sL_yRUdHHh8O6HQjs_z/s1600/dynamicws4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="151" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4gELvAvRVwkCxxuFJjbBdYrYHCUCnx335o4Sk-XwfRkmGowAl5HDHrxyRY_Ucs0xc-bsbqF0O7_0cPEMzkpObMlHbIr4kLpeK1cDfYGE1eNeKJgsbUqrfEc300sL_yRUdHHh8O6HQjs_z/s320/dynamicws4.jpg" width="320" /></a></div>
<br />
<br />
Now the web service is running in my local machine with wsdl url<br />
<br />
http://localhost:7101/SimpleWebService-SimpleWS-context-root/MyWebServicePort?wsdl<br />
<br />
I will deploy it in another server and the web service wsdl url will be<br />
<br />
http://weblogic2:8000/SimpleWebService-SimpleWS-context-root/MyWebServicePort?wsdl<br />
<br />
- Now we finished creating Web Service and deployed it in 2 different environments with 2 different wsdl url.<br />
<br />
<br />
<b><u>2- Create a jar File for Calling The Web Service</u></b><br />
<br />
To call this web service in other applications like ADF application or Java Application you should create jar file and use this jar file on this application.<br />
<br />
- Create dummy application --> right click on the project --> New --> Web Service Client and Proxy<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjnpl1wj1MmXjC0kg1L5SgRRK4KnBGE7z38iTUkt50b3xeNf0eOEQaR6gzdncw7nK3IREdR2YMIydx_HmwS5LXp-EMIWTwdrHQgrOnTApx7xICIB6AV2mLxR0j17ksCnvsQs4b9UiWcPCN/s1600/dynamicws6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="273" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjnpl1wj1MmXjC0kg1L5SgRRK4KnBGE7z38iTUkt50b3xeNf0eOEQaR6gzdncw7nK3IREdR2YMIydx_HmwS5LXp-EMIWTwdrHQgrOnTApx7xICIB6AV2mLxR0j17ksCnvsQs4b9UiWcPCN/s400/dynamicws6.jpg" width="400" /></a></div>
<br />
- Enter any of the Web Service wsdl url (I will enter the local running web service wsdl url) then press Finish<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO6JltXMcT07Bo22892s_iGrm2eW0WVCk4eavhM0vWxX1KjV163AAKKzVPepetnJZXxZgK5rb1MZ53rAJfcbGFnfJD7_Qnrdabbhspbi6ayh-aGft5OeaU6h52mbMnDF2elqoEXphV-pkr/s1600/dynamicws7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO6JltXMcT07Bo22892s_iGrm2eW0WVCk4eavhM0vWxX1KjV163AAKKzVPepetnJZXxZgK5rb1MZ53rAJfcbGFnfJD7_Qnrdabbhspbi6ayh-aGft5OeaU6h52mbMnDF2elqoEXphV-pkr/s320/dynamicws7.jpg" width="320" /></a></div>
<br />
- The client class will open with code in case you want to test WS<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglJ3lWVtayDFMXYvRSK6LG5fCTn-dk6fA9SC-ZsylMnwf2MgJx97XUMDERfjUw3au7E983ePx19KWMmw9bifNLToen13mO3VwnXAaQU7JoNt1R4AunOxQWgaBNQM5GaveZ4Sh2i-HdV7vB/s1600/dynamicws8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="220" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglJ3lWVtayDFMXYvRSK6LG5fCTn-dk6fA9SC-ZsylMnwf2MgJx97XUMDERfjUw3au7E983ePx19KWMmw9bifNLToen13mO3VwnXAaQU7JoNt1R4AunOxQWgaBNQM5GaveZ4Sh2i-HdV7vB/s640/dynamicws8.jpg" width="640" /></a></div>
<br />
<br />
- To create the jar file, right click on the project --> Deploy -->MyWebService-Client<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4rSsShk-ef6hU3yYFMGqtg2FD1KV0yeKsY0F71_o3CFzOQSyS484As5uI2KUgp-tsl8FS_UV2yFmy7yhkSjPCNJZbawGk_XgbwVr8lJIflmX5Pa8_vHqLe8Ay-Uvy-7UJBQxKsk4ZfUvR/s1600/dynamicws9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4rSsShk-ef6hU3yYFMGqtg2FD1KV0yeKsY0F71_o3CFzOQSyS484As5uI2KUgp-tsl8FS_UV2yFmy7yhkSjPCNJZbawGk_XgbwVr8lJIflmX5Pa8_vHqLe8Ay-Uvy-7UJBQxKsk4ZfUvR/s400/dynamicws9.jpg" width="386" /></a></div>
<br />
- We will use the generated jar file on other application which will call this WS like ADF Application or any Java application<br />
<br />
<b><u>3- Call the The Web Service Programmatically With Dynamic WSDL URL</u></b><br />
<br />
- Create new custom application "e.g. CallWebServiceDynamically" with java class "e.g. CallWS.java"<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9HYzUJSUNrFHiwk2nZObwGeVd5J11GXt4FgWVHtVjCKi63gXd4_6N_uFU5T4Ig9IbqmwKXtlHNvdCXjdfJ5jGlWNg4IsS21HodJS8Tt9s7tmQsl_50YUKLxhdlKAA6ZisieHXu02DqIuu/s1600/dynamicws5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9HYzUJSUNrFHiwk2nZObwGeVd5J11GXt4FgWVHtVjCKi63gXd4_6N_uFU5T4Ig9IbqmwKXtlHNvdCXjdfJ5jGlWNg4IsS21HodJS8Tt9s7tmQsl_50YUKLxhdlKAA6ZisieHXu02DqIuu/s640/dynamicws5.jpg" width="640" /></a></div>
<br />
<br />
- Import jar file (which we created in the previous point) in the project<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiK9grzPJZZQAktRARHmWxi4OtVfTtgrx-X1570xPuCqRx7FFCGvr1PDYTVHE-X8uB4eIy79_4oy-ja9kfsMQSCQHLrpSvIM_unB_pYDKIBQL0D0lcInakqjzxd50Eot3n-XT6D3P4TbI9/s1600/dynamicws10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiK9grzPJZZQAktRARHmWxi4OtVfTtgrx-X1570xPuCqRx7FFCGvr1PDYTVHE-X8uB4eIy79_4oy-ja9kfsMQSCQHLrpSvIM_unB_pYDKIBQL0D0lcInakqjzxd50Eot3n-XT6D3P4TbI9/s640/dynamicws10.jpg" width="640" /></a></div>
<br />
- Inside CallWS class write main method with this code<br />
<br />
<script src="https://gist.github.com/anonymous/2114954388df7d41f92a.js"></script><br />
<br />
I will describe this code line by line:<br />
<br />
<span style="background-color: #cccccc;"> QName qname = new QName("http://simplews/", "MyWebService");</span><br />
<br />
QName will receive 2 parameters you can get these 2 parameters by running the Web Service WSDL in any browser and take the value of targetNamespace and name<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB4yA2N8hP_thmrc24F-FR10oBY3HPDEpbLAYDzBwZqzykCy9ABJOA4pFyU0bRi5XESE1OtrZz_mZzHW9yDBIkFmpXKFDV6_nVc9BjMR4QMIKaLwiUp8x6zYJ6pV9fSjFlN6V1XPD0uoMg/s1600/dynamicws11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB4yA2N8hP_thmrc24F-FR10oBY3HPDEpbLAYDzBwZqzykCy9ABJOA4pFyU0bRi5XESE1OtrZz_mZzHW9yDBIkFmpXKFDV6_nVc9BjMR4QMIKaLwiUp8x6zYJ6pV9fSjFlN6V1XPD0uoMg/s400/dynamicws11.jpg" width="400" /></a></div>
<br />
<br />
<span style="background-color: #cccccc;">URL wsdl1 = new URL("http://localhost:7101/SimpleWebService-SimpleWS-context-root/MyWebServicePort?wsdl");</span><br />
<br />
In this line you write the desired web service WSDL URL<br />
<span style="background-color: #cccccc;"><br /></span>
<span style="background-color: #cccccc;"> MyWebService_Service myWebService_Service = new MyWebService_Service(wsdl1, qname);</span><br />
<span style="background-color: #cccccc;"> MyWebService myWebService = myWebService_Service.getMyWebServicePort();</span><br />
<br />
These 2 lines you can get it from the dummy application client class (which generated when we try to generate jar file in the previous step)<br />
<br />
But the first line is bit different because it will accept the wsdl url and gname<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0jO8lZltNFp0yAns0AvEzyFROUDNFmDJ9YKH5r8XOnWXBtyIv2wjLqj6rYyV-LgP_LVX0Fm66qppLTZA3RXC4M_oxXSLAQy9xTC_SxysVgXax-acgGoumay8NHCAoDIt_zoW0NCLWEk7h/s1600/dynamicws12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0jO8lZltNFp0yAns0AvEzyFROUDNFmDJ9YKH5r8XOnWXBtyIv2wjLqj6rYyV-LgP_LVX0Fm66qppLTZA3RXC4M_oxXSLAQy9xTC_SxysVgXax-acgGoumay8NHCAoDIt_zoW0NCLWEk7h/s640/dynamicws12.jpg" width="640" /></a></div>
<br />
<br />
<span style="background-color: #cccccc;">System.out.println("Web Service Output= " + myWebService.sayHello("Sameh"));</span><br />
<br />
This is line for testing the Web Service and print the output on the log.<br />
<br />
- To run the test application Right click on the CallWS --> run<br />
You will find the web service output on the log<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjytlFll2ahjUntAHCqQRiddFkLZmE63wAgkBwodB8j88jVp4MLt92-mAOQuGAWMbSzLHhK_ttNRVHbixjUigFtkLx43hly9g7obWqtPTJy4u97ee_xsivwONP3lPQB1tUAUytmI9OxV31F/s1600/dynamicws13.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="468" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjytlFll2ahjUntAHCqQRiddFkLZmE63wAgkBwodB8j88jVp4MLt92-mAOQuGAWMbSzLHhK_ttNRVHbixjUigFtkLx43hly9g7obWqtPTJy4u97ee_xsivwONP3lPQB1tUAUytmI9OxV31F/s640/dynamicws13.jpg" width="640" /></a></div>
<br />
- Try to change the wsdl to point to the second deployed web service and run again<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKkWaHusgSIJdEiE6Ye3TqAxi5mNbsAJWDDI7Yq7H1O7vQy8u1ZF7krHZwqM1guS4Ahmk09xtR4PT4iFTygN3f8NSnt4dYUWALEA6oQBdw2HU7VDlz8qZ7XXiTvHd-egaByCR88COzbfn-/s1600/dynamicws14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="444" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKkWaHusgSIJdEiE6Ye3TqAxi5mNbsAJWDDI7Yq7H1O7vQy8u1ZF7krHZwqM1guS4Ahmk09xtR4PT4iFTygN3f8NSnt4dYUWALEA6oQBdw2HU7VDlz8qZ7XXiTvHd-egaByCR88COzbfn-/s640/dynamicws14.jpg" width="640" /></a></div>
<br />
<br />
You can download the sample examples from <a href="http://www.mediafire.com/download/p6a6z6u1vkywft8/DynamicWSDLExamples.rar" target="_blank">here</a><br />
<br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com7tag:blogger.com,1999:blog-7039183198232083459.post-69457448649996843112016-01-22T03:56:00.001-08:002016-01-22T06:12:44.107-08:00Open ADF Popup on The Top of The Screen<div dir="ltr" style="text-align: left;" trbidi="on">
In ADF if you open a popup, by default this popup will open in the center of the screen. Some customers want to open the popup in the top of the screen, in this case you can choose one component in the top and use align id hints before opening the popup but I see this way is not good because you may not find a suitable component for alignment.<br />
<br />
In this post I will show you how to use javascript function to put the popup in the top of the screen. In java function we will get the screen height and we will set the popup dialog margin by screen height divided by 2.<br />
<br />
Just call this function before opening the popup (may be in the popup fetch listener)<br />
<br />
<br />
<script src="https://gist.github.com/anonymous/0a8699f0cfb910a4acf6.js"></script>
<br />
Send the dialog id to this function and the dialog will be in the top of the screen.<br />
<br />
If dialog id ="id1" and you use page template with id ="pt1" so you should send "pt1:d1" to the function.<br />
<br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0tag:blogger.com,1999:blog-7039183198232083459.post-44421184787918466692015-12-30T06:10:00.001-08:002015-12-31T01:30:03.595-08:00Apply Dynamic JDBC in ADF Application (Step-by-Step)<div dir="ltr" style="text-align: left;" trbidi="on">
In some situations the business require that ADF application can connect to different database users depending on the login user. For example if user1 login, the ADF application will connect to database user hr/hr. If user2 login, the ADF application will connect to database user hr2/hr2.<br />
This is call Dynamic JDBC.<br />
<br />
In this <a href="http://www.oracle.com/technetwork/developer-tools/jdev/dynamicjdbchowto-101755.html" target="_blank">url</a> you can see how to apply this dynamic JDBC, but in my post I will simplify this url by creating a sample ADF application and go step by step for how to apply dynamic JDBC to this ADF application.<br />
<br />
I use JDeveloper 11.1.2.4.0.<br />
<br />
<b>Note:</b> From Step1 to Step5 it just steps for creating a simple ADF application. Applying the Dynamic JDBC to this simple application is starting from Step6.<br />
<br />
<b><u>Step1:</u></b><br />
Create a simple ADF Application connect to "hr" database, this application will contains only 1 ViewObject (Employees) and will contains 2 jspx pages (login.jspx and emp.jspx)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIg9k4Cv2ebzDZ_V5BattAf05t_awgB5YLasB4czZkwzXg27ips1-8DWIB3Ajmov5XEYimf-hTPBa9ePwEU3n9ykmjDSPTmiDz2yMS9ewJR0sE6SXrcpB_egtPhkeqUJcoS56Yq2inClA8/s1600/dy1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIg9k4Cv2ebzDZ_V5BattAf05t_awgB5YLasB4czZkwzXg27ips1-8DWIB3Ajmov5XEYimf-hTPBa9ePwEU3n9ykmjDSPTmiDz2yMS9ewJR0sE6SXrcpB_egtPhkeqUJcoS56Yq2inClA8/s320/dy1.jpg" width="160" /></a></div>
<br />
<b><br /></b>
<b><u>Step2:</u></b><br />
From faces-config.xml --> Navigation Rules define outcome to the two jspx pages.<br />
login.jspx---> login<br />
emp.jspx----> emp<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFjYYkAwdMeCEfFVtgfrWGO8sPUsQ_opTgfd1aRDgnQBkqCy6FdQdsggbe-p3XbP7BlR9bGqt-ZGoW-p9GFE8yHWpah0bz26yIJAUIrIyNaBGqLYqK61AsBT5vh57oOQjwFnlPaGcqfpcf/s1600/dy2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="118" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFjYYkAwdMeCEfFVtgfrWGO8sPUsQ_opTgfd1aRDgnQBkqCy6FdQdsggbe-p3XbP7BlR9bGqt-ZGoW-p9GFE8yHWpah0bz26yIJAUIrIyNaBGqLYqK61AsBT5vh57oOQjwFnlPaGcqfpcf/s320/dy2.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Step3:</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
- In the login.jspx page add two inputTexts (Username and Password) and one command button for login.</div>
<div class="separator" style="clear: both; text-align: left;">
- Bind Username inputText and Password inputText to the back bean.</div>
<div class="separator" style="clear: both; text-align: left;">
- Create action for the login command button to read the username and password then navigate to emp.jspx page.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<script src="https://gist.github.com/anonymous/e4c8bb5a2c739ead3497.js"></script></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Step4:</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
In the emp.jspx drag EmployeesView1 to the page and add logout link to the page </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha3YbJi4Y7gO3LrCU7zmDvsZjtApoaGG-Xmi03HUynkTzI1FkZqEC_iX2PCgCYo9oL7FBWUg-T1keFvLB-rhV9so-U2z6YIXqdJOBfGwqQzesNlVgXZXWUg9Du2xJrHgsFmNlGj0B1RsS1/s1600/dy3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="297" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha3YbJi4Y7gO3LrCU7zmDvsZjtApoaGG-Xmi03HUynkTzI1FkZqEC_iX2PCgCYo9oL7FBWUg-T1keFvLB-rhV9so-U2z6YIXqdJOBfGwqQzesNlVgXZXWUg9Du2xJrHgsFmNlGj0B1RsS1/s320/dy3.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The back bean should be:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<script src="https://gist.github.com/anonymous/cf0f866349ff96a4e493.js"></script></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<b><u>Step5:</u></b><br />
Run login.jspx page.<br />
<br />
Now we have created a simple ADF application and we will now apply dynamic jdbc to this application.<br />
<br />
<b><u>Step6:</u></b><br />
Open AppModule and set "Connection Type" to JDBC URL for both AppModuleShared and AppModuleLocal <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMTZ_xiF9GFsNWwY6xBGsb3XS7SKXdfg4rb0CGtjf-JKhi_ZmrIJlVPK2w1yq_PURPXCUbIhdxY8z3qg7CZNY27MrKQ1ViWle3qVWf7rT51DUilQ_Fzu24cWzRHcRR0uO-YSnCnMzB5tCI/s1600/dy4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMTZ_xiF9GFsNWwY6xBGsb3XS7SKXdfg4rb0CGtjf-JKhi_ZmrIJlVPK2w1yq_PURPXCUbIhdxY8z3qg7CZNY27MrKQ1ViWle3qVWf7rT51DUilQ_Fzu24cWzRHcRR0uO-YSnCnMzB5tCI/s320/dy4.jpg" width="296" /></a></div>
<br />
<br />
<b><u>Step7:</u></b><br />
<span style="font-family: Calibri, sans-serif;">In the login button action we will store username/password it in session.</span><br />
<span style="font-family: Calibri, sans-serif;">The login button action will be:</span><br />
<span style="font-family: Calibri, sans-serif;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><script src="https://gist.github.com/anonymous/1837fa5f5969a02eaf1a.js"></script></span><br />
<span style="font-family: Calibri, sans-serif;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><b><u>Step8:</u></b></span><br />
<span style="font-family: Calibri, sans-serif;">Create new Filter (DynamicJDBCBindingFilter.java)
extends ADFBindingFilter.</span><br />
<span style="font-family: Calibri, sans-serif;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><script src="https://gist.github.com/anonymous/02a505eeda86f439a3e0.js"></script></span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><b><u>Step9:</u></b></span></span><br />
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: EN-IE; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;">Create Class (</span><span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;">DynamicJDBCEnvInfoProvider) as</span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><script src="https://gist.github.com/anonymous/aa8950d4b10bb97dae9e.js"></script></span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><b><u>Step10:</u></b></span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;">Create Class (DynamicJDBCHttpSessionCookieImpl</span></span><span style="font-family: Calibri, sans-serif; font-size: 14.6667px;">) as</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 14.6667px;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><script src="https://gist.github.com/anonymous/75e0d62a2d4720a89607.js"></script></span></span><br />
<span style="font-family: Calibri, sans-serif; font-size: 14.6667px;"><br /></span>
<span style="font-family: Calibri, sans-serif; font-size: 14.6667px;"><b><u>Step11:</u></b> </span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;">Create Class (DynamicJDBCSessionCookieFactory) as</span></span><br />
<div>
<span style="font-family: Calibri, sans-serif; font-size: 14.6667px;"><br /></span></div>
<script src="https://gist.github.com/anonymous/150940e1219e094bfcd9.js"></script><br />
<br />
<b><u>Step12:</u></b><br />
<span style="font-family: Calibri, sans-serif;">In web.xml update adfBindings
and make it point to DynamicJDBCBindingFilter</span><br />
<span style="font-family: Calibri, sans-serif;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><script src="https://gist.github.com/anonymous/beb523611035b79d9359.js"></script></span><br />
<span style="font-family: Calibri, sans-serif;"><br /></span>
<span style="font-family: Calibri, sans-serif;">then </span><span style="font-family: Calibri, sans-serif; font-size: 11pt;">add filter mapping to
adfBindings filter</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 11pt;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><script src="https://gist.github.com/anonymous/feba45fcdcc7c5514092.js"></script></span></span><br />
<br />
<br />
<b><u>Step13:</u></b><br />
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: EN-IE; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;">In AppModule update jbo.ampool.sessioncookiefactoryclass
in AppModuleLocal and AppModuleShare to point to </span><span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;">DynamicJDBCSessionCookieFactory</span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEingkmL6sOpnc9v2Cx0CWL9RscirP2byUvXDHgp-XZNsySXPCNojL1Gl1RskXVcxgkg4t57yZfRv-Vz5ArmINkvtt5Al1KsT5C6xKeiakJxfN7IF8kXHhpNVBVxSN0Cp96Bng9kCoipAmqz/s1600/dy5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="263" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEingkmL6sOpnc9v2Cx0CWL9RscirP2byUvXDHgp-XZNsySXPCNojL1Gl1RskXVcxgkg4t57yZfRv-Vz5ArmINkvtt5Al1KsT5C6xKeiakJxfN7IF8kXHhpNVBVxSN0Cp96Bng9kCoipAmqz/s320/dy5.jpg" width="320" /></a></div>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span>
<br />
<b><u>Step14:</u></b><br />
<br />
Now run login.jspx and login with database username/password = hr/hr you will successfully login and get the data<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDvsImtx40zOfKT34f3Nk0kf42qkxpL4bnAniWJZxxuJ9bcWbtRyBJcXoAUV_c7NwyDti0UNvr6opl6UbVvecEAo4rWZS0Xo7VKRIoZ3afmAYUQ1yDcNCKhdVCUQydWjefQAzW8pDCX8gW/s1600/dy6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDvsImtx40zOfKT34f3Nk0kf42qkxpL4bnAniWJZxxuJ9bcWbtRyBJcXoAUV_c7NwyDti0UNvr6opl6UbVvecEAo4rWZS0Xo7VKRIoZ3afmAYUQ1yDcNCKhdVCUQydWjefQAzW8pDCX8gW/s320/dy6.jpg" width="320" /></a></div>
<br />
<br />
Logout then login again with wrong password as hr/hr1 you will get "Invalid username/password".<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje0qCouJkzUsWZOKbM1zkuf8khyphenhyphenAy8SbZB0M6worn_ah6iKZao67tWu-7PCx7ox0IHHpC2eQ506lcM2125MTPlBsO6zoajC-bInrJqGyNg0lKCHDaalxl3s910_pOQ8BchcdujDWBFRbsr/s1600/dy7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje0qCouJkzUsWZOKbM1zkuf8khyphenhyphenAy8SbZB0M6worn_ah6iKZao67tWu-7PCx7ox0IHHpC2eQ506lcM2125MTPlBsO6zoajC-bInrJqGyNg0lKCHDaalxl3s910_pOQ8BchcdujDWBFRbsr/s320/dy7.jpg" width="320" /></a></div>
<br />
<br />
<br />
<br />
You can download the sample application from <a href="http://www.mediafire.com/download/kx1a1bdfiwuuuu4/ADFDynamicJDBC.rar" target="_blank">here</a><br />
<br />
<br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com1tag:blogger.com,1999:blog-7039183198232083459.post-4844712282145939482015-12-29T06:43:00.004-08:002015-12-30T07:58:27.234-08:00Get JDeveloper and ADF Icons and Styles<div dir="ltr" style="text-align: left;" trbidi="on">
Some developers want to get some icons which used in ADF components or JDeveloper. Examples of these icons (edit icon, LOV icon, undo icon,...) or get some css files which used for styling.<br />
<br />
You can find these icons and css files on the jar file <b>adf-richclient-impl-11.jar</b><br />
<b><br /></b>
You can find this jar in the path like:<br />
<br />
<b>C:\Oracle\Middleware\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6-yItTxxMbLIEk0DyK7I4_df1HTlIsNR85DtjIiW6O-4I4eKEewLCaasS4zQmQegDeJmbUzHUqrUupxloqAr6_H3R7KuUwf3zBbudsZTSXGFJLJy63IsFLtMJl1r6F1Yem-0h5c1P8mB8/s1600/icon1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6-yItTxxMbLIEk0DyK7I4_df1HTlIsNR85DtjIiW6O-4I4eKEewLCaasS4zQmQegDeJmbUzHUqrUupxloqAr6_H3R7KuUwf3zBbudsZTSXGFJLJy63IsFLtMJl1r6F1Yem-0h5c1P8mB8/s320/icon1.jpg" width="320" /></a></div>
<br />
<br />
<br />
You can extract this jar file then open <b>"adf"</b> folder and you will find 2 folders:<br />
<br />
1- "images" this folder will store icons.<br />
2- "styles" this folder will store css files.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19LCYkSoN2P0Ui-l6MB16vKzeCOTx61pkal-WV4TV15Uj67AKP3WghR4KuF7pzm8OxbRs63qRVyuPEecx5bMBeVbsg7BEfzHw-fOkCUTh8VpTilUbb5U1EBOlOGBL7kZBhY4FEAmXLGxJ/s1600/icon2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="66" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19LCYkSoN2P0Ui-l6MB16vKzeCOTx61pkal-WV4TV15Uj67AKP3WghR4KuF7pzm8OxbRs63qRVyuPEecx5bMBeVbsg7BEfzHw-fOkCUTh8VpTilUbb5U1EBOlOGBL7kZBhY4FEAmXLGxJ/s320/icon2.jpg" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0tag:blogger.com,1999:blog-7039183198232083459.post-30522543018930007932015-12-11T09:00:00.001-08:002015-12-31T01:47:20.085-08:00ADF Table Filter Case Insensitive and Search by Contains Instead of Start With<div dir="ltr" style="text-align: left;" trbidi="on">
In ADF table if you enable column filter this filter by default will search by "start with" and it will be case sensitive . For example in table employees if you have employee name = Hermann and you try to search by "man", the search will return no result<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiagOE7pSanCZTt6FuCuP2DNSR9fMbNXt48GGV1_Gh6oUvjZiLjxyr2A7WBL1DLTS3_dv69Xbp1sko1ow6qd05QVLVraW5mHPcaphGjfjOSxpY1LZZOxXkXagCxoxBNNyBzib50Zd8SPtaV/s1600/empfilter1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="46" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiagOE7pSanCZTt6FuCuP2DNSR9fMbNXt48GGV1_Gh6oUvjZiLjxyr2A7WBL1DLTS3_dv69Xbp1sko1ow6qd05QVLVraW5mHPcaphGjfjOSxpY1LZZOxXkXagCxoxBNNyBzib50Zd8SPtaV/s400/empfilter1.jpg" width="400" /></a></div>
<br />
but if you search by "Herm" it will return result<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHXf6Tyis8Gfc7wXGiiKXrb3F-96NlREdA1CZAyHNYhh0JSrDF_tNXS-wt7hwwZOd2TgO2ev-S9IUZbP796HQLr-urJo804N26YnhtkChfyYaIzBzmD4hxhcAM9b79y7_wn1cSoVpjFaDT/s1600/empfilter2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="65" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHXf6Tyis8Gfc7wXGiiKXrb3F-96NlREdA1CZAyHNYhh0JSrDF_tNXS-wt7hwwZOd2TgO2ev-S9IUZbP796HQLr-urJo804N26YnhtkChfyYaIzBzmD4hxhcAM9b79y7_wn1cSoVpjFaDT/s400/empfilter2.jpg" width="400" /></a></div>
<br />
If you try to search by "herm" it will return no result.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVVp9MmsbjaFxpTi2WQtTb8DHvHPf62-iQSjYbuqeIujwg1ZgM6od4D7cXrY0b2SNwemneCzjHJ0pKEW1nEGmVY7E9PRjohruWpGMcCTZHccOL_lNnzWooggJj69R7qpzobYmrfZsMlqNl/s1600/empfilter8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="46" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVVp9MmsbjaFxpTi2WQtTb8DHvHPf62-iQSjYbuqeIujwg1ZgM6od4D7cXrY0b2SNwemneCzjHJ0pKEW1nEGmVY7E9PRjohruWpGMcCTZHccOL_lNnzWooggJj69R7qpzobYmrfZsMlqNl/s400/empfilter8.jpg" width="400" /></a></div>
<br />
<br />
This is because the filter by default is case sensitive and will search by start with.<br />
<br />
In many cases we need the all tables filters be case insensitive and search by contains not start with. You can search by case insensitive by setting filterFeatures="caseInsensitive" for each af:column but you need to do this in all af:column in your application and it will not be a proper solution.<br />
<br />
You can search with contains by typing your string between '%', but we need something to be more easy than typing %.<br />
<br />
To make the the ADF table filter be case insensitive and search by contains follow these steps:<br />
<br />
1- In model project create new class "CustomViewImpl" this class should extend oracle.jbo.server.ViewObjectImpl<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL4fURRU0V5tuaCDP0upR6OcbEaIz5jV6sfSdusCb6hZDS6xwwbSIQiHBiN2ADwrrMRJ7fU_JtJTeVG739MVWa-bQtp6cMmewGk2tetyT2oHE1giQ58jgjWJUgJA7qcqbUj6FfldWbEhXV/s1600/empfilter3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="146" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL4fURRU0V5tuaCDP0upR6OcbEaIz5jV6sfSdusCb6hZDS6xwwbSIQiHBiN2ADwrrMRJ7fU_JtJTeVG739MVWa-bQtp6cMmewGk2tetyT2oHE1giQ58jgjWJUgJA7qcqbUj6FfldWbEhXV/s400/empfilter3.jpg" width="400" /></a></div>
<br />
2- In this class override getCriteriaItemClause(ViewCriteriaItem viewCriteriaItem) and write this code:<br />
<br />
<script src="https://gist.github.com/anonymous/84635b0507783ca4f5a2.js"></script><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLjM_A3cqbT7ptQvsWevIUoFmP52BbEbVl0AGeLx_uqIKTJ81j_M7pX2HcI6aPhdyWTsxS3fyGbT2ye-VFPIBQzuyPOPIP8hsha1Mvz-Fhz_pFjux0Z-NFGU_hCg3KAOcfdJoiKvb0lLCO/s1600/empfilter4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLjM_A3cqbT7ptQvsWevIUoFmP52BbEbVl0AGeLx_uqIKTJ81j_M7pX2HcI6aPhdyWTsxS3fyGbT2ye-VFPIBQzuyPOPIP8hsha1Mvz-Fhz_pFjux0Z-NFGU_hCg3KAOcfdJoiKvb0lLCO/s400/empfilter4.jpg" width="400" /></a></div>
<br />
3- Go to Model --> Project Properties --> ADF Business Components --> Base Classes --> View Object --> change Object to point to your CustomViewImpl class<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKfrik_834vC1vbVCksO7NkmmZQEAIpp7dUtDMSAnLbK8QY8LMD_FDMS_d8laTnk55jISU4FtUvMFHgori8k1_Qye-TkHQgAQ-KkqV59bd0eMG9xVPDK2ir8lXhaUgvzVWR8WoGtnLWXmk/s1600/empfilter5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKfrik_834vC1vbVCksO7NkmmZQEAIpp7dUtDMSAnLbK8QY8LMD_FDMS_d8laTnk55jISU4FtUvMFHgori8k1_Qye-TkHQgAQ-KkqV59bd0eMG9xVPDK2ir8lXhaUgvzVWR8WoGtnLWXmk/s400/empfilter5.jpg" width="400" /></a></div>
<br />
4- Open ViewObject --> Java --> Java Classes --> Generate View Object Class<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrWNPUKXZ9ccP1Nm60XjL_b4feZ6_zleMZiH-_-MTUpUwKIUb4ktPNnV98UsAYohMWTp0DCsMTWw0ic0UmZVj6dbxf5uutcDF_F-xPt7NukRheHMb5_27uXbE61vyghAY3OMTEU7Bo8y7i/s1600/empfilter6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrWNPUKXZ9ccP1Nm60XjL_b4feZ6_zleMZiH-_-MTUpUwKIUb4ktPNnV98UsAYohMWTp0DCsMTWw0ic0UmZVj6dbxf5uutcDF_F-xPt7NukRheHMb5_27uXbE61vyghAY3OMTEU7Bo8y7i/s400/empfilter6.jpg" width="400" /></a></div>
<br />
5- If you open the generated ViewImpl class you will find it extend the CustomViewImpl class<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMlzYl0_XpjCJdxmBye0hfZWsM7wAJ7oqMNLTtmMzcpg-7h4U79NHWBx9W3WsUBkQjaad8AtyaVXQFo3VOrLXkkcPYHvjozNkf2eRL3PgKul0w0IIS8R1OuS6hmYPBNssa7QyZTLsEYd8J/s1600/empfilter7.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMlzYl0_XpjCJdxmBye0hfZWsM7wAJ7oqMNLTtmMzcpg-7h4U79NHWBx9W3WsUBkQjaad8AtyaVXQFo3VOrLXkkcPYHvjozNkf2eRL3PgKul0w0IIS8R1OuS6hmYPBNssa7QyZTLsEYd8J/s400/empfilter7.jpg" width="400" /></a></div>
<br />
6- Run the application and test.<br />
<br />
You can download the sample application from <a href="http://www.mediafire.com/download/kxtbtb116f6cfma/TableFilterConfiguration.rar" target="_blank">here</a><br />
<br />
(This sample developed in JDev 11.1.2.4.0)<br />
<br />
<br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com6tag:blogger.com,1999:blog-7039183198232083459.post-42636797928749824612015-11-23T01:55:00.002-08:002015-11-23T02:03:46.419-08:00Call Restful Web Service from JAVA programmatically<div dir="ltr" style="text-align: left;" trbidi="on">
In my previous <a href="http://sameh-nassar.blogspot.ie/2015/05/create-restful-web-service-in.html" target="_blank">post</a> I have shown how you can create a Restful web service, in this post I will show how you can call this web service programmatically.<br />
<br />
Before start you should download the sample web service from <a href="http://www.mediafire.com/download/g2ltcqg4efdev3x/RestfulApplication.rar" target="_blank">here</a> and run the web service.<br />
<br />
Follow These Steps to call the web service:<br />
<br />
<b>1- From JDeveloper create new custom application</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFZgcNaEW1RsPhYPvP5l9nG6zQkS5o3bVnBnjuHrA_8q2y4Kpr94gpEGL6-T21OM9CxyMlt5McrqPGtHbcKCx25sQHrOHuifLcSv35m2X_nj_uroKpoA-PiNmmswcHlllunl8hfT3FBgdt/s1600/callws1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="255" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFZgcNaEW1RsPhYPvP5l9nG6zQkS5o3bVnBnjuHrA_8q2y4Kpr94gpEGL6-T21OM9CxyMlt5McrqPGtHbcKCx25sQHrOHuifLcSv35m2X_nj_uroKpoA-PiNmmswcHlllunl8hfT3FBgdt/s320/callws1.jpg" width="320" /></a></div>
<br />
<br />
For example, Application Name: CallRestfullWSProgrammatically<br />
<br />
<b>2- In this application create new class</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlzn1YiSUVVwtq4Jk3AvWx9qj2_LPxdHjLSTepjgp5y3Wcbh7-GyJf_9J_okajQSjWUJ0F5FY4HpXgPtku4NPoRESqJMFaBvfs0QmXfQtOHzjYwTbd4h0z5yNS2Pw2qD4cNThWTFJCc1Qo/s1600/callws2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="93" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlzn1YiSUVVwtq4Jk3AvWx9qj2_LPxdHjLSTepjgp5y3Wcbh7-GyJf_9J_okajQSjWUJ0F5FY4HpXgPtku4NPoRESqJMFaBvfs0QmXfQtOHzjYwTbd4h0z5yNS2Pw2qD4cNThWTFJCc1Qo/s320/callws2.jpg" width="320" /></a></div>
<br />
<br />
<br />
For example, Class Name : CallRestfulWS.java<br />
<br />
<b>3- In the project properties add 2 libraries</b><br />
<br />
- jersey-client-1.18.jar<br />
- jersey-core-1.18.jar<br />
<br />
You can get these jar files from the uploaded sample application<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9lkAKw5T-PIn1mmgALvYXLv-o1zFV5pq45FM1foAHaXDeMe_PAIVTjVcQaRPFaGqbiPFlI7H7KfLWbq0l4ce2ZoX4s_GRfWmiWlZQXG-723PUbU-ZM_RaISPOdmFyOPW9pemuWd2rb1Im/s1600/callws4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9lkAKw5T-PIn1mmgALvYXLv-o1zFV5pq45FM1foAHaXDeMe_PAIVTjVcQaRPFaGqbiPFlI7H7KfLWbq0l4ce2ZoX4s_GRfWmiWlZQXG-723PUbU-ZM_RaISPOdmFyOPW9pemuWd2rb1Im/s320/callws4.jpg" width="320" /></a></div>
<br />
<br />
<b>4- Write this code for the main method</b><br />
<br />
<script src="https://gist.github.com/anonymous/f274e6d7c579a79d77b5.js"></script><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGKFBMdUdiT43au5GP1DGJZQyg1B7gF9Tfe8c32_QPd02PBxmfgsUhVlRVL9vVNM-poEWH_ITlIpV2guZVXaw3T8XKBtljoIPNJ_xDUgGmyNHWO3p9VA6gziUnT8CtUOAHvFZmNBPZTb8z/s1600/callws3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGKFBMdUdiT43au5GP1DGJZQyg1B7gF9Tfe8c32_QPd02PBxmfgsUhVlRVL9vVNM-poEWH_ITlIpV2guZVXaw3T8XKBtljoIPNJ_xDUgGmyNHWO3p9VA6gziUnT8CtUOAHvFZmNBPZTb8z/s320/callws3.jpg" width="320" /></a></div>
<br />
<br />
<b>5- Run the main method (Right Click ---> Run)</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7YsPTGWAV8RcP4ZWDshf39_gOEP-Qj09BTHsNhfmY0WJnL7SwsziLiV_2Rk36NhuWaCRDr8802nao0WjO18qHQZkedb2HRkpxuNku6a5H1NxbmLXFWYoIzQZ-0mNzlPk9AEF9LYkIJVIR/s1600/callws5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="59" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7YsPTGWAV8RcP4ZWDshf39_gOEP-Qj09BTHsNhfmY0WJnL7SwsziLiV_2Rk36NhuWaCRDr8802nao0WjO18qHQZkedb2HRkpxuNku6a5H1NxbmLXFWYoIzQZ-0mNzlPk9AEF9LYkIJVIR/s320/callws5.jpg" width="320" /></a></div>
<br />
<br />
<br />
Download the sample application (done using JDev 11.1.2.4.0) from <a href="http://www.mediafire.com/download/nky1sw07vz8aa32/CallRestfullWSProgrammatically.rar" target="_blank">here</a><br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0tag:blogger.com,1999:blog-7039183198232083459.post-17769074495121277902015-07-30T02:59:00.001-07:002017-03-24T08:36:14.479-07:00Control ADF application Passivation Mode<div dir="ltr" style="text-align: left;" trbidi="on">
In your ADF application you can set the session timeout of the application according to customer requirement.<br />
If one of the customer want the application to be active for 3 hours what you will do?<br />
The first thing you will think about is the session parameter (and you are right), you will open web.xml and set session timeout to 180<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNH8YZIHpHCG8nR52g-cOxRQgrSULg7zgLs0KSKGD_Fi7lQFRu1K5-wEeyO9A_eqDlecY0HSPFLcz5gGGxWzHKVHqskvzoz8Dri8NPrmJRt2SW96FV0LerkGw_YpwJPWcS0UQUwQIB7a_n/s1600/session1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNH8YZIHpHCG8nR52g-cOxRQgrSULg7zgLs0KSKGD_Fi7lQFRu1K5-wEeyO9A_eqDlecY0HSPFLcz5gGGxWzHKVHqskvzoz8Dri8NPrmJRt2SW96FV0LerkGw_YpwJPWcS0UQUwQIB7a_n/s320/session1.png" width="320" /></a></div>
<br />
After setting the session timeout parameter you will deploy the application and the customer will test the application. Customer will login and will leave the application idle for 2 hours and will return back to the application he will find the session still active and it is ok. After the user try to use the application he will find the application will be in unexpected behavior and he will get some errors and he will find a lot of issues in the application.. why this issues happened?<br />
because the application entered to the passivation mode.<br />
Now you will ask me some questions like:<br />
1- What is the passivation mode?<br />
2- When the application will entered in the passivation mode?<br />
3- What I have to do when the application become in passivation mode?<br />
4- How can I test my application in passivation mode to test the application behavior in that mode?<br />
5- How can I control the time that make the application to be in the passivation mode?<br />
6- How can I configure my application to avoid the passivation mode?<br />
<br />
I will answer all these questions:<br />
<br />
<b>1- What is the passivation mode?</b><br />
In short description passivation mode will manage system resources. If you leave the application idle for along time the resources (database pool - memories - .. ) may gone to another active application and in this case your application will be in the passivation mode.<br />
You can check <a href="https://blogs.oracle.com/fadevrel/entry/fusion_concepts_introduction_to_passivation" target="_blank">this</a> for more information about passivation<br />
<br />
<b>2- When the application will entered in the passivation mode?</b><br />
By default after you leave the application 1 hour the application will enter to passivation mode. or passivation can happens under high loads<br />
<br />
<b>3- What I have to do when the application become in passivation mode?</b><br />
logout from the application and login again.<br />
<br />
<b>4- How can I test my application in passivation mode to test the application behavior in that mode?</b><br />
Open AppModule and uncheck "Enable Application Module Pooling" for both local and shares then run the application.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCfG_t10EFY-kHCQfSwgovemasXCmQelfSNW6b3vZJl3hKYCvE1RNRqcBVc4pqrKvlarSsbR0xIgffJ4C3418xCWx2nnnxIh3fpXYoGCrRISYOI97M7sEQ8G6LoJIcOrbj-yt3UiCk4Ix1/s1600/session2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCfG_t10EFY-kHCQfSwgovemasXCmQelfSNW6b3vZJl3hKYCvE1RNRqcBVc4pqrKvlarSsbR0xIgffJ4C3418xCWx2nnnxIh3fpXYoGCrRISYOI97M7sEQ8G6LoJIcOrbj-yt3UiCk4Ix1/s320/session2.png" width="297" /></a></div>
<br />
<br />
<b>5- How can I control the time that make the application to be in the passivation mode?</b><br />
In the AppModule there is 2 parameters you have to set<br />
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; text-align: left; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><i>jbo.ampool.maxinactiveage</i></span><span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> and </span><span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><i>jbo.ampool.timetolive</i></span></div>
<div style="background-color: white; border: 0px; line-height: 17.7273px; padding: 0px; text-align: left; vertical-align: baseline;">
<div style="color: #3d3d3d; font-family: "helvetica neue", helvetica, arial, "lucida grande", sans-serif; font-size: 13px;">
<br /></div>
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px;">
<strong>jbo.ampool.timetolive=-1</strong></div>
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px;">
<strong>jbo.ampool.maxinactiveage=<</strong><span style="font-size: 12.7272720336914px;"><strong>ridiculously large number> </strong></span></div>
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px;">
<span style="font-size: 12.7272720336914px;"><strong><br /></strong></span></div>
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px;">
<span style="font-size: 12.7272720336914px;"><strong>For better performance you can set these to paramaters as well</strong></span></div>
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px;">
<span style="font-size: 12.7272720336914px;"><strong>jbo.doconnectionpooling=true</strong></span></div>
<div style="color: #3d3d3d; font-family: "helvetica neue", helvetica, arial, "lucida grande", sans-serif; font-size: 13px;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></span></div>
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px;">
<span style="color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><strong>jbo.txn.disconnect_level = 1</strong></span></div>
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px;">
<span style="color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><strong><br /></strong></span></div>
<span style="color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13px;"><strong>as mentioned <a href="http://andrejusb.blogspot.ie/2011/11/stress-testing-oracle-adf-bc_16.html" target="_blank">here</a></strong></span><br />
<span style="color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13px;"><strong><br /></strong></span>
<span style="color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13px;"><strong><br /></strong></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; text-align: left; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><i>e.g:</i></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">jbo.ampool.maxinactiveage=18000000</span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">jbo.ampool.timetolive=-1</span><br />
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif;">
<span style="font-size: 12.7273px;">jbo.doconnectionpooling=true</span></div>
<span style="border: 0px; font-family: inherit; font-size: 13.3333px; margin: 0px; padding: 0px; vertical-align: baseline;"></span><br />
<span style="border: 0px; font-family: inherit; font-size: 13.3333px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></span><br />
<div style="color: #222222; font-family: Arial, Helvetica, sans-serif;">
<span style="color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">jbo.txn.disconnect_level = 1</span></div>
</div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><br /></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">time in maxinactiveage will be in ms so 18000000 is 5 hours.</span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">These previous configurations means the application will enter the passivation mode after 5 hours.</span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0gpMe988t0PdDy5_M2rVRHoKCl0CZtqxQLla3REvEXAKtfcpSRbCYfejEABRNaN_XuZ-AmBBjiuPSl3z7beEuwPjFN1QsOA0oMjpl_FJ84OAb_MN0h4wTa0CH-NhxlwRjN137-RdhoghL/s1600/session3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0gpMe988t0PdDy5_M2rVRHoKCl0CZtqxQLla3REvEXAKtfcpSRbCYfejEABRNaN_XuZ-AmBBjiuPSl3z7beEuwPjFN1QsOA0oMjpl_FJ84OAb_MN0h4wTa0CH-NhxlwRjN137-RdhoghL/s320/session3.png" width="297" /></a></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><br /></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><br /></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<b><span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">6- </span><span style="background-color: transparent;">How can I configure my application to avoid the passivation mode?</span></b></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="background-color: transparent;">To avoid passivation mode you have to set the session timeout with value less than the passivation value.</span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="background-color: transparent;">e.g </span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="background-color: transparent;"><br /></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="background-color: transparent;">If the customer want the application to be active for 3 hours you can set session timeout to 180 (3 hours) and set passivation parameters to be 4 hours</span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="background-color: transparent;"><br /></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">jbo.ampool.maxinactiveage=14400000</span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></span></div>
<div style="background-color: white; border: 0px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 17.7272720336914px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">jbo.ampool.timetolive=-1</span></div>
</div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com2tag:blogger.com,1999:blog-7039183198232083459.post-43518433526341090402015-06-04T08:31:00.001-07:002016-04-26T16:39:02.866-07:00Call Secure SOAP Web Service In ADF Application Using DataControl<div dir="ltr" style="text-align: left;" trbidi="on">
In this post I will explain how in ADF application you can call secured Web Service where this web service is secured by username token.<br />
<br />
Assume you have the WSDL URL of SOAP Web Service like this:<br />
<br />
http://serverIp:port/myws/MyWSPort?WSDL<br />
<br />
In My Example the wsdl is:<br />
<br />
http://192.168.1.39:8000/corews/CAPISalesOrderWebSPort?WSDL<br />
<br />
You can run this url in the browser to be sure that web service is running and secured by username token as:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHS3TpY2m_rpt5L5tNJQn7bdMUW4wAGhmFSkYmTQEqV8UeUjhd41yHq5KA5Ki90iWrBHTSEL5sIvYgHEJ5ummT-heGwHKUa9q6rgDYGwvU5kB_65wkt1xZOIZjo4UK-7L8opk7v1W-ybXC/s1600/ws1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="73" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHS3TpY2m_rpt5L5tNJQn7bdMUW4wAGhmFSkYmTQEqV8UeUjhd41yHq5KA5Ki90iWrBHTSEL5sIvYgHEJ5ummT-heGwHKUa9q6rgDYGwvU5kB_65wkt1xZOIZjo4UK-7L8opk7v1W-ybXC/s320/ws1.bmp" width="320" /></a></div>
<br />
<br />
- In the server which the web service was deployed in, open the console -->Security Realms --> myrealm --> users<br />
<br />
create user. for example username= wsuser and password=ws123456<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcZq8n7vNEOdsUik3a7M5cR48PVxtoB3wwhneF6k9iouwLXJSly1WT4wN_fMoW_eDRkxk90oL07ps9cd6iPSaiiiJi8IoCr09CgNU28FG0k2gt8UfJFhQdScsXErVvMs4dpAAbgWQYr5lV/s1600/ws4.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcZq8n7vNEOdsUik3a7M5cR48PVxtoB3wwhneF6k9iouwLXJSly1WT4wN_fMoW_eDRkxk90oL07ps9cd6iPSaiiiJi8IoCr09CgNU28FG0k2gt8UfJFhQdScsXErVvMs4dpAAbgWQYr5lV/s320/ws4.bmp" width="320" /></a></div>
<br />
<br />
This user will be used when we call Web Service<br />
<br />
- Now make ADF application and from ViewController project right click --> New --> Web Service Data Control<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhklhL95MU245d3Pq2RJeE9NqcW81rSbUrb6oVYNPxuyY9jYWfUrMRkj-KP1O33GsRxb8wWVEfsCqIz6UnPyRi44NLa8yFd0Uyn28lp1FCfrfUSZJ-A_HbnONeCQ7-W5Qt1tEQh1cwCg3ti/s1600/ws2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhklhL95MU245d3Pq2RJeE9NqcW81rSbUrb6oVYNPxuyY9jYWfUrMRkj-KP1O33GsRxb8wWVEfsCqIz6UnPyRi44NLa8yFd0Uyn28lp1FCfrfUSZJ-A_HbnONeCQ7-W5Qt1tEQh1cwCg3ti/s320/ws2.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- Enter Data Control name and web service wsdl url</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSxzTne-ycfXOW0U0tBq7uVoXmH1-pzs00FeBhk4L_25JbvVzgI24TJTd3dxKGc1JobyPQdSvjKsRGfbWtOWc3BNby2miEnWJ5Y3c6KMGA7IkPKruESqi1DsBF-Bcaae-LASVbgek-AJiM/s1600/ws3.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="234" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSxzTne-ycfXOW0U0tBq7uVoXmH1-pzs00FeBhk4L_25JbvVzgI24TJTd3dxKGc1JobyPQdSvjKsRGfbWtOWc3BNby2miEnWJ5Y3c6KMGA7IkPKruESqi1DsBF-Bcaae-LASVbgek-AJiM/s320/ws3.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- Select the function which you want to use from web service</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOWsmNqKFE9NSeiBAoQ74FOWQlGp61iBjzU1HFPWDtbFz-fV75Y0G159mABvwvj7zzjlKKfArl4SrBJnh3UTJKelt5khjrYq37-CGKsqOmGYR43xPRhAoIfuDbLCaw_l7q5btxlHpUa_JF/s1600/ws5.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="237" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOWsmNqKFE9NSeiBAoQ74FOWQlGp61iBjzU1HFPWDtbFz-fV75Y0G159mABvwvj7zzjlKKfArl4SrBJnh3UTJKelt5khjrYq37-CGKsqOmGYR43xPRhAoIfuDbLCaw_l7q5btxlHpUa_JF/s320/ws5.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- In Endpoint Authentication step select web service port and enter username and password (in our example username=wsuser - password = ws123456)</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwcGhKCTTHZbIHS_TqSGJyp3tBK_thxWc4UDsuL3y7fooDJsXBZ9htwruS10NeSzy0duPTCOlZ6xw9iRC4thdFy64_HzWUakyZKi6ukrtxPCAuSbPayM-veMOdth-NnI_8Up3q3c5GMhQm/s1600/ws6.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwcGhKCTTHZbIHS_TqSGJyp3tBK_thxWc4UDsuL3y7fooDJsXBZ9htwruS10NeSzy0duPTCOlZ6xw9iRC4thdFy64_HzWUakyZKi6ukrtxPCAuSbPayM-veMOdth-NnI_8Up3q3c5GMhQm/s320/ws6.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- Press Finish.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- After finishing the new data control will created select it and go to structure window --> right click on the data control --> Define Web Service Security</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhTxkccdYbMoz5yErhvR34u_LA4R6vPHPsKrxM0ucoaNNBE21HUPQciGSJJXAXkJD3Y_HzaoztllJWwDQPDm8NWGoWx6x9JzO_zTr1lB02XsqEAZbC5IZHjlqYqDWjaNve07tcdBdxC7w/s1600/ws7.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="157" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhTxkccdYbMoz5yErhvR34u_LA4R6vPHPsKrxM0ucoaNNBE21HUPQciGSJJXAXkJD3Y_HzaoztllJWwDQPDm8NWGoWx6x9JzO_zTr1lB02XsqEAZbC5IZHjlqYqDWjaNve07tcdBdxC7w/s320/ws7.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- From the security list check on " oracle/wss_username_token_client_policy" then press "OK"</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT2qkOupceNtWM2iQNKz5IYZVhl4V54El1BajEOAK8MVQH2b5hm0cFztWi40iicr1vIr3Kyueoi4CaHNeb7VNFsM1ksk0iburZDyJgJxPpILu9mj7LAhZX_585ocXpyC-angYr_MTVe262/s1600/ws8.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="268" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT2qkOupceNtWM2iQNKz5IYZVhl4V54El1BajEOAK8MVQH2b5hm0cFztWi40iicr1vIr3Kyueoi4CaHNeb7VNFsM1ksk0iburZDyJgJxPpILu9mj7LAhZX_585ocXpyC-angYr_MTVe262/s320/ws8.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- In adf application create new .jspx page and from Data Control drag web service function and drop it in the page</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpn29vehXmo4iNLzQaNyONRJcqXJxzuoP7fDcsrKj3h6GjZI4r5GO2eHItl-HJ_CI2UY-mUGF_q40T6L0-3dmP9pQA4bPxPac5cWsBNSWadS26_KlDhNHuoEwqgI_oze8rJV3S3s-JUWoK/s1600/ws9.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpn29vehXmo4iNLzQaNyONRJcqXJxzuoP7fDcsrKj3h6GjZI4r5GO2eHItl-HJ_CI2UY-mUGF_q40T6L0-3dmP9pQA4bPxPac5cWsBNSWadS26_KlDhNHuoEwqgI_oze8rJV3S3s-JUWoK/s320/ws9.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- Drag web service output and drop it in the page as ADF Output Text</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Kaa-S5RllCMYEEQnISHjnWgq7dBnZO_OY0pxGHWrXobWSPt6SUuZU9OBaSAdiW737r-RN-AxREMrInR0Fp6PLAZ6Z_yKsbWVWurodyaZCJ7493q9oFmcAtrz2fRzdVLVkwlHaY0Qpa20/s1600/ws10.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="201" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Kaa-S5RllCMYEEQnISHjnWgq7dBnZO_OY0pxGHWrXobWSPt6SUuZU9OBaSAdiW737r-RN-AxREMrInR0Fp6PLAZ6Z_yKsbWVWurodyaZCJ7493q9oFmcAtrz2fRzdVLVkwlHaY0Qpa20/s320/ws10.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
- Run ADF page.</div>
<div class="separator" style="clear: both; text-align: left;">
- Enter web service parameter then press the button you will get the web service output.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGzvPV6iHxPt-vmGUxvYWQZe58Eut11qpxzvEJaYYfW6qHWO4mijrCetRCwkspJUJUnuBZwrZgvAjpo5vn00LC-iHy9SviVRzCX_6VQfbyPtq8287czRarajS8lwkPpfOIb7CPLLiUTudz/s1600/ws11.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="78" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGzvPV6iHxPt-vmGUxvYWQZe58Eut11qpxzvEJaYYfW6qHWO4mijrCetRCwkspJUJUnuBZwrZgvAjpo5vn00LC-iHy9SviVRzCX_6VQfbyPtq8287czRarajS8lwkPpfOIb7CPLLiUTudz/s320/ws11.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
</div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com12tag:blogger.com,1999:blog-7039183198232083459.post-16053490740262381142015-05-20T03:33:00.002-07:002015-05-20T08:54:45.239-07:00ADF Custom Security <div dir="ltr" style="text-align: left;" trbidi="on">
In this post I will explain how to use custom security in ADF application without using ADF security.<br />
When you develop ADF application and want to deploy it in Glassfish or tomcat using adf-essentials you will find a problem with ADF security, in this case you have to find a new way to apply the security in your ADF application. In this post I will explain how to use java filter to apply security in ADF application. User information and user privileges will stored in database and after user enter username and password you have to check if it is correct or not from database and store user information and user privileges in a variables in session scope.<br />
<br />
Follow this steps to apply custom security in your ADF application:<br />
<br />
1- Make new ADF application (e.g ADFCustomSecurity).<br />
2- Go to ViewController project property and set JavaEE Application and JavaEE web context root to a short name like(welcome)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivcJvael6pxqDCySSpI9zI29QLEwIQm0Fi_PpqvjAfZz8W7QOi994K4AOLgJZJxV2QiID9i5h9qCCI3gC3xhJ6ZoijK2fM38U0i_TaBP_v2yTNkgHoWsfLIlmi0hjw70t1YPmoqTVW8LTx/s1600/sec.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="126" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivcJvael6pxqDCySSpI9zI29QLEwIQm0Fi_PpqvjAfZz8W7QOi994K4AOLgJZJxV2QiID9i5h9qCCI3gC3xhJ6ZoijK2fM38U0i_TaBP_v2yTNkgHoWsfLIlmi0hjw70t1YPmoqTVW8LTx/s320/sec.bmp" width="320" /></a></div>
<br />
3- Make new java class implement javax.servlet.Filter, you can name this class (ApplicationFilter)<br />
<br />
<script src="https://gist.github.com/anonymous/5b8def8b3683e48b37e6.js"></script><br />
<br />
4- Make 4 pages:<br />
<br />
* index.jsp<br />
<br />
<script src="https://gist.github.com/anonymous/cb7a3889f437a99e6585.js"></script><br />
<br />
* index.jspx<br />
<br />
<script src="https://gist.github.com/anonymous/73bcc075982482bc57bb.js"></script><br />
<br />
<br />
* login.jspx<br />
<br />
<script src="https://gist.github.com/anonymous/6fa34f3f1e7059b89f77.js"></script><br />
<br />
This page will use back bean to check username and password this back bean should be like this:<br />
<br />
<script src="https://gist.github.com/anonymous/6aabb22f0228f8b08ede.js"></script><br />
<br />
<br />
* welcomePage.jspx<br />
<br />
<script src="https://gist.github.com/anonymous/310df127318e77d7a553.js"></script><br />
<br />
<br />
5- Open web.xml and add this:<br />
<br />
<script src="https://gist.github.com/anonymous/f08fd0d951c98b678f18.js"></script><br />
<br />
6- In the face-config.xml add outcome to your welcomePage (e.g welcome)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifS1mDfUpLD3L4AGVuJHKr-_8QkKDhIZEbOTQ1tI7VLcMmecWL5bECCynsC7Lya6rvWENsmDGEAA8pWY8HfnsoihyphenhyphenvVsmjjJy8doIaEmPVcjk-IZdVqM2J9h2nq3wBWI6ND2qNDKRay8Z-/s1600/sec2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="90" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifS1mDfUpLD3L4AGVuJHKr-_8QkKDhIZEbOTQ1tI7VLcMmecWL5bECCynsC7Lya6rvWENsmDGEAA8pWY8HfnsoihyphenhyphenvVsmjjJy8doIaEmPVcjk-IZdVqM2J9h2nq3wBWI6ND2qNDKRay8Z-/s320/sec2.bmp" width="320" /></a></div>
<br />
7- When you deploy this application in tomcat or glassfish you may need jar file for jstl you can add this jar file inside public_html\WEB-INF\lib (you can get this file from the uploaded application)<br />
<br />
8- Your application structure should be like this:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzv0DrT2cZVJ0srDeXM2CDRmsQabmopSOn2aVLg15Q33MP7-YeVdsfjsGWRKVDAt35tXHC1CC9_nZQq3AvfEDcExnsqMjs6F5fbVT_NCSvqVQ7QNUQoAmkltUgBRsx8vjNjZaV55O6oYn_/s1600/sec3.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzv0DrT2cZVJ0srDeXM2CDRmsQabmopSOn2aVLg15Q33MP7-YeVdsfjsGWRKVDAt35tXHC1CC9_nZQq3AvfEDcExnsqMjs6F5fbVT_NCSvqVQ7QNUQoAmkltUgBRsx8vjNjZaV55O6oYn_/s320/sec3.bmp" width="204" /></a></div>
<br />
<br />
9- Deploy the application in weblogic or glassfish or tomcat.<br />
<br />
<br />
10- To access the application just write "http://serverIp:port/welcome" where welcome is the context root of the application. After you write this short URL the application filter will redirect it automatically to login page.<br />
<br />
11- After successfully login you will navigate to the welcomePage.<br />
<br />
Note: if you successfully login and you see the welcome page then if you close the browser tab (not close the fully browser window) then open new tab and write the application url "http://serverIp:port/welcome" it will automatically navigate to the welcome page because the browser still maintain the session<br />
<br />
<br />
You can download this sample application from <a href="http://www.mediafire.com/download/5k5seqg4xppuh2o/ADFCustomSecurity.rar" target="_blank">here</a> this application developed using JDeveloper 11.1.2.4.0<br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com6tag:blogger.com,1999:blog-7039183198232083459.post-72280320446004095862015-05-20T01:57:00.001-07:002015-05-20T01:59:07.099-07:00Apply Basic Authentication In Glassfish<div dir="ltr" style="text-align: left;" trbidi="on">
In this post I will explain how you can configure Glassfish instance (server) with basic authentication. If you deploy any java application or ADF application or web service in the Glassfish instance the user who will use this application or web service will be prompted to enter username and password.<br />
<br />
To do so follow this following steps:<br />
<br />
1- <span style="text-indent: -18pt;">Open Glassfish admin
console then go to:</span><br />
<div class="MsoListParagraphCxSpLast">
Configurations --> Server-config -->
Security --> Realms --> file</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7a_xpsvBNDZxOYbMHgGKaJH5sO332-DfotQ4GM4RRoc0F_Iaaen7TCMgizfJTvk4SjpVW3dr177xhgH1er7lolG4Lmm2GcKvl2JGrPns-f2jRpyvzkzSWk42sNTuoqFd7J7MCLhhDYupi/s1600/basica1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7a_xpsvBNDZxOYbMHgGKaJH5sO332-DfotQ4GM4RRoc0F_Iaaen7TCMgizfJTvk4SjpVW3dr177xhgH1er7lolG4Lmm2GcKvl2JGrPns-f2jRpyvzkzSWk42sNTuoqFd7J7MCLhhDYupi/s320/basica1.bmp" width="280" /></a></div>
<br />
<br />
2- <span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">Enter
"USERS" in Assign Groups</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmDX1askvf9x0u-JAIMCqZcjqaIauC7Dv5eJlrO6jEowPxEIR2F9SiWbqLmsOQ6Oplg7d15f7bJDGf08xrQ7_FKAAs4EHJCYm26fxZgj_aZtZo3QzyLe5D5V8wK3cBSMui2LjAnWL63JW_/s1600/basica2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmDX1askvf9x0u-JAIMCqZcjqaIauC7Dv5eJlrO6jEowPxEIR2F9SiWbqLmsOQ6Oplg7d15f7bJDGf08xrQ7_FKAAs4EHJCYm26fxZgj_aZtZo3QzyLe5D5V8wK3cBSMui2LjAnWL63JW_/s320/basica2.bmp" width="320" /></a></div>
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">3- </span><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">Press
in "Manage Users" button</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW1sgX9BpZDlC7l0DTKWRc9UFu0dEc1QOoS-QfGV1a4aEzmETE7oMxE3yGFPA6CSoTOi3KLe21blkKMp96dNow4hqMIaJOgPn_vCVPeuvuNjfywvyNicA_6c0v61RaHsdIIOHaSygZepOl/s1600/basica3.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW1sgX9BpZDlC7l0DTKWRc9UFu0dEc1QOoS-QfGV1a4aEzmETE7oMxE3yGFPA6CSoTOi3KLe21blkKMp96dNow4hqMIaJOgPn_vCVPeuvuNjfywvyNicA_6c0v61RaHsdIIOHaSygZepOl/s1600/basica3.bmp" /></a></div>
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">4- </span><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">Press
New to create new user and set Group List to "USERS"</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxVA7KERB8rkYlNmXy7xM0xZrUdRDmIHJYvy12VSxlTeJqiNrrIYHemWs_el55NtxhnBlr0YDELtrtMRatpSqdes90Bq3WCo5jDBsMxtp5nVkfqUfc5R8wM-4iDhN7mLDxygIcBC6tPipG/s1600/basica4.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="140" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxVA7KERB8rkYlNmXy7xM0xZrUdRDmIHJYvy12VSxlTeJqiNrrIYHemWs_el55NtxhnBlr0YDELtrtMRatpSqdes90Bq3WCo5jDBsMxtp5nVkfqUfc5R8wM-4iDhN7mLDxygIcBC6tPipG/s320/basica4.bmp" width="320" /></a></div>
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">5- </span><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">In
your web application add this in web.xml</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><script src="https://gist.github.com/anonymous/0c28ddc2cdcab22bca20.js"></script></span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;">6- </span></span><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">In
your web application create file "sun-web.xml" in the same place of
web.xml and write this:</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><script src="https://gist.github.com/anonymous/05928d9c5e45f73ad223.js"></script></span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyucZ8Hw7bnN0h9kHuwbHSRBq7-PcQWwxhnetOc81Ny16_Em7wZ1FCtYLDZy7O8udZgIuAlMQpbQVXA3Yvm3rCfMMDMtVOuMHXuRjhDqQf6Rv7X2Vzy9eZvDUCs_HqO7tHN1dlZ6RWJvsC/s1600/basica5.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="98" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyucZ8Hw7bnN0h9kHuwbHSRBq7-PcQWwxhnetOc81Ny16_Em7wZ1FCtYLDZy7O8udZgIuAlMQpbQVXA3Yvm3rCfMMDMtVOuMHXuRjhDqQf6Rv7X2Vzy9eZvDUCs_HqO7tHN1dlZ6RWJvsC/s320/basica5.bmp" width="320" /></a></div>
<br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;">7- </span></span><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">Now
deploy the web application (Java, ADF ,Web Service,...) to the Glassfish and
when you try to call the application you have to enter username / password</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfXCUGuo-9YL6p_gNhsP-NXYhdqLQXOt0l4WAXwBT_KO6PhNH3NgQVKFu9JTbIZ4LoXb5SG9DeORkYV0I1Bhfc3Q6UIg9Est1UzZHbQwL9WDkhIYIzqNSsD9RsuqqTFq4VXtiRvc8iZgWM/s1600/basica6.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfXCUGuo-9YL6p_gNhsP-NXYhdqLQXOt0l4WAXwBT_KO6PhNH3NgQVKFu9JTbIZ4LoXb5SG9DeORkYV0I1Bhfc3Q6UIg9Est1UzZHbQwL9WDkhIYIzqNSsD9RsuqqTFq4VXtiRvc8iZgWM/s320/basica6.bmp" width="320" /></a></div>
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com1tag:blogger.com,1999:blog-7039183198232083459.post-82928924229806055532015-05-07T03:24:00.002-07:002015-11-26T06:24:23.273-08:00Create Restful Web Service In JDeveloper 11g<div dir="ltr" style="text-align: left;" trbidi="on">
You can easy create Restful web service in JDeveloper 12c because it become built in.<br />
<div>
<br /></div>
<div>
But in JDdeveloper 11g you can easy create JAX WS because it is built in, but Restful WS not built in JDev 11g so, if you want to create Restful WS in JDev 11g follow this steps:</div>
<div>
<br />
I used JDeveloper (11.1.2.4.0) for this sample application<br />
<br /></div>
<div>
1- From Jdveloper create new custom application (e.g RestfulApplication).</div>
<div>
2- In the Project ---> Properties -- Libraries And Classpath ---> Add JAR/Directory andd add those jars (you can get those jars from the attached application):</div>
<div>
<br /></div>
<div>
- asm-3.1.jar</div>
<div>
- jersey-core-1.18.jar</div>
<div>
- jersey-server-1.18.jar</div>
<div>
- jersey-servlet-1.18.jar</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtfOj7SWvdOMr7Ju7p7Dn6VfFO9bEU2_kp4Ysi_AbZz07CnoFe7WgZtojABsATKGkLLBD0B32fkI3FizZv3cRAKJ-mEPtVKxOPhMpu7Kye3hq1HnB2ejczVU_ljDe5QUfl0Z6JCQfoI8dd/s1600/rest1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="152" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtfOj7SWvdOMr7Ju7p7Dn6VfFO9bEU2_kp4Ysi_AbZz07CnoFe7WgZtojABsATKGkLLBD0B32fkI3FizZv3cRAKJ-mEPtVKxOPhMpu7Kye3hq1HnB2ejczVU_ljDe5QUfl0Z6JCQfoI8dd/s320/rest1.bmp" width="320" /></a></div>
<div>
<br /></div>
<div>
3- Create new class (e.g RestClass.java) and add a simple function (sayHello) will take String and return the "Hello: <parameter>".</parameter></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1aeDQ2VTkC5-vXsl_V-tb66jLpxHODHx_Vrq0nPqqvXIYMES5quy3uoSkK97EUtNTihk7NSR5aMM6HD1KCDvD6E60NL8RDoahWBJyOZiL3cLH5h_vxPNy4DjWLIh4jwpq8wgfgD3kx-4c/s1600/rest2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="93" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1aeDQ2VTkC5-vXsl_V-tb66jLpxHODHx_Vrq0nPqqvXIYMES5quy3uoSkK97EUtNTihk7NSR5aMM6HD1KCDvD6E60NL8RDoahWBJyOZiL3cLH5h_vxPNy4DjWLIh4jwpq8wgfgD3kx-4c/s320/rest2.bmp" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
4- Over class name add this notation <b>@Path("hello")</b></div>
<div>
5- Over the sayHello method add this notation <b>@GET</b></div>
<div>
6- Before function parameter add this notation <b>@Encoded @QueryParam("myName") </b></div>
<div>
<br /></div>
<div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi877jauJl7g9q7qXgQ4tizRn5s7dVqa51kRbOyj7m2xLRGLmL5qQeNcww2bzKn4WEFHuKItmRZWxoh9oiad6z-OHqSFzWE3imoWN2hRTLlSvX2pqRF0uPFYKqnejIWv9sir-EAAXfVFEhk/s1600/rest3.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="113" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi877jauJl7g9q7qXgQ4tizRn5s7dVqa51kRbOyj7m2xLRGLmL5qQeNcww2bzKn4WEFHuKItmRZWxoh9oiad6z-OHqSFzWE3imoWN2hRTLlSvX2pqRF0uPFYKqnejIWv9sir-EAAXfVFEhk/s320/rest3.bmp" width="320" /></a></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
8- You will find a warning icon in the @Path notation select it then select "Configure web.xml for jersey JAX-RS Web Service"</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjozCILy7qZSsjuoY_rnE-vpKsJvAbrqJeTfsktzSHbthLo1-9zJA686Eh88LYuvUtC-ts2jRGoHhOcMakwSBq2_sKPoTP311KNoiSUxFC349WDbS4kXUM3CPWJUu0FG_6wvglyB7FfUqiG/s1600/rest4.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="181" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjozCILy7qZSsjuoY_rnE-vpKsJvAbrqJeTfsktzSHbthLo1-9zJA686Eh88LYuvUtC-ts2jRGoHhOcMakwSBq2_sKPoTP311KNoiSUxFC349WDbS4kXUM3CPWJUu0FG_6wvglyB7FfUqiG/s320/rest4.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
9- The Warning will gone and a new web.xml file will created.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilyCCTz3e8FJ3omAHZSTHw7OiWUihEFcLdyOrzMVffSpQIDmpcRBEH6CqbZK7uj2MQW01408HFXUKdFq0zAeADywFTKslwM9_KUL4rcH0GKF-WlyBMnzxjE1QQCYPAbVKVDUwumBGmajsi/s1600/rest5.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="124" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilyCCTz3e8FJ3omAHZSTHw7OiWUihEFcLdyOrzMVffSpQIDmpcRBEH6CqbZK7uj2MQW01408HFXUKdFq0zAeADywFTKslwM9_KUL4rcH0GKF-WlyBMnzxjE1QQCYPAbVKVDUwumBGmajsi/s320/rest5.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
10- Right click on the web service --> Test Web Service.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPR7LRXXyEoet4WNY3kyEX77DmSxcSHKCUV4rPLC9FIZMEPBGY4vGBQjM05cwPm8wybq9yK8WaxFTcWzs1zUxLhbuT3jfeeDYCLqA-_K1CLP6Vy7I6cVZUL70BNjoujQqtV7lDRWonj-fQ/s1600/rest6.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPR7LRXXyEoet4WNY3kyEX77DmSxcSHKCUV4rPLC9FIZMEPBGY4vGBQjM05cwPm8wybq9yK8WaxFTcWzs1zUxLhbuT3jfeeDYCLqA-_K1CLP6Vy7I6cVZUL70BNjoujQqtV7lDRWonj-fQ/s320/rest6.bmp" width="250" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: left;">
11- Result:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRZPtUAVEQKdbAyQgOBi0e326Z5858PSc4l4vktl0XO6PX7ncpioG-JOmbHglHpAHjHyWzcyiTUDCBRxYyv_-pF89C7EGVIm1VzclGEJFcQbCxzkHYQSM2f65dt-GTXL0vAh6lAEsV3UJ6/s1600/rest7.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="99" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRZPtUAVEQKdbAyQgOBi0e326Z5858PSc4l4vktl0XO6PX7ncpioG-JOmbHglHpAHjHyWzcyiTUDCBRxYyv_-pF89C7EGVIm1VzclGEJFcQbCxzkHYQSM2f65dt-GTXL0vAh6lAEsV3UJ6/s320/rest7.bmp" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
You can download the sample application (JDeveloper 11.1.2.4.0) from this URL:</div>
<div>
<br /></div>
<div>
<a href="http://www.mediafire.com/download/g2ltcqg4efdev3x/RestfulApplication.rar" target="_blank">http://www.mediafire.com/download/g2ltcqg4efdev3x/RestfulApplication.rar</a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
If you want to know how to call this web service programmatically you can check this <a href="http://sameh-nassar.blogspot.ie/2015/11/call-restful-web-service.html" target="_blank">post</a><br />
<br />
<br /></div>
<div>
<br /></div>
</div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com5tag:blogger.com,1999:blog-7039183198232083459.post-84386721082566031802015-04-13T09:23:00.001-07:002015-04-13T09:25:07.110-07:00Oracle BPM: Override Oracle BPM Operations (Approve, Reject, ....)<div dir="ltr" style="text-align: left;" trbidi="on">
When you create new Oracle BPM Application and generate human task page with payload, BPM automatically will generate human task operations like Approve, Reject, OK, ....<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgce8BzenwwGG-0iLCwYHxMnRwsOgcRXt_-uGM8jCXN2hvpYogBmjiaQV4bGOU37slC2JWOebJBUzfUG_rKKqqLKdMTvoBunyb4V_E8zJy17scqxo-OoyhcOhGYeBbQiYoaH-ifMywNqBZJ/s1600/7.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgce8BzenwwGG-0iLCwYHxMnRwsOgcRXt_-uGM8jCXN2hvpYogBmjiaQV4bGOU37slC2JWOebJBUzfUG_rKKqqLKdMTvoBunyb4V_E8zJy17scqxo-OoyhcOhGYeBbQiYoaH-ifMywNqBZJ/s1600/7.bmp" height="190" width="320" /></a></div>
<br />
<br />
Sometime developer need to execute some code before calling operation Approve or Reject so you need to override operation Approve or Reject. To do so follow these steps:<br />
<br />
1- <span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">Bind
approve button action to method in backbean</span><br />
<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><br /></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><script src="https://gist.github.com/anonymous/52bad53b1947329ae127.js"></script></span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;">2- In the approval action back bean method write this:</span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><script src="https://gist.github.com/anonymous/5e77043c398fe3396166.js"></script></span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;">be sure that the button in the page has actionListener="#{invokeActionBean.setOperation}" and has attribute <f:attribute name="DC_OPERATION_BINDING" value="bindings.APPROVE"></f:attribute></span></span><br />
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi41ISqyODsWDLS2XbpvI3ctEE9HXLT-ILGv1O-p6ZoQ4f_orcpTV9MS7vBpR0B8Ozlw_SPZFhInuCRa_8DYKbLsSEkqDPGekRhS2Rs7V9KwrniW-Mqh2Y3aZ4ntmz1eAWpeBu896AOYRtc/s1600/8.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi41ISqyODsWDLS2XbpvI3ctEE9HXLT-ILGv1O-p6ZoQ4f_orcpTV9MS7vBpR0B8Ozlw_SPZFhInuCRa_8DYKbLsSEkqDPGekRhS2Rs7V9KwrniW-Mqh2Y3aZ4ntmz1eAWpeBu896AOYRtc/s1600/8.bmp" height="74" width="320" /></a></div>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;"><br /></span></span>
<span style="font-family: Calibri, sans-serif;"><span style="font-size: 14.6666669845581px; line-height: 16.8666667938232px;">You can do same steps in any other operations like Reject, Ok, ....</span></span></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com3tag:blogger.com,1999:blog-7039183198232083459.post-27403597947390827412015-04-01T03:10:00.001-07:002015-04-01T03:10:15.115-07:00Oracle BPM: Set User as Administrator<div dir="ltr" style="text-align: left;" trbidi="on">
How do you know if the user is admin user or normal user?<br />
<br />
In Oracle BPM when the user login to workspace the administration link will appear if this user is Admin user<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz6p7PwWZ1ss644DyQuEX4d7yMXNQpJvdx2Y93QTzAmIaIZ1cWe7HIis3Oz4GL6kKcH7t_j0M3UCZ2qMGxZVpOo-jNKJX3_AwEPKF9qc_aJNn9qHq10G21hZbA8HAxStyMbAlW_pjcagbO/s1600/1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz6p7PwWZ1ss644DyQuEX4d7yMXNQpJvdx2Y93QTzAmIaIZ1cWe7HIis3Oz4GL6kKcH7t_j0M3UCZ2qMGxZVpOo-jNKJX3_AwEPKF9qc_aJNn9qHq10G21hZbA8HAxStyMbAlW_pjcagbO/s1600/1.bmp" height="239" width="320" /></a></div>
<br />
but if the login user is normal user this link will not appear<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIq9uisnCd5shaNwa6mmX5q9hzwRtFodNSOugLJf7fCZuk3Pn7DI2Ui-2jgukXI-mLVYfI6PDC57GOporof4kgruYbzC_IZUUEf6ee2UIe_Q8Mxnbpq_quqs4iUyCeHKIyqXxD2mIXgAr0/s1600/2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIq9uisnCd5shaNwa6mmX5q9hzwRtFodNSOugLJf7fCZuk3Pn7DI2Ui-2jgukXI-mLVYfI6PDC57GOporof4kgruYbzC_IZUUEf6ee2UIe_Q8Mxnbpq_quqs4iUyCeHKIyqXxD2mIXgAr0/s1600/2.bmp" height="320" width="302" /></a></div>
<br />
From the administration link admin user can assign users/groups to the application role or remove users/groups to the application role and user can do a lot of others administration functions.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcLpBA6CkootqvgO3fMctYi2p6M0zdYC32LvHpGyhUjjjZTHVlyXWBFaoWndMP1cqimo5DQuIjshz0lw0rzT15gvsuF8ni564Jj5nWvfKsTdLoJGBzkYcgkk8rsa8kLwEYYXOaK0yyqDY3/s1600/3.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcLpBA6CkootqvgO3fMctYi2p6M0zdYC32LvHpGyhUjjjZTHVlyXWBFaoWndMP1cqimo5DQuIjshz0lw0rzT15gvsuF8ni564Jj5nWvfKsTdLoJGBzkYcgkk8rsa8kLwEYYXOaK0yyqDY3/s1600/3.bmp" height="243" width="320" /></a></div>
<br />
To set user as administration follow these steps:<br />
<br />
1- Login to em (http://serverIp:port/em) and login with weblogic user.<br />
2- Expand SOA then right click on the soa-infra --> Security --> Application Roles<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDg76nXY22BsYh5YF6cge-HNUp4mx_5lNx21F4Uy-TDwrPMusieIzLek1pdaH3gZiBCX1RZept2KZiBAj_UwWb345jymcvz6ST2FikohNunSrJPaj4dGrXJ_dcgQs0CUOsU8FVNPV_y63S/s1600/4.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDg76nXY22BsYh5YF6cge-HNUp4mx_5lNx21F4Uy-TDwrPMusieIzLek1pdaH3gZiBCX1RZept2KZiBAj_UwWb345jymcvz6ST2FikohNunSrJPaj4dGrXJ_dcgQs0CUOsU8FVNPV_y63S/s1600/4.bmp" height="252" width="320" /></a></div>
<br />
3- Press search icon and select "BPMWorkflowAdmin" then press Edit<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3-XyJdzD7DQAtkkMBBhGEIWIwUJvYO90eX2I2_NBzDlfro51-1potHQyq5C8lq7uhw4DLT3UaskXullVG_SZUQiOiyV0KzwkDOXqDXHp35-W_tkyULg1FXwy7Oqrax2xxHC7Jko0DuUAL/s1600/5.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3-XyJdzD7DQAtkkMBBhGEIWIwUJvYO90eX2I2_NBzDlfro51-1potHQyq5C8lq7uhw4DLT3UaskXullVG_SZUQiOiyV0KzwkDOXqDXHp35-W_tkyULg1FXwy7Oqrax2xxHC7Jko0DuUAL/s1600/5.bmp" height="138" width="320" /></a></div>
<br />
4- Press Add icon to add and search for the user or group<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQkJ3Vz4LXyKSE1VApX49D1LfLQSx_fkaSaxvfQRNe-HACEMG1TTqcgEsPO45sY-Xg2jVwQnd48JA5vXuZUS6f5ieEIf7vO0vcDxeDH_Jg6K82h5uymbYI69tsl256-ipOHx9KBysK0ETz/s1600/6.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQkJ3Vz4LXyKSE1VApX49D1LfLQSx_fkaSaxvfQRNe-HACEMG1TTqcgEsPO45sY-Xg2jVwQnd48JA5vXuZUS6f5ieEIf7vO0vcDxeDH_Jg6K82h5uymbYI69tsl256-ipOHx9KBysK0ETz/s1600/6.bmp" height="300" width="320" /></a></div>
<br />
5- The added user will be Admin user. If you add group the all users inside this group will be admin users</div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0tag:blogger.com,1999:blog-7039183198232083459.post-57769360076194865462015-03-25T05:37:00.001-07:002015-03-25T05:39:55.548-07:00ADF table detail stamp set expanded row as a current row and close others expanded rows<div dir="ltr" style="text-align: left;" trbidi="on">
I got a lot of questions about table detail stamp how user can set the expanded row to be the current row and closing any other expanded rows (one row will be expanded at a time).<br />
<br />
To do that follow this steps:<br />
<br />
1- In .jspx select the table and go to property and set <span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RowDisclosureListener to a method in back bean (e.g method name will be </span><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">rowDisclosureListener)</span><br />
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><br /></span>
<span style="font-family: Times New Roman, serif;">2- In back bean write this code</span><br />
<span style="font-family: Times New Roman, serif;"><br /></span>
<span style="font-family: Times New Roman, serif;"><script src="https://gist.github.com/anonymous/aa6fff7189e77f99153d.js"></script></span><br />
<span style="font-family: Times New Roman, serif;"><br /></span>
<span style="font-family: Times New Roman, serif;">3- Run your application and expand any row you will find the expanded row become current row and close any other expanded row</span></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com3tag:blogger.com,1999:blog-7039183198232083459.post-85994204181343094592015-03-11T16:06:00.003-07:002015-03-11T16:19:02.390-07:00Create Custom Converter<div dir="ltr" style="text-align: left;" trbidi="on">
Sometimes when you develop application to the customer he want to see data in specific format although it stored in the database in other format for example:
<br />
<br />
Assume you have a table store mobile number in this format 3538xxxxxxxx but the user want to see this mobile number in this format 08xxxxxxxx.
<br />
<br />
It means when you read the mobile from database (in this format 3538xxxxxxxx) you should convert it (to 08xxxxxxxx) before displayed in the screen.<br />
and vise versa when the user enter mobile number in this format 08xxxxxxxx it should store in the database in this format 3538xxxxxxxx<br />
<br />
To make this follow this steps:
<br />
<br />
1- Create java class implements javax.faces.convert.Converter (e.g MobileNumberConverter.java)<br />
<br />
<script src="https://gist.github.com/anonymous/6351f835d089950dd4da.js"></script><br />
<br />
2- Open faces-config.xml and go to Converters and create new converter<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGXBqxx_2Sb3kX7j1vUizxUsSB4n0aMsUqLmNaCtEq5CAKVX-cwxeERfU_C1jFusEUf2SZqe6SMWyIwVbtybOQfClCpYE79C1bIhRXYyyr4r071_44_six_rtO6AG9IDlbh6YAylRhIKso/s1600/converter.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGXBqxx_2Sb3kX7j1vUizxUsSB4n0aMsUqLmNaCtEq5CAKVX-cwxeERfU_C1jFusEUf2SZqe6SMWyIwVbtybOQfClCpYE79C1bIhRXYyyr4r071_44_six_rtO6AG9IDlbh6YAylRhIKso/s1600/converter.bmp" height="153" width="320" /></a></div>
<br />
3- Go to inputText component and insert inside it f:converter then select your custom converter (MobileConverter)<br />
<br />
<script src="https://gist.github.com/anonymous/856acf5ea6fe28d7ccc8.js"></script><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFi2-eV9OqTR3Xasnn2cuugo6IKdDEm51FjR9_ohe6rlshd8IpwSx3_DnK6cgSwC-uwE5yK8s32s_6i5UbMkU-VXjD3JPhNZucddkVj3nAFR6p-Jba2xKHgo9ecb3wpNapR7OXZkWvx2BT/s1600/inputWithConverter.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFi2-eV9OqTR3Xasnn2cuugo6IKdDEm51FjR9_ohe6rlshd8IpwSx3_DnK6cgSwC-uwE5yK8s32s_6i5UbMkU-VXjD3JPhNZucddkVj3nAFR6p-Jba2xKHgo9ecb3wpNapR7OXZkWvx2BT/s1600/inputWithConverter.bmp" height="87" width="320" /></a></div>
<br />
<br />
You can make your own converter depending on your business need like making convert for dates sometimes customer need to enter date in specific format and store in database in other format.</div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com1tag:blogger.com,1999:blog-7039183198232083459.post-27280281087039220602015-03-11T08:58:00.002-07:002015-03-11T09:11:34.660-07:00Run ADF Application In IE11<div dir="ltr" style="text-align: left;" trbidi="on">
In this post I will show how you can run ADF application developed by JDeveloper 11g in Internet Explorer 11 (IE11).<br />
<br />
- In ADF application create new java class (e.g IECompatibilityFilter.java)<br />
<br />
<script src="https://gist.github.com/anonymous/e8e04be6fe02f225ae76.js"></script><br />
<br />
<br />
- In web.xml add this<br />
<br />
<script src="https://gist.github.com/anonymous/82f6d752cbfcc057f1eb.js"></script><br />
<br />
- Run the application using IE11.<br />
<br />
<br />
<br /></div>
Sameh Nassarhttp://www.blogger.com/profile/00631672031060314535noreply@blogger.com0