oracle service bus_ osb dev using eclipse - getting started

Upload: veeru-mudiraj

Post on 12-Oct-2015

54 views

Category:

Documents


0 download

DESCRIPTION

oracle doc

TRANSCRIPT

  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    1/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    S A T U R D A Y , J U L Y 2, 2 0 1 1

    OSB Dev using Eclipse - Getting Started

    Introduction I hope that y ou hav e installed OSB 11 g and created domain.Now it is the time to make y our hands dirty . I will explain toyou

    how to create a basic http-http flow using eclipse. So why to wait,

    open y our ec lipse and go on!!.

    Definitions

    Oracle Serv ice Bus Configuration Projec t - A fter opening the

    eclipse create the osb c onfiguration project which hold

    multiple osb projec ts.

    OSB project - holds the actual application which c onsists of

    proxy services and business services.

    Proxy Service - which holds the actual flow

    implementation. It c an perform routing,

    transformation,sercurity , monitoring and reporting

    Business Serv ice , which acts as an abstract acce ss layer for

    the end system component where we co nfigure the

    interface. Prox y ser v ice calls the end system using business

    serv ice. Business serv ices can be of HTTP, JMS, MQ, File ,

    FTP etc .

    Sample Flow (HTTP-HTTP)

    B L O G A R C H I V E

    2012(2)

    2011 (4)

    July(3)

    Weblogic JMS Basics

    Getting Started - XQuery Dev

    inside OSB Eclipse

    OSB Dev using Eclipse -

    Getting Started

    June(1)

    P O P U L A R P O S T S

    OSB Dev using Eclipse -

    Getting Started

    Introduction I hope th

    you hav e installed OSB

    11 g and created domai

    Now it is the time to make y our

    hands dirty. I will ex plain to ...

    Getting Started - XQuery

    Dev inside OSB Eclipse

    Prerequisite Should haveinstalled OSB Basics

    understanding of

    middleware technology.

    Introduc tion We can use

    XQuer y/XSL in OSB t...

    tachment Handling using Oracle

    Serv ice Bus (OSB)

    Introduc tion Oracle

    0 More Next Blog Create Blog Si

    O R A C L E S E R V I C E B U ST H I S I S A B L O G D E D I C A T E D T O O R A C L E S E R V I C E B U S R E L A T E D C O N C EP T S W H I C H W I L L B E

    H E L P F U L FO R E V E R Y O N E T O U N D E R S T A N D A N D I M P L E M E N T T HE V A R I O U S F E A T U R E S I T

    P R O V I D E S .

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.htmlhttp://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.htmlhttp://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.htmlhttp://osb-soa.blogspot.in/2011/07/getting-started-xquery-dev-inside-osb.htmlhttp://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.htmlhttp://osb-soa.blogspot.in/2011/07/getting-started-xquery-dev-inside-osb.htmlhttp://www.blogger.com/home#createhttp://www.blogger.com/http://osb-soa.blogspot.in/http://www.blogger.com/http://www.blogger.com/http://www.blogger.com/home#createhttps://www.blogger.com/next-blog?navBar=true&blogID=6103476923310777305http://osb-soa.blogspot.in/2012/03/blog-post.htmlhttp://osb-soa.blogspot.in/2011/07/getting-started-xquery-dev-inside-osb.htmlhttp://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.htmlhttp://osb-soa.blogspot.in/2011_06_01_archive.htmlhttp://void%280%29/http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.htmlhttp://osb-soa.blogspot.in/2011/07/getting-started-xquery-dev-inside-osb.htmlhttp://osb-soa.blogspot.in/2011/07/weblogic-jms-basics.htmlhttp://osb-soa.blogspot.in/2011_07_01_archive.htmlhttp://void%280%29/http://osb-soa.blogspot.in/search?updated-min=2011-01-01T00:00:00-08:00&updated-max=2012-01-01T00:00:00-08:00&max-results=4http://void%280%29/http://osb-soa.blogspot.in/search?updated-min=2012-01-01T00:00:00-08:00&updated-max=2013-01-01T00:00:00-08:00&max-results=2http://void%280%29/http://osb-soa.blogspot.in/2011/07/getting-started-xquery-dev-inside-osb.htmlhttp://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    2/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Open the Eclipse and create Oracle Service Bus Configuration

    Project

    Right click o n the Oracle Serv ice Bus Configuration pro ject and

    create a new Oracle Serv ice Bus project

    Give some pr oper name

    Right click on the Oracle Service Bus project and create new pro xy

    service.

    Fusion 11 g is an

    enterprise ready famil

    of integration products

    from Oracle. ...

    acle Fusion Middleware PPT

    is will give an introduction to

    Oracle Fusion Middleware andspots where the Oracle Service Bu

    stands in the Oracle Middleware

    products. ...

    acle Service Bus (OSB) Performan

    Tuning tips

    Once you are comfortable with

    deve loping and deploy ing

    applications in OSB, the next thing

    that comes for y ou will be how fasy o...

    Weblogic JMS Basics

    Slide 28 l Introduc tion

    The Java Messaging

    Service (JMS) is a Jav a

    Message Oriented

    Middleware (MOM) API for sendin

    messages between t...

    F O L L O W E R S

    Join this site

    w ith Google Friend Connect

    Members (10)

    Already a member? Sign in

    A B O U T M E

    http://4.bp.blogspot.com/-3BXNSXpOlHo/Tg8jRzkaX7I/AAAAAAAAACA/CES7YLfuvAE/s1600/eclipse_3.jpghttp://4.bp.blogspot.com/-3BXNSXpOlHo/Tg8jRzkaX7I/AAAAAAAAACA/CES7YLfuvAE/s1600/eclipse_3.jpghttp://osb-soa.blogspot.in/2011/07/weblogic-jms-basics.htmlhttp://osb-soa.blogspot.in/2012/12/oracle-service-bus-osb-performance.htmlhttp://osb-soa.blogspot.in/2011/06/oracle-fusion-middleware-ppt_25.htmlhttp://osb-soa.blogspot.in/2011/07/weblogic-jms-basics.htmlhttp://osb-soa.blogspot.in/2012/03/blog-post.htmlhttp://4.bp.blogspot.com/-3BXNSXpOlHo/Tg8jRzkaX7I/AAAAAAAAACA/CES7YLfuvAE/s1600/eclipse_3.jpghttp://2.bp.blogspot.com/-yyGbZZun_Fo/Tg8i_4rz4nI/AAAAAAAAAB8/wJfmmTpEF4Y/s1600/eclipse_2.jpghttp://1.bp.blogspot.com/-sZDcjWkZakg/Tg8e5HbDw4I/AAAAAAAAABc/_jtdzGRDiqE/s1600/eclipse_1.jpghttp://4.bp.blogspot.com/-KDbqM-3LAlA/Tg8dkPBB_2I/AAAAAAAAABY/dpPbuLqy5P4/s1600/flow.jpg
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    3/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Open the new prox y serv ice and c lick on the 'Transport' section.

    Select the proto col as 'http' and give a proper HTTP access URI.

    Click on the 'Message Flow' section o n the prox y serv ice and drag a

    'pipeline pair' to the message flow.

    Y ou can see 'Request pipeline ' and 'Respo nse pipeline' inside the

    pipeline pair.

    Drag a 'stage' into the Request pipeline. Stage is used just to gro up

    different nodes in the flow.

    SAJEEV RAMAKRISHNAN

    Like y ours, I also wear the hat of

    many ro les, like son, uncle,

    brother,friend,lo ver ,employee ,technolo gist,guide, instrumentali

    and so o ne. But I don't know who

    am I.

    V IEW MY COMPLETE PROFILE

    http://www.blogger.com/profile/00204049533958407408http://www.blogger.com/profile/00204049533958407408http://2.bp.blogspot.com/-3fymPCsbbRc/Tg8kp4umIQI/AAAAAAAAACQ/V_wF8fBOgHc/s1600/eclipse_8.jpghttp://4.bp.blogspot.com/-nnwmaIussEA/Tg8kIFY8hmI/AAAAAAAAACM/rTSTs9fVuGM/s1600/eclipse_6.jpghttp://3.bp.blogspot.com/-7C0mbt3i3xU/Tg8j2Lq2T4I/AAAAAAAAACI/6VuRK-ZxlSU/s1600/eclipse_5.jpghttp://3.bp.blogspot.com/-xI3jSD3YeWE/Tg8jgjlPGMI/AAAAAAAAACE/py-YNxxCpkk/s1600/eclipse_4.jpg
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    4/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Now Right click on the Oracle Service Bus Project and create a new

    'business serv ice'

    Open the new business serv ice and c lick on 'Transport' section .

    Configure 'http' as protoc ol and add o ne prope r end sy stem URI.

    In the figure given belo w, it is co nfigured as

    http://www.google.com. Instead please configure any tomc at

    stub which gives any x ml as the output.

    Go bac k to the pro xy serv ice. Drag 'Service call out' to the 'stage'.

    The service c all out is used to initiate a request to the end sy stem

    with the help o f business serv ice and get back the response.

    http://3.bp.blogspot.com/-VWMOJsv1eDw/Tg8l7xsCikI/AAAAAAAAACc/gp8SWcdoWws/s1600/eclipse_10.jpghttp://3.bp.blogspot.com/-WvYa-U6WvgU/Tg8lPa_20BI/AAAAAAAAACY/bo0B06a9G80/s1600/eclipse_9.jpghttp://1.bp.blogspot.com/-kmmfWDBPEVw/Tg8k_2OixnI/AAAAAAAAACU/8Z4CfB1ntNo/s1600/eclipse_8.jpg
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    5/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Click on the serv ice c all out and then c lick on the 'Browse' button

    below and select the business serv ice.

    Enter the Request v ariable as 'body ' and response v ariable as

    'response'. Yo u can use any name for the response variable. But

    for the request variable you should use 'body ' as the request xml

    resides in the 'body ' v ariable.

    Drag a 'replace' node to the response pipeline pair and co nfigure it.

    This will co py the response o btained from the downstream to the

    bo dy variable so that the r espo nse will be returned to the client.

    http://4.bp.blogspot.com/-k5iaqZDoAoo/Tg8nk4BRguI/AAAAAAAAACo/i4BJhBzLgjg/s1600/eclipse_13.jpghttp://1.bp.blogspot.com/-v6pEHlW4o8A/Tg8nGIfprEI/AAAAAAAAACk/BVk6O50w_Eg/s1600/eclipse_12.jpghttp://2.bp.blogspot.com/-S2xMDdXifUg/Tg8mu9WI7KI/AAAAAAAAACg/o9twiM8nKYk/s1600/eclipse_11.jpg
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    6/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Now the application is ready and it need to be deploy ed. For that

    we hav e to add the server to the workspace.

    Select the appropriate server

    Select the domain directo ry

    http://1.bp.blogspot.com/-q4v8ByUyVQI/Tg8pBWdnizI/AAAAAAAAAC0/wJLZVEihddY/s1600/eclipse_16.jpghttp://4.bp.blogspot.com/-SaDc_3xAc1I/Tg8oli7-ZoI/AAAAAAAAACw/PNAApv50H1c/s1600/eclipse_15.jpghttp://3.bp.blogspot.com/-BY5SAr4I7oU/Tg8oP7rJZVI/AAAAAAAAACs/uprFIvPFLJU/s1600/eclipse_14.jpg
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    7/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Finish creating the serve r and right click on the serv er cre ated and

    select 'Add and Remove' and add your Oracle Service Bus

    Configuration Project to the serv er.

    Right click on the 'Serv er' and click on 'start'. After some time the

    serv er will go to the 'Running' state.

    Right click on the serv er and c lick on 'publish' so that y our

    application will be deploy ed .

    http://4.bp.blogspot.com/-Tx_vOfE4SLM/Tg8p-SUYUsI/AAAAAAAAADA/qPCN2n-x2c4/s1600/eclipse_19.jpghttp://3.bp.blogspot.com/-ztXTS8aXvMw/Tg8pnpNShGI/AAAAAAAAAC8/Q_bmyugXLSU/s1600/eclipse_18.jpghttp://4.bp.blogspot.com/-YA2AHmEnUlg/Tg8pRujh2lI/AAAAAAAAAC4/d7gtk3YL4Os/s1600/eclipse_17.jpg
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    8/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Testing the application Right click on the proxy serv ice and select 'Run As' and select

    'Run on Serv er' . A new window will be opened and paste some x ml

    and hit run. If there are no errors in the end sy stem stub, yo u willget proper output.

    Note : Make sure that your managed serv er is running before

    testing the application.

    Paste one x ml on the 'Paylo ad' section and hit 'Execute'

    http://2.bp.blogspot.com/-lBjo6P0JmzA/Tg8z2K58waI/AAAAAAAAADM/BerHgBkZj0Q/s1600/eclipse_21.jpghttp://3.bp.blogspot.com/-48GjyeV1zbA/Tg8sOH5mMVI/AAAAAAAAADE/XFSmyJMb5Os/s1600/eclipse_20.jpghttp://4.bp.blogspot.com/-rUde2UQGjiM/Tg8tr48RrLI/AAAAAAAAADI/VlWt9lW_2RA/s1600/eclipse_19_1.jpg
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    9/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    If your stub is working properly, Y ou can see the proper response.

    Conclusion This topic is just intended to kick start the dev elopment. There

    are more things ahead. Any way y ou have taken the first step of

    OSB application development. Try to ex plore more in it.

    Queries?

    please co ntact Sajeev Ramakrishnan

    @ [email protected]

    @ [email protected]

    POSTED BY SAJEEV RAMAKRISHNAN AT 6:39 AM

    4 C O M M E N T S :

    Recommend this on Google

    Hans Petter Bauhr June 3, 2013 at 4:33 AM

    Priceless basic Hello world! example for OSB newbies. Just

    what I needed to get on my feet and stumble onward... :-)

    Reply

    Fernando Mu oz October 1, 2013 at 7 :54 AM

    Thanks!! im learning about OSB

    Reply

    http://osb-soa.blogspot.com/2011/07/osb-dev-using-eclipse-getting-started.html?showComment=1380639268656#c3683805911693451899http://www.blogger.com/profile/09702048118866708317http://osb-soa.blogspot.com/2011/07/osb-dev-using-eclipse-getting-started.html?showComment=1370259209861#c3974078622389115025http://www.blogger.com/profile/14171806533602044610http://www.blogger.com/share-post.g?blogID=6103476923310777305&postID=5336714947782663420&target=pinteresthttp://www.blogger.com/share-post.g?blogID=6103476923310777305&postID=5336714947782663420&target=facebookhttp://www.blogger.com/share-post.g?blogID=6103476923310777305&postID=5336714947782663420&target=twitterhttp://www.blogger.com/share-post.g?blogID=6103476923310777305&postID=5336714947782663420&target=bloghttp://www.blogger.com/share-post.g?blogID=6103476923310777305&postID=5336714947782663420&target=emailhttp://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.htmlhttp://www.blogger.com/profile/00204049533958407408http://2.bp.blogspot.com/-JomYlDpgpy4/Tg80bYdZoXI/AAAAAAAAADQ/KGN7A1JDdEw/s1600/eclipse_22.jpg
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    10/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Newer Post Older Post

    Enter yourcomment...

    Comment as: Google Accou

    Publish

    Preview

    Home

    Atan Suc ipto October 8, 201 3 at 3:06 AM

    get an error as

    BEA-382502

    OSB Service Callout action rec eived an error response

    404

    PipelinePairNode1

    PipelinePairNode1_request

    stage1

    request-pipeline

    Reply

    Sajeev Ramakrishn an October 8, 2013 at 9:07 AM

    Hello A tan,

    Check whether the HTTP URL is present by manually

    posting message using either nettool o r soap-ui.

    Regards,

    Sajeev

    Reply

    http://osb-soa.blogspot.in/2011/07/getting-started-xquery-dev-inside-osb.htmlhttp://osb-soa.blogspot.com/2011/07/osb-dev-using-eclipse-getting-started.html?showComment=1381248458360#c1547252514766334715http://www.blogger.com/profile/00204049533958407408http://osb-soa.blogspot.com/2011/07/osb-dev-using-eclipse-getting-started.html?showComment=1381226786054#c6551880956133383749http://www.blogger.com/profile/17361373925191329180http://osb-soa.blogspot.in/http://osb-soa.blogspot.in/2011/06/oracle-fusion-middleware-ppt_25.htmlhttp://osb-soa.blogspot.in/2011/07/getting-started-xquery-dev-inside-osb.html
  • 5/21/2018 Oracle Service Bus_ OSB Dev Using Eclipse - Getting Started

    11/11

    24/7/2014 Oracle Service Bus: OSB Dev using Eclipse - Getting Started

    http://osb-soa.blogspot.in/2011/07/osb-dev-using-eclipse-getting-started.html

    Subscribe to: Post Comments (Ato m)

    F O L L O W B Y EM A I L

    Email address... Submit

    http://osb-soa.blogspot.com/feeds/5336714947782663420/comments/default