Skip to main content

Posts

NTLM based SOAP Implementation in OSB

Hello Everyone, Today i am going to discuss how we can invoke a NTLM based SOAP service into OSB, Oracle SOA 12C have this feature in-built but you can use it only when you have env up to date with latest patch. Here i am going to discuss how we can do it in OSB. There is no direct way to do it in OSB too but with help of JAVA HTTP we can do it. Create a JAVA project in Eclipse. Import below three jars and attach them in build path so it can be used as class path. Java class Code: package com.teamshare.java.client.http; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpStatus; import org.apache.commons.httpclient.NTCredentials; import org.apache.commons.httpclient.auth.AuthScope; import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.methods.StringRequestEntity; public class TeamShareClient { public TeamShareClient() { } public static void main(String[] args) { ...

Oracle SOA 12C rest adapter with Custom HTTP headers

Most existing web applications are connected through web services, which are commonly known as SOAP services. More and more users are relying on mobile devices for communication, and they’re looking for lighter ways to access enterprise information on the go. REST services are the answer for the mobile device platform, because they get rapid responses and fast access to data. Oracle SOA Suite 12 c  provides a complete set of service infrastructure components for designing, deploying, and managing composite applications. Oracle SOA Suite 12 c  enables services to be created, managed, and orchestrated into composite applications and business processes. Some time we have need to send HTTP headers in REST service, In OSB we use header component and add what ever is needed but in oracle SOA 12C it's little bit different. Let see how we can do it. Create one SOA Application. Create one SOA Sample project inside SOA Application. Go to composite and drag drop REST ...

Oracle SOA Rest adapter connection timeout & readtime out configuration

Hello everyone, Some time we have a need to configure connection time & socket time in rest adapter so it can live for a while and full fill our purpose. For increasing connection timeout & readtime out you can do following thing: Go to composite.xml Search for your rest adapter reference. Add below properties:  <reference name="UserDetailsAccess" ui:wsdlLocation="WSDLs/UserDetailsAccess.wsdl">         <interface.wsdl interface="*******"/>         <binding.rest config="Adapters/UserDetailsAccess.wadl"                       location="hURL">         <property name="http.connTimeout" many="false" override="may">5000000</property>          <property name="http.chunkSize" many="false" override="may">9</property>          <property name="htt...

How to Change Weblogic Domain MODE to Production and Development.

Hi all,   today i experienced a little task to change the "Production mode" settings to FALSE in weblogic domain because due to production mode web service test client was not working. Setting up the mode to true was easy and straight forward but a little trick comes where for some reasons we had to rollback that change to test some issues.  If you want to know what are the differences between the two modes check this post  To configure all servers in a domain to run in production mode:  Login to Weblogic Console In the left pane of the WebLogic Console, under Domain Structure, select the domain name.  Select Configuration > General and select the Production Mode check box.  Click Save, and then, to activate these changes, in the Change Center, click Activate Changes. Start and stop any servers that are currently running. Here are the steps to configure all servers in a domain back to development mode. Weblogic server stor...

Remove Namespace from XML Payload in Oracle SOA

Some times we are in need to remove namespace from XML payload in oracle soa, SOA framework does not provide any direct XML manupulation methods to do it, But with the help of XSLT we can achieve it. XSLT Name: RemoveNamespace.xsl Step to remove name space: Drag & drop a XSLT component. Map BPEL/ESB variable in INPUT & OUTPUT. No mapping required. Go to source of XSLT that is created. Pest the below code and remove other templates. You can't use other templates if you are removing namespace. XSLT Code: <xsl:template match="*">     <xsl:element name="{local-name()}">       <xsl:apply-templates select="@* | node()"/>     </xsl:element>   </xsl:template>   <xsl:template match="@* | text()">     <xsl:copy/>   </xsl:template>

Oracle ICS to Oracle API Manager

Hello, From last few days i am learning about multiple use case implementation of Oracle ICS, i did not find it difficult as it is using all of the concepts used in Oracle SOA. If you know about API Managers then you are at right place to learn about how ICS can be used with API Manager or you can say how API manager can help you to expose your ICS integration to world with help of API management. If you don't know about  Oracle ICS  or  Oracle Cloud API Manager , I will suggest to have a look over above links. Here in this post we will discuss " how do you expose these ICS services using standard API methods"?? As we know  all the Oracle products have an “API first” strategy, so it wasn’t too difficult to setup an ICS flow to automatically publish new services into the API Platform. You can use your any existing activated integration which can expose from API, We will only see API based integration expose only. The first thing to do was to get in...

Oracle ICS On-Premise Agent End to End Configuration

Hi, In my last blog over Oracle ICS, we see what is oracle ICS and how ICS came over with oracle SOA. When we need to use ICS and when SOA. if you missed it, you can read it here  Oracle SOA & ICS . What is Oracle ICS On-Premise Agent: The Oracle On-Premises Agent (aka, Connectivity Agent) is necessary for Oracle ICS to communicate to on-premise resources without the need for firewall configurations or VPN.  You must download the agent installer from  Oracle Integration Cloud Service  and run the installer to install the on-premises agent in your local environment. During installation, you associate the agent with the agent group identifier you generated when creating an agent group in  Oracle Integration Cloud Service . System Requirements and Restrictions: You must satisfy the following prerequisites on your on-premises host before running the agent installer in a production environment: Do not make any custom configuration changes to t...