I published a Service Bus 12c Tutorial considering the use case described in my previous blogs. The Tutorial is available for download here and would like to know your valuable comments. The WSDLs and other material used in this tutorial can be downloaded from here.
By the time you finish this tutorial, you will learn:
- Creating Service Bus Application, Project, Proxy and Business services.
- Working with resources like WSDL, XSD, XSLT, XQuery etc.
- Sharing Service Bus resources across Service Bus projects to enable reuse and modularity.
- Creating Pipeline Templates, Pipelines and using nodes like Pipeline Pair, Stage, Routing and Operational Branches.
- Using Domain Value Maps (DVM) for storing configuring properties and using them in message flow.
- Creating Service Accounts and using them in message flow at Runtime.
- Enriching the messages using intermediate Service callouts in Pipelines.
- Routing messages to business services using Service Callout, Routing and Routing Table.
- Working with Split-Joins.
- Using Service error handlers in Pipelines.
- Securing Proxy service using OWSM.
- Deploying and Testing Proxy and Business services.
Unable to access the resources URL , google drive link is broken, please provide working link for downloading sample code
The demo artifact link is no longer working siva . Can you help with downloadable URL?
The demo artifact and links are not accessible
Hi,iam new to osb technology how can i learn this technology
you can start with this tutorial as its very basic.
I don’t nothing in OSB like xquery,XSLts ..please help me out.
very nice material good for beginners
Hi Shiva,
how to integrate JIRA using BPEL?
Hi Siva, please help me out. I just created simple REST Proxy service and I have used DB Adapter to retrieve employee info by passing emp id.
I just followed below article to create REST proxy service http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/sscs/CreatingOSBApp/creating-a-service-bus-app.html#section3s1
When I run Business service bound to DB adapter, it runs fine and giving me emp info. But when I run REST proxy or Pipeline, I am getting NPE :
com.bea.alsb.common.catalog.CatalogLogger>
java.lang.NullPointerException
at com.bea.alsb.debug.service.DebuggerService.eventManager(DebuggerService.java:60)
Can not think of anything.
Appreciate your quick help. If I create REST proxy in any approach, it is not running. Like, whether I just create business service first using DB Adapter, then create pipeline or create REST proxy along with pipeline and then wire the pipeline to Business service …whatever it is. Everything giving me NPE.
Appreciate you help Siva.
just from the stack trace i could not get insights..are you able to see any useful info in trace when you run the proxy?
Hi Siva, I sent you full stack trace just now. I do not see it is posted. I am hoping you are able to see it. Inside the pipeline, I have not added anything because I have seen example same as mine posted by someone (I am unable to find it) and even in that blog, the instructor did not add anything special in the pipeline. Just wired the pipeline to DB Adapter. BTW, in the property window, I see by default Route node got added , then underneath Route node, the Routing node is adding, the properties window for Routing node shows service as my business service with radio button “Use inbound operation for outbound”. That’s I can not think of root cause for my NPE when I run REST proxy service.
Thank you Siva.
can you zip and give me link to download it, so that i will try to verify. I did not get the stack trace
Thank you Siva. I exported the project as jar so that you can import it. Here is the link https://drive.google.com/open?id=1ZZUmWJMWt4ZB5iV-GCR2V_HYOMZb98jq
For some reason my stack trace is not getting posted. I tried 2 times. In my DB Adapter, I am using non XA driver even though the jndi name shows XA. Initially I provided XA but because of NPE error, I changed it to Non XA. Still Business service is working fine.
thank you
Could you please create some more arcticles on Workfusion, can where does SOA stands in comparision with other Microservice tools.
It would be great if you can shred some light into that.
Also I heard java is mandatory to learn SOA, is it? then its a pain
I was going through Workfusion” article where it explains more on Mulesoft SOA, you can check that its helpful too
Anyways great job! keep up the Work
Thank you,
Hai shiva,
Impressivearticle!
Thanks for the tutorial, it has been a life saver – well presented, easy to follow and covers wide variety of issues.
Regards,
Chaisam.
Thanks Shiva , really your awesome man you did wonderful job its help me lot …..
hi i couldnot access your tutorial through this link.Please share link
Would you check with this url https://drive.google.com/drive/folders/0B-JxCNrHSh7yNGo3MWQwT0xhWVE?usp=sharing
Hi Siva,
I am learning OSB12c with your tutorial. i am getting service callout issues when i tested customerPSpipeline. at the point of userIDServiceBS.bix (business service) callout i am getting ‘OSB-382543’ error. Do i need to pass the SA credentials as the values of weblogic or any values i can pass?
Thanks,
Kumar
any error text that you are seeing. How are you simulating the service endpoints and do the endpoints working
Hi Siva,
I observed that the mock service payload which you shared as part of this tutorial is having the http-response as ‘500’ . After modifying it to 200 the issue resolved. Now i observed 1 more.. In the routing of ‘Create CustomerRoute’ or ‘update customer route’ the assign/raise error conditions are not working. i tried to change the responses of the mock result to the error(Like changing the status from ‘S’ to ‘E’) but its not working
Thanks a lot Shiva great work you did. your shared knowledge took me to the next level. Thanks a lot.
Hi Shiva, thank you for this wonderful tutorial. The link in the beginning of the tutorial which explains the concepts of Service bus isn’t working. Can you please share that.
http://docs.oracle.com/middleware/12212/osb/develop/GUID-5C999412-7BC7-4021-882C-5CCACD60A30E.htm#OSBDV87879
Will try to update the tutorial. This is the link to 12212 documentation.
Hi Shiva,
Thanks for your tutorial, I just seen your tutorial and would like to practice your POC using the OSB 12c in jdev12c. Will get back to you once I get any issue while practicing. Hope you will provide better assitance to me :)
Thanks,
-S
What is the endpoint for WSDLs?
i hope you are asking about WSDLs used for business services. I used SOAP ui mock services for the tutorial so the endpoint will vary depending on how you are creating mock services.
HI Siva,
Im getting while trying to run CustomerOrder BS ,please let me know if any changes to be done from to run it succesfully..
Thanq for your quick response.
Did you change the business servuce target url…i used soapui mock service . If it’s done already what’s the error u r getting..
I am following the tutorial for, but for ServiceBus 12.2.1.0.0. As you have heard before, this is an amazing tutorial and I thank you. One problem: when I try to run anyy Business Service, I get this error:
Error Accessing Test Configuration Help
Validation of ServiceMetadataDerivedType XYZCommon/BusinessServices/CustomerServiceBS.BusinessService failed: ServiceMetadataDerivedType XYZCommon/BusinessServices/CustomerServiceBS.BusinessService does not exist
I am thinking it may be due to not being able to find SOA schema because of DEV12C_ prefix? (Which was also created according to your instructions in another blog post.) Any help appreciated!
that should not create this kind of issues. Here what is ServiceMetadataDerivedType ? if you can give me your project using some shared location i can check ifyou want.
Hi, very nice Tutorial…but..I got some problems…may be could you give us the source code (Jdev Project) in order to understand where i did a mistake..ty for all
The shared location has jar file already which can be imported into your jdev.
Ok nice I did the import but what is strange is that Create_Customer and Update_Customer are empty. For ex no Email validation in Create_Customer and so on….
You would see another proxy with these…this is also discussed in the tutorial at later stage..
Thanks a lot for Sharing such a valuable information!!
Hi Shiva,
Is this a bug in 12c ? Please suggest the solution for this.
We have couple of OSB services exposed as REST which will be consumed by REST APIs. We have proper error handling in place to handle all the error scenarios.
For below scenarios we are not able to propagate JSON error response to API :
1. Whenever OSB engine populates context fault ($fault) at runtime. for eg: service callout faults , validate action faults.
2. Whenever we throw error manually using Raise Error action.
Is this a bug in 12c ? Please suggest the solution for this.
### Steps to Reproduce ###
1.Expose a proxy service as REST with JSON structure for request, response and fault.
2.Use Raise Error action in message flow with custom error code and handle it in service level handler.
3.Use validate action for schema validation and raise error when validation fails.
4.Use service callout to call a SOAP web service.
5.Test REST proxy from SOAP UI , for above 3 scenarios ,xml error will be returned which doesn’t obey with fault schema defined in OSB .Instead we should receive JSON error with the structure defined in fault schema.
did you have a look at this post http://www.ateam-oracle.com/creating-a-mobile-optimized-rest-api-using-oracle-service-bus-part-4/
Unable to view the material. This webpage is not available is the messages seeen. Please help
It’s shared through google drive. would you check if you can access just google drive. I verified it and able to access it just using the below url.
The actual url is https://drive.google.com/folderview?id=0B-JxCNrHSh7yeU50VjRSRk13NjA&usp=sharing
Thank you Siva! I would try.
namo namah
Thank you!
This tutorial has been a life saver – well presented, easy to follow and covering a wide variety of issues on the new 12c.
Once again, thank you!
Hi Siva,
I have started reading your guide and if possible can you please add the below points.
1) What is the purpose of choosing the OSB for Routing the Request or response.
2) Major Advantages of OSB
Came across 1 nice article on these topics..some time back… Will share the same if I can get it back..
BPEL vs OSB is in recent SOA magazine http://soacommunity.com/images/pdf/SOA%20Magazine%20IV%2001.2015.pdf