Kayıtlar

osb thread management brief explanation

if you are wondering with the threads in request-response pipelines, this shorty brief explanation is enough for developers and operator for defining the rules. In Oracle Service Bus, several transports for proxy and business services provide a configuration option called "Dispatch Policy" that lets you associate a Work Manager with a service to prioritize service work. This section describes how proxy and business services use Work Managers. By configuring the Dispatch Policy of an Oracle Service Bus proxy service, the startup and execution of its request pipeline are governed by the rules of the Work Manager. For example, given a proxy service using a Dispatch Policy with a Max Constraint of 5, the proxy service will have no more than 5 request pipeline tasks executing simultaneously. While the request pipeline is governed by the proxy service's Dispatch Policy, the response pipeline is governed by the business service or Split-Join Dispatch Policy. The RouteTo ac...

web service basic Authorization (authentication)

We have a web service which has a basic auth. policy on it. I can call it with soap but while invoking java client which generated with weblogic ant tools, I can not achieve to call it with success. it gave me 401 http code all the time. then I made a call with soap and realized that it is sending Authorization http header while invoking. then made I small change with my code like BindingProvider bp = (BindingProvider) oloPortalTHKEndPoint; Map context = bp.getRequestContext(); Map > headers = new HashMap >(); headers.put("Authorization", Collections.singletonList("Basic " + new String(Base64.encode(newString("username"+":"+"password").getBytes())))); and Bob's your uncle here the detailed information about basic auth. http://en.wikipedia.org/wiki/Basic_access_authentication

defining adaptor configuraition on soa suite 11g

in some cases, it can be difficult to explain the right order of the configuration of adaptor (db, AQ) on soa suite 11g. it is quite simple. first you have to have a datasource then, in jdev composite adaptor creation editor, you must define the outbound name after then you have to define it in deployments' outbound properties under the properties tab. the last think you have to do is, connect the two configuration properties names together. to do this : and, Bob's your uncle

capture the soap header after appling the security policies in soa suite with owsm

It's sometimes - especially in uat, not in live - necessary to capture the soap header for debugging after appling the securty policy in soa suite 11g. if you apply regular logging policy after the security policy, you won't see any security tokens. but you must enforce it inside the policy definition. is it quite simple to do. you can follow the screen shots respectively. it must be for only checking some tokens, meaning debugging. before prod, you must rollback the changes.

creating a war serving web service both soap and rest style with spring

This evening I spend my time to create a war that serving web service both soap and rest style together with spring. Although it is easy to create it, the java developers often faced some annoying class cast or class not found exceptions. in fact responsible from these errors are not the developers but the designers, but I don't know why they are stay developing packages with same name and also put them into rt.jar and also another package and so on. It is clear that the way preventing these errors is putting one class only one package and also a package is must be ONLY one place, not two or more. I want to prove it to you, if you have a big system that contains a lot of libraries, just grep the jars for packages and find it in your system. you will most probably see that packages are represent more than one jar. and the other thing is the jar names. why you don't give the jar name form the package name. I thing it must be a restrinction package names and jar names must iden...

how to secure a composite with ssl that running on soa suite

first of all you have to got a keystore in order to store you certificates. to create it, just have to type this line keytool -genkey -alias mydomain -keyalg RSA -keystore keystore.jks -keysize 2048 then create a CSRequest to get a private key from a CA keytool -certreq -alias mydomain -keystore keystore.jks -file mydomain.csr when it comes then type this command keytool -import -trustcacerts -alias mydomain -file mydomain.crt -keystore keystore.jks or you can create your own but this time you can use this private key only known systems or systems that knows you. keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass password -validity 360 -keysize 2048 in order to define this keystore to your weblogic login and get the lock the goto Servers->your-server-> configuration->keystores screen change the keystore type to (Custom Identity and java trust store) at the sametime copy the keystore.jks file that just have prepared previous step under th...

how to secure a composite in soa suite

security is an up level topic for developers that writing codes for fulfill the daily needs. also proportion to project life, designing and defining security is take very short time. for so, security issues are being learned several time because developer forgets the key points of it. hence, the blogs helps us in order to remember the key points. we can start defining security policies in composite. we can do it with to ways. both ways are using same names. like "oracle/wss_*******" in first way we can define with jdeveloper that code will be hard-coded for the project. right click the service element in composite.xml and select the option configure ws-policies. oracle picks up some useful policies together and give those simple and rememberable names like mentioned before. select the policy you want to apply from the list after the click secure segment. and deploy it to server and Bob's your uncle. the other way defining policies is more declarative then th...

Global Type declaration/definition of name '{http://xmlns.oracle.com/pcbpel/adapter/db/top/XDSLResponseRecord}XdslResponse' are duplicated at the foll

If get an error message like "Global Type declaration/definition of name '{http://xmlns.oracle.com/pcbpel/adapter/db/top/XDSLResponseRecord}XdslResponse' are duplicated at the following locations:" then one of the reason is, redundant namespace definitions exists in your import tag in one of the wsdl file. in my wsdl file, I have an import tag like <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://www.ttnet.com.tr" xmlns:ns1="http://xmlns.ttnet.com.tr/CDM/EBM/Order" xmlns:xdslresponse="http://xmlns.oracle.com/pcbpel/adapter/db/top/XDSLResponseRecord" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:pns1="http://xmlns.ttnet.com.tr/Service/ProcessOrderToXDSLProvABCS/ProcessOrderToXDSLProvABCS/correlationset" xmlns:client="http://xmlns.ttnet.com.tr/Service/ProcessOrderToXDSLProvABCS/ProcessOrderToXDSLPro...