Hello World Sample Using Oracle Service Bus console (OSB)
Steps for creating HelloWorld Sample using SB Console.
1. Create an XML Schema as mentioned below or copy the in notepad and save it as “HelloWorld.xsd”
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://nisar.blogspot.com/HelloWorld" xmlns:tns="http://nisar.blogspot.com/HelloWorld" elementFormDefault="qualified">
<xsd:complexType name="HWRequestType">
<xsd:sequence> <xsd:element name="Name" type="xsd:string"></xsd:element> </xsd:sequence>
</xsd:complexType>
<xsd:complexType name="HWResponseType">
<xsd:sequence> <xsd:element name="Greeting" type="xsd:string"></xsd:element> </xsd:sequence>
</xsd:complexType>
<xsd:element name="HelloWorldRequest" type="tns:HWRequestType"></xsd:element>
<xsd:element name="HelloWorldResponse" type="tns:HWResponseType"></xsd:element>
5. In Project Explorer open Newly create folder “ HelloWorld”
7. Open the xsd Folder, under Resources->Create Resource->Select Resource Type select “XML Schema” Option.
9. Open the Pxy Folder, Under Resources->Create Resource->Select Resource Type->Service select “Proxy Service” Option to create a proxy service.
10.
In the “General Configuration” enter Service name as “ HWProxy” and
Service Type option as “Message Service” and click Next.
12. Edit the Message Flow option Under Actions of the Proxy service Created.
13. Left click the icon “HWProxy” and click “Add Pipeline Pair” option to pipeline pair.
14. Add Stages to the “Request Pipeline” and “ Response Pipeline” by left click and choosing “AdD Stage” option.
15. Left Click and Edit the Stage of “Request Pipeline” and from Message Processing options Select “Assign”
16. Click assign Expression to open up XQuery/XSLT Expression Editor.
18. Copy the Expression in the Editor “ $body/hel:HelloWorldRequest/hel:Name “ validate and Save it.
19. In the “to Variable” box enter “name” Validate and Save and back to the Message Flow.
20. Now similarly edit Stage of Response pipeline and from message processing option select “replace”
21. Edit the replace expression and insert “.” In variable type “ body” and edit with expression as below validate and save and in the replace action select “ Replace node content” option.
23. Save à Save à Activate the changes in the change center.
24. Click on the Bug icon of the proxy service to launch the test console.
25. Insert desired text in place of string and execute.
Smartmind Online Training provides complete knowledge regarding all core concepts and it gives enough confidence about Oracle OSB . We can say Smartmind Online Training is the best Oracle OSB Training platform for freshers because here we start every concept from the ground level and we explain concepts by taking real time scenarios, so Students get good understanding about subject. Smartmind Online Training helps you to gain depth knowledge on Oracle OSB and it makes you ready to become a real time Software Developers
ReplyDeleteSAP OSB Online Training
Yeah its a good article. It is very useful and informative.
ReplyDeleteS&M consultants
Send me training providin institution name and contact number....Please send me watsup..0061412410484
ReplyDeleteSend me training providin institution name and contact number....Please send me watsup..0061412410484
ReplyDeleteFor OSB Training,Diya Technologies,Hyderabad-0091 9618118809
ReplyDeleteI am really impressed with your writing skills and also with the layout on your blog. We are Providing Online Training Classes Oracle OSB Online Training
ReplyDeleteThat's great but I got the error "Unexpected error accessing transport information for the service" while execute. Does anyone know why?
ReplyDeleteThank you very much for posting and sharing this great Blog and Good Information. Carry on your posting. Oracle OSB Online Training
ReplyDeleteGood Article. Thanks for the information.Click on Oracle OSB for more info.
ReplyDeletehttps://schumi0101.blogspot.in/2014/07/my-very-first-scania-experience-from.html?showComment=1487398172559#c3708258722391305245
ReplyDeleteEnjoyed reading the article above, really explains everything in detail, the article is very interesting and effective. Thank you and good luck for the upcoming articles.Oracle OSB Online Training
ReplyDeleteNice article ......!
ReplyDeleteMicrosoft Azure Training
Robotics Automation Process Training
django Training
Hadoop Training
DevOps Training
Nice article ......!
ReplyDeleteIELTS Coaching in chennai
German Classes in Chennai
GRE Coaching Classes in Chennai
TOEFL Coaching in Chennai
spoken english classes in chennai | Communication training
Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support in this area. same as your blog i found another one Oracle OSB Training .Actually I was looking for the same information on internet for Oracle OSB and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.
ReplyDelete