OSB Question

Hi,
A customer is asking for oracle service bus flow documentation generation, can we do it ? how ?
i read that there is an eclipse add-on called Javadoc for java code. but it seems that is oracle OSB who generate the java code after deployment.
the need is to document all osb flows.
thanks in advance.

you need to download Java API documentation fromhttp://www.oracle.com/technetwork/java/javase/downloads/index.html#docs and have supposedly attached it to Eclipse using the
Window->Preferences->Java->Installed JREs->Edit->"Select rt.jar"->Javadoc Location
Restart Eclipse

Similar Messages

  • OSB question : passing a user defined transport header to a proxy service

    Hi All,
    I have a proxy service that calls another proxy service. The protocol for the "called proxy service" is set to local. The calling proxy service has a "transport header" action to add a user defined header to the outbound request.
    I log the outbound request in the calling proxy service before publishing/calling the other proxy service. It does have header set as expected. But the called proxy service does not get this header.
    As a note in the "transport" tab "get all headers" is set to true.
    Please suggest
    Here is the outbound xml gets printed just before calling the proxy service
    <con:endpoint name="BusinessService$userProvisioning$businessService$HttpMessageSender" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:uri>http://localhost:8064/ProvisioningService/</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="JMS_BEA_RedeliveryLimit" value="1"/>
    <tran:user-header name="JMSDeliveryMode" value="2"/>
    <tran:user-header name="JMSExpiration" value="0"/>
    <tran:user-header name="JMSMessageID" value="ID:&lt;914937.1294164899050.0>"/>
    <tran:user-header name="JMSPriority" value="4"/>
    <tran:user-header name="JMSRedelivered" value="false"/>
    <tran:user-header name="JMSTimestamp" value="1294164899050"/>
    <tran:user-header name="JMSXDeliveryCount" value="1"/>
    *<tran:user-header name="reResolvedAddress" value="http://LPF004689:8080/axis2/services/provisioning/"/>*
    *<tran:user-header name="reResolvedRegion" value="MB"/>*
    <http:Content-Type>application/soap+xml; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>>
    And here is the inbound xml getting printed inside the called proxy service
    inbound="<con:endpoint name="ProxyService$userProvisioning$proxyService$LocalSoapListener" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="loc:LocalRequestMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="loc:LocalResponseMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username>&lt;anonymous></con:username>
    </con:transportClient>
    </con:security>
    </con:endpoint>"

    Hi,
    We are using OSB 11g for sending message to external client.
    we are setting Headers "JMSType" in set Transport Header. but Client is not able to recieve the JMSType header at there side.
    we have read many forums for the same and turned on
    Pass all Headers through Pipeline
    Get All Headers
    then I put one publish action and keep my "Set Transport Header" inside that. still client is not able to find the same
    In out outbound request we can see the header as following.
    $outbound = <con:endpoint name="BusinessService$Notification$BusinessService$external$BUSINESSSERVICE:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:uri></con:uri>
    <con:mode>request</con:mode>
    <con:qualityOfService>exactly-once</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="JMSType" value="XXXXXXX">
    <http:Content-Type>text/plain; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="content-description" value="SOAP"/>
    <tran:user-header name="content-disposition" value="attachment;filename=&quot;[email protected]&quot;"/>
    <tran:user-header name="content-id" value="&lt;[email protected]>"/>
    <http:Cache-Control>proxy-revalidate</http:Cache-Control>
    <http:Connection>Keep-Alive</http:Connection>
    <http:Content-Length>112</http:Content-Length>
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:Date>Sun, 02 Sep 2012 04:06:43 GMT</http:Date>
    <http:Server>XXXXXXXXXerver>
    <http:Set-Cookie><![CDATA[<cookie-values xmlns="http://www.bea.com/wli/sb/transports/http">
    <value>JSESSIONID=m2RvGs2_Lvk_AZgyVJIv_e2-vSiFOQFi_mIA_SAPULGAKriCp_hbBD8uC0e8pEXt; Version=1; Path=/</value>
    <value>saplb_*=(spspiq_PIQ_00)6487650; Version=1; Path=/</value>
    </cookie-values>]]></http:Set-Cookie>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    <http:http-response-code>200</http:http-response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>

  • Unable to Send Payload + Parameters to JMS from OSB - Question 2 - Urgent

    My Javacall out in my Proxy Service has 4 parameters
    1.String
    2.String
    3.$body
    4.String
    Just now I came to know that the $body object is equivalent the object of the below class:
    org.xmlsoap.schemas.soap.envelope.impl.BodyImpl
    Now I am unable to locate these class in my OSB installation directory.
    Which JAR should i import and where it is located?
    My OSB Home is C:\OSB11.1.1.5
    Please help me in this guys.
    Regards,
    Deb

    If I have this java callout class implementation:
    public static void logMessage(String applicationname, String logginglevel, Object logmsg, String completemessage) {
    System.out.println("AppName: " + applicationname);
    System.out.println("Level : " + logginglevel);
    System.out.println("Clazz : " + logmsg.getClass().getName());
    System.out.println("Logmsg : " + logmsg.toString());
    System.out.println("Compl. : " + completemessage);
    I get this output on the console:
    <2012-02-10 15:39:55 CET> <Notice> <Stdout> <000000> <AppName: ALSB logger app>
    <2012-02-10 15:39:55 CET> <Notice> <Stdout> <000000> <Level : FATAL>
    <2012-02-10 15:39:55 CET> <Notice> <Stdout> <000000> <Clazz : org.xmlsoap.schemas.soap.envelope.impl.BodyDocumentImpl>
    <2012-02-10 15:39:55 CET> <Notice> <Stdout> <000000> <Logmsg : <Body xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <plain xmlns="">
    <subxml>
    <name>Carsten</name>
    </subxml>
    </plain>
    </Body>>
    <2012-02-10 15:39:55 CET> <Notice> <Stdout> <000000> <Compl. : This is the actual message that goes along with the body xml>
    From the Proxy service I am doing this java callout:
    Java Callout to <logMessage>
    Parameters
    java.lang.String "ALSB logger app"
    java.lang.String "FATAL"
    java.lang.Object $body
    java.lang.String "This is the actual message that goes along with the body xml"
    Note! I am not trying to cast the "Object" param3 to anything - just doing a toString() on it (since it is going to be logged and not changed/altered).
    Also note that the code is running on a ALSB 9.2.x - not 11g
    Edited by: user10890220 on 2012-02-10 06:49

  • Features to isolate OSB services from just one slow business service.

    Hi,
    Here is a OSB question around a quick business service that suddenly turn to be a slow one and the impact on the overall OSB performance.
    Suppose you have a critical OSB cluster in production with many proxy and business services.
    Because of requirements, you have a specific sync http business service (web service) that has an acceptable response time around 1 secs. But suddenly the response time goes to 30 secs or even more due to some problem, generating a great impact on thread and resource consumption on OSB side.
    Suppose a http time out configuration of 2 secs on the business service is just not enough. OSB continues to crash.
    You can use OSB throttling feature but doing that you have to fix a maximum concurrency.
    If the service implementation is down, OSB can handle that using "Offline Endpoint URIs" in the operational settings of sbconsole. But in this situation the service is online accepting requests. It's just slow to respond.
    This is a hypothetical situation just to stress the problem.
    Besides business service time-out configuration and throttling and dispatch-policies on proxy/business services are there any other features that can be used ?

    Wesley,
    Ok, once the business service request is sent, the thread is freed. When the response comes, a new thread is picked up to handle the business service response. So in the mean time there's no blocking thread. Yes. It is correct.
    Just to make sure, what about the waiting synchronous http client calling the proxy service ?
    I mean, this fire-and-forget feature works only on the business service side or entirely for the proxy/business service (That separation would not make sense I suppose) ? The same case with http proxy. The request thread will be used till the BS is invoked in the route node or end-of the request pipeline. After this thread is released. Once the response comes from the http bs on a different thread, that thread will be used till the end of the responsepipeline
    eg
    Client---->Http Proxy---->Thread1{Request Pipeline--->Routenode---->End of Request actions in the Routenode--->Call BS Request} ----->Thread2{BS gets response--->Response Pipeline --->send response back to the client}
    For example, a http client is waiting for the proxy service response, but while the business service does not respond, there is no blocking thread at all in the proxy service side too ?Yes. That is true
    So, there could be many waiting http clients calling this proxy service, all http business service requests sent, and no blocking threads ?Yes.
    What would be the drawbacks of this feature ?Nothing I can think off. Therotically we will be forced to do extra over head when BS latencies are low which might of little practical impact. In that case you can change QOS=Exactly once. BS request and response will be on the same thread , but proxy response thread will be always different from that of proxy request thread no matter what the QOS is set
    Cheers
    Manoj

  • OSB !!!

    Hi all,
    we want to know that OSB 10.3.1 (Oracle Service Bus) is certified on IBM LPAR
    AIX Power 5.3 or not. Please provide Certified information for OSB 10.3.1.
    thanks,
    karthik

    Well, first of all OSB questions belong in the SOA Suite forum:
    SOA Suite
    2ndly, even though the supported configs guide says AIX/Power is supported, it may not be what the original question asks as he mentions LPAR. I suggest you contact Oracle Support. There are usually metalink documents that explain which virtualization technologies are supported. The forums may have the answer, but support is the only official channel if it's not explicitly mentioned in the documentation.

  • Reading Opaque data from jms queue  and decoded  in java embedding

    Hi ,
    Objective:Fetch text message from queue and print it from java embedding in BPEL
    I am fetching text message from a jms queue using JMS adapter in BPEL.Then converting the opaque data(Base64 binary)to string using java embedding.My build got successful but I am getting runtime error at the time of deployment.
    I have added fabric-runtime.jar file into SCA-INF\lib folder as well as project library directory.
    <extensionActivity>
    <bpelx:exec name="Java_Embedding1" version="1.5" language="java">
    <bpelx:exec import="java.io.*"/>
    <bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>
    <![CDATA[//Write your java code below e.g.        
         System.out.println("Hello, World");       
    //   String input = ((Element)getVariableData("Receive1_Consume_Message_InputVariable")).getTextContent();              
      // String inputName = (String)getVariableData("input");     
      String input = (String)getVariableData("Receive1_Consume_Message_InputVariable");            
    //Receive1_Consume_Message_InputVariable.opaque          
          System.out.println("input:"+input);          
          addAuditTrailEntry(input);           
          Base64Decoder Decoder = new Base64Decoder();             
         try {            
          String decoded = Base64Decoder.decode(input);            
          setVariableData("Variable_opaque_decoded",decoded);            
          addAuditTrailEntry(decoded);           
    catch(UnsupportedEncodingException uee)
    uee.printStackTrace();
    }]]>
    </bpelx:exec>
    </extensionActivity>
    Error:
    Error deploying archive sca_JMSToDBInsert_rev1.0.jar to partition "default" on server AdminServer [http://localhost:7001]
    HTTP error code returned [500]
    Error message from server:
    There was an error deploying the composite on AdminServer: Error occurred during deployment of component: BPELProcess1 to service engine: implementation.bpel, for composite: JMSToDBInsert: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "C:\Oracle\Middleware\user_projects\domains\soa_domain\servers\AdminServer\dc\soa_0fb06e23-bac3-4753-aae9-0fc4b54b4dd1"; the exception reported is: java.lang.RuntimeException: failed to compile execlets of BPELProcess1
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    Check server log for more details.
    Error deploying archive sca_JMSToDBInsert_rev1.0.jar to partition "default" on server AdminServer [http://localhost:7001]
    #### Deployment incomplete. ####
    Error deploying archive file:/C:/SOA Suite/SOA_POC/Client2JMSapps/Client2JMSapps/JMSToDBInsert/deploy/sca_JMSToDBInsert_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Could you guys please help me regarding this?
    Thanks & Regards,
    Souvik
    Edited by: Souvik Pal on Apr 16, 2012 9:40 PM

    You probably want to try the SOA Suite forum for OSB questions.
    SOA Suite
    There is an excellent book also:
    http://jeffdavies.org/
    The documentation goes over the fundamentals, but the book will be better for step by step examples.

  • Regarding Good book for Oracle Service Bus 11g

    Hi All,
    What is the good book for Oracle Service Bus 11g in the below list(or You can also specify any book other than from below list)?
    1)Oracle Service Bus 11g Development Cookbook
    2)Oracle Service bus in 21 days
    3)The definitive guide to SOA:Oracle Service Bus,Second edition (or)first edition?
    Can yOu help me out which is the good book for OSB?

    Hi Deilby,
    Thank You for your reply.
    According to my understanding(I don't know whether it is correct or not),If you want to have full-fledged OSB development,we need to have eclipse.
    If you just need to have routing and transformation along with SOA suite development,We can use OSB console .
    Can You also look into this below SOA forums thread with SOA-OSB questions? If I have 'Oracle
    Service Bus 11g Development Cookbook' , Can I answer all those questions?
    https://forums.oracle.com/thread/2559964?tstart=0
    My intention is clear,I want to have full-fledged OSB development information(important components) and that leads to have good exposure to face questions.
    Can You help me out to clarify my understanding and recommend the book according to that?
    Note: I already worked on SOA Suite.I worked on OSB console. I think whatever we can  do with OSB eclipse development the samething we can do with OSB console along with SOA suite.
    Can You clarify on this?

  • OSB and SOA Server (Mediator) Design question

    As OSB is the strategic ESB and is used for external services does it make sense that all communication must go out via the OSB.
    For example if I have a request that comes in gets routed through the OSB and then calls a backend composite which contains a BPEL that sits on the Oracle SOA server that calls multiple external services (CRM, SAP etc..) Would all the calls out from the BPEL then go back to the OSB and out to the external services (via proxy/business services.) This seems to add a lot of network hops to the whole architecture.
    I can't really seem to find a diagram to explain this but an external service consumer could call the Oracle SOA stack that will come in via the OSB (for security gateway as OWSM 11g doesn't support gateway yet.) Then get transformed into the CDM and then passed on to the Oracle SOA server that has a composite service with BPEL that orchestrates multiple calls to internal and external services. The external ones requiring a transformation back into the service providers format.
    How does this flow work?

    If you are talking to external B2B systems you should use the Oracle B2B Server, have a look at this link,
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10229/b2b_intro.htm#CEGGAGJA
    Section 1.6 in there gives a good example of doing just that. The OSB mediator is responsible for talking between CDM's in this case so it does some internal work, within one CDM set of services and then when ready the mediator translates from CDM to the format needed for the B2B. The B2B Server then does all the clever stuff needed to talk to the B2B partner.
    In the internal case where the call is within the Enterprise the Oracle documentation states that there may be cases when doing this translation from CDM to legacy format may take place within the SOA server but recommends that it is normally done using the mediator in the same way as with partner calls. The 11g developer documentation states "The stated direction by Oracle is for the Oracle Service Bus to be the preferred ESB for interactions outside the SOA Suite. Interactions within the SOA Suite may sometimes be better dealt with by the Oracle Mediator component in the SOA Suite, but we believe that for most cases, the Oracle Service Bus will provide a better solution and so that is what we have focused on within this book."
    Just what those exceptions are is an interesting question. If you have a CDM and all of your legacy world has translators you will spend all of your time hoping up to the mediator and back down maybe that is the exception. If everything is using the mediator then the SOA orchestration power is lost. If on the other hand most of your system lives within a canonical schema and there is one exception perhaps you make it pay the price for non-conformance.

  • OSB Split Join Repeat Until Question On XPath Condition

    I'm trying to use OSB File Transport to stream a very large XML document file into a service which will split the file into very many small XML documents. So, given a file like:
    <BookStore>
    <Book></Book>
    <Book></Book>
    ... (many more books)
    </BookStore>
    In the split join I want to use a 'repeat until' to process each Book until there are no more Books in the BookStore. Here's my question: What is the correct XPath expression to use as the Repeat Until terminating condition? (I'm an XPath novice.)
    Thanks for your help!!!

    Hi,
    Based on what I understood, you should be using a for each loop with the conditions as follows:
    Within the Split Join flow
    for each ( counter variable from 1 to Count (xpath of book) ) --> For my example it was count($request.parameter/sjpoc:Orders/sjpoc:Order) replace this with your xpath.
    - do your logic
    Snapshot just in case @ http://dl.dropbox.com/u/19901533/sj_foreach_snapshot.JPG
    Based on this the split and join would happen for n (based on count) number of Book tags.
    Let me know if my understanding is incorrect.
    Thanks,
    Patrick

  • OSB Install question on SOA 11g

    Hello Experts,
    I have installed SOA 111g and below is the environment:
    Web Logic -- 10.3.6
    SOA -- 11.1.1.6.0
    AIA -- 11.1.1.6.0
    Created Doiamns, configuration completed and users are testing it..
    Forgot to install OSB and Oracle recommends that we install OSB first, before SOA.
    Question
    Is that ok to install OSB in the same location of SOA, at this point??
    Thanks
    Rgds
    Natrajan

    Natrajan,
    It is just an recommendation or good approach to Install Osb first before we install Bpel.
    But In case you have already installed SOA , you can go ahead and Install OSB . It should not matter to you.
    Hoping that this is your local machine and I am pretty sure that It will work fine. Since my OSB is topped on SOA Suite.
    Thanks
    Tirumala Dixit.

  • OSB Express questions

    Hi,
    I'm planning to use Oracle Secure Backup Express (OSB-XE) , described as license free with some limitations.
    i have some questions :
    1./ Does this free version allow me to use a Single Drive tape library (SAS ) attached to a server?
    2./ Would be possible to perform backup of all servers through the network from the central server that has the library attached?
    Our configuration is based in 3 servers with linux and one of the servers will manage the attached single drive library (or autoloader) , but we would like to know if OSB Express will be enabled to perform backup of more servers than the one where the software and drive resides.
    Also, has anyone experienced with this software and version? does anybody have any comments on functionality or usability?
    kind regards.

    Based on your environment, you would need to license OSB. The OSB-XE version supports backup of ONE host to a single attached tape drive. The licensing guide describes the differences between OSB and OSB-XE:
    http://download.oracle.com/docs/cd/E14812_01/doc/doc.103/e12836/toc.htm
    Donna

  • OSB Catalog Sizing & Other Catalog Questions

    I'm new to OSB, so was trying to find any sizing information on how much disk capacity I need to consider for the OSB catalog on my Admin/Media server.
    Obviously typical metrics like:
    ■ The number of files being backed up
    ■ The frequency and the retention period of the backups
    has a direct influence on the size and growth of the catalog, but are there any formulas which can be used to estimate required capacity, based on these (or other) metrics?
    Does the catalog ever get compressed (or even deduplicated) on disk during it's lifetime?
    Also, are catalog backups written to tape in the same way that normal OSB backups are? And what happens if the size of the catalog exceeds a single piece of media?

    Thanks Rich,
    so for the largest client you talk about, once its backup has completed and the catalog is being updated, it now needs 24 GB of space for OSB to update the host's own catalog file?
    Of the 5TB of data, do you have an idea roughly how many files that might include?
    Going back to my original sizing question, if I look at Veritas NetBackup Backup Planning and Performance Tuning Guide, for example, there are two methods described there that assist in sizing the amound of space needed for the NetBackup catalog (pages 28 - 31). Both methods use as their basis a 3180 bytes catalog size for each file retained. Do you know of a similar figure?
    To your point about hosting the catalog on fast disks, are there any recommendations as to particular IO characteristics for them? For example, would hosting the catalog on an NFS share be a good idea (if it was provided on a 10 GbE connection, for example)? Or would internal disks or even LUNs from FC-SAN attached arrays be better?

  • Newbie question about JMS topic and OSB

    So here is what I want to achieve:
    I want to "front" a JMS topic on WLS using OSB 10g. I want the users (producers and subscribers) to be access the topic via proxy services. The way I picture this is that a producer will invoke a proxy to publish a message. The subscriber will (asynchronously) invoke another proxy to pickup the message.
    Is this possible and how do I go about doing this?
    thanks
    Edited by: user10341230 on Apr 28, 2010 8:49 AM

    Hi there,
    user10341230 wrote:
    I want to "front" a JMS topic on WLS using OSB 10g. I want the users (producers and subscribers) to be access the topic via proxy services. > it's not really clear what you want to achieve here.
    you say
    user10341230 wrote:
    The way I picture this is that a producer will invoke a proxy to publish a message.you need a proxy with whatever inbound protocol you like (http, file, mail...), which through a jms business service push the message to the Topic.
    you say
    user10341230 wrote:
    The subscriber will (asynchronously) invoke another proxy to pickup the messagethe subscriber can be either asyncrhnous, in which case you need a proxy service with inbound protocol jms. or as you probably need a synchronous one
    in which case you need another proxy with whatever inbound protocol you like whch once called in its pipeline calls some pojo class to read from this topic synchrnously (you need a durable subsciber).
    Regards,
    Tony
    ps: have a look http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/jms/design_best_practices.html#wp1058694

  • OSB Proxy calling another proxy - performance question

    My client wants to standardize their logging into a common proxy logging service (LoggingService).
    The idea is that all their services can call this service to perform standard logging.
    To implement this, we created a simple proxy based on any XML. It doesn't have a real business service behind it. Instead, it's simply a proxy configured with a Log action in the request pipeline to log $body.
    Their other services call this from their request and response pipelines using the "Service Callout" Action.
    Does anyone know what the performance impact of doing this would be? When I call the LoggingService proxy via the service callout, is another network connection created or is OSB optimized to do a local request?

    wasn't familiar with the publish action vs the service callout. I just looked it up in the developers doc. Looks like it would work too. I'm just not clear what the difference is between the publish action and the service callout and when you would use on vs the other.
    compare Routing action versus Service Callout action versus Publish action?
    How do I know publish is more efficient than service callout? Enable monitoring (under Operational Settings) at action level in your proxy service having both publish and service callout. You may refer section "26.6 Viewing Service Monitoring Information"-
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15867/monitoring_console.htm#CACDCDAH
    Regards,
    Anuj

  • OSB 11G xsl/xquery question in Proxy

    OSB 11G
    In Proxy, I have to invoke a business service which has 3 operations
    I need to use response of first 2 operations,as request to third operation along with some input xml to OSB Proxy.
    customer, group, severity are hard coded.(which will be input to OSB)
    How do I add/insert response from op1 after <string>customer</string> ??
    and response from op2 after <string>group</string> . ??
    <InvokecreateRequest_InputVariable>
    <part name="parameters" >
    <createRequest>
    <sid>1959439747</sid> // is resp from operation1, which is request to operations3
    <creatorHandle/>
    *<attrVals>* // this is array of string
    <string>customer</string>
    <string>cnt:08DF89FC07516A41B228587DBE75B6A7</string> //resp from op1, that has to be request to op3
    <string>group</string>
    <string>B79AAF63D870F845980A</string> //input to OSB
    <string>severity</string>
    <string>2</string> //input to OSB
    *</attrVals>*
    <propertyValues>
    <string/>
    </propertyValues>
    <template/>
    <attributes>
    <string>persistent_id</string>
    </attributes>
    </createRequest>
    </part>
    </InvokecreateRequest_InputVariable>
    Also, should I use assign or insert in Proxy ??

    Not sure exactly what you need, but here is a basic layout of what you need to do.
    Make a service callout to the first operation and save the response in a variable, for ex $resOne
    Then make a service callout to the second operation ans save the response in a variable for ex $resTwo.
    Now use a replace or assign action to create the request for the third operation:
    If you are using a Route action on Route node to call the third operation, you should use a replace action and replace the contents of $body with the XML content as needed. If you are going to use another service callout, then you should use an assign to create a request variable.
    In either case, this is what your XQuery should look like:
    <InvokecreateRequest_InputVariable>
    <part name="parameters" >
    <createRequest>
    <sid>{$resOne/ns:ElementName/ns:SID/text()}</sid>     // Here you will populate value from $resOne using a correct XPath
    <creatorHandle/>
    <attrVals>
    <string>customer</string>
    <string>cnt:08DF89FC07516A41B228587DBE75B6A7</string>
    {$resOne}    // here you are inserting the complete response from Operation one
    <string>group</string>
    {{$resTwo}    // here you are inserting the complete response from Operation Two, You can choose to populate these values separately inside variables like for SID above.
    <string>B79AAF63D870F845980A</string>
    <string>severity</string>
    <string>2</string> //input to OSB
    </attrVals>
    <propertyValues>
    <string/>
    </propertyValues>
    <template/>
    <attributes>
    <string>persistent_id</string>
    </attributes>
    </createRequest>
    </part>
    </InvokecreateRequest_InputVariable>

Maybe you are looking for

  • HT4623 Iphone 3gs tech issues.

    I have an Iphone 3gs and I am having messaging issues. I can't picture text at all. Cant send or recieve. Can't print from my phone. My daughter has a Ipad and she can print from her Ipad.  Also I can't send multiple people when sending one message.

  • Standby database Error in applying archives

    Hi All Environment: Oracle 8i Platform- HP-UX I have production database on HPUX box and standby database on anothe HPUX box. I am applying archive to standby everyday manually. In last week, I have added ney datafile webapp03 in Production database

  • LabVIEW program for HP 4194A Impedance/Gain-Phase analyzer

    Hi All,  I was wondering if anyone has a labview program already written for a HP 4194A Impedance/Gain-Phase analyzer.This instrument measures the impedance,capacitance,dielectricloss etc as a function of frequency.The problem is I have to write down

  • Pages Hang on 6.0 Beta Update

    Once again, Firefox pushed an update that causes all of my pages to hang unless I move the mouse around the page. It doesn't matter if I click a link on a page, a bookmark, enter the URL in the address bar or enter a search, unless I wiggle the mouse

  • Query on CRM Datasources

    Hi BW Gurus, How can we find out the base tables for CRM(Customer Relationship Management) Datasources? Thanks