OSB 11g – A Hands-on Tutorial

I published a OSB11g tutorial considering the use case described in my earlier blog posts. The tutorial can be accessed from here as I am not sure on how to place it in OTN. I would like to know your valuable comments on this. The WSDLs and other material used in this tutorial can be downloaded from here.

About these ads

23 Responses to “OSB 11g – A Hands-on Tutorial”


  1. 2 vivek June 23, 2014 at 10:30 AM

    Great document, I have been searching for OSB tutorials for some time, and this is the best tutorial i have seen.
    Thanks a lot for sharing, really helpful.

  2. 3 vivek June 19, 2014 at 10:34 AM

    Hi Shiva,
    Could you please also explain how to setup soapUI mock service.
    I am new to SoapUI and not able to proceed with this tutorial because of that.

    Thanks,
    Vivek

  3. 6 ed April 29, 2014 at 10:30 PM

    Siva, One thing I am struggling with in OSB is conditional branching on multiple values. I have to check if an element in my incoming XML is one of 10 values. If so, I write the message to JMS else I do not. So I did this:

    Proxy -> PipeLine Pair -> Branch Node

    In the Pipeline node, I have an ‘If then’ to check the element against the 10 values. If so, I set a variable say ‘x’ with JMS

    Now in my Branch node, I set:
    In Variable = x
    XPath = ./Check/text()
    and in the branch I check if = ‘JMS’.

    However, the default branch is always executed. Could you please let me know your thoughts on solving this? Thanks!

    • 7 svgonugu April 30, 2014 at 2:49 PM

      Could you try giving the namespace alias for Check in your expression and see..

      • 8 ed April 30, 2014 at 8:32 PM

        I set the variable x = JMS
        So there was no namespace involved. Now in my Branch node, I set:
        In Variable = x
        XPath = ./Check/text()
        and in the branch I check if = ‘JMS’.

        • 9 svgonugu April 30, 2014 at 9:26 PM

          How Check/text() came into picture when x is initialized with literal value. Could you initialize x like JMS and use xpath as ./text()

          • 10 ed May 1, 2014 at 11:56 PM

            My bad. I meant I assign the variable like so:
            x= JMS
            And then in the branch node, I use the xpath as mentioned in the earlier comment.

            I did try using a literal value as well by setting x=’JMS’. The problem with this is that the conditional branch expects a XPath so I gave ./text() but this results in a runtime error:
            BEA-382108: XPath can only be executed against XML or MFL content

            So looks like one cannot use a string literal in this case.

            • 11 ed May 2, 2014 at 12:03 AM

              Ok, so for some reason the comment removes the XML tags ! I was saying the variable x is set to an XML element called Check with a value of JMS but the comment system seems to remove the XML.

              Let me try with entities:

              x = <Check>JMS</Check>

  4. 13 Rishabh April 28, 2014 at 7:11 PM

    Thank you Shiva. Yeah, Please upload if you can. Appreciate the early reply.

  5. 16 Rishabh April 28, 2014 at 12:40 PM

    Hi Shiva, Tutorial is great. But I am unable to downloand wsdls. In document, links are not highlighted.

  6. 18 Suresh April 25, 2014 at 7:02 PM

    Great document for beginners. Much appreciated. Thanks

  7. 19 Suresh Avula April 17, 2014 at 12:14 PM

    Really a very helpful Siva

  8. 20 safiqksm April 5, 2014 at 10:59 PM

    Thank you for the Hands-on. It is Very helpful.

  9. 21 Shiva April 4, 2014 at 9:27 PM

    Thanks a lot bro.. This is a very nice and will deftly be helpful.


  1. 1 Links | Siva's Blog Trackback on September 2, 2014 at 12:37 PM
  2. 2 SOA Community Newsletter May 2014 | SOA Community Blog Trackback on May 27, 2014 at 4:30 PM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Pages

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 64 other followers

Enter your email address to follow this blog and receive notifications of new posts by email.


Follow

Get every new post delivered to your Inbox.

Join 64 other followers