Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
OSB_Calling REST Services From OSB

OSB_Calling REST Services From OSB

Ratings: (0)|Views: 23 |Likes:
Published by SOA Training

More info:

Published by: SOA Training on Jan 16, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/27/2014

pdf

text

original

 
Rest Support from OSB
This article is from the excellent Blog by oraclefusion1011.
See complete article here -http://oraclefusion1011.blogspot.com/2011/04/11_23.html.It is reproduced here for easy reference only.Couple of times we need to call Rest based services like HTTP Post from OSB/SOAlayer, as of now there is no well defined adapter for this. Most of the times we end upusing POJO for this.The HTTP adapter provided in SOA is quite basic and doesntgenerally fits the requirement like when calling services with complex input data likemulti-mime etc.Here is steps that can be followed , however its completely driven by the requirement andneed to be customized accordingly.Use case :- HTTP Post service that has to be called- Input is multi mime and handshake is through the boundary defined- No ssl or any other security need.Steps:1. Create a Business service in OSBService Type : Messaging ServiceRequest/Response Message Type : TextProtocol : htmlEndpoint URI : http://mysupplier/serviceendpoint/HTTP Request Method : POSTTest this with your multimime input from test console, pass the input in body and Content-Type: multipart/form-data; boundary=scm-shipping-oracle;utf-82. Create proxy based on the business service .Service Type : Messaging ServiceRequest/Response Message Type : TextProtocol : htmlTest this with your multimime input from test console , pass the input in body and Content-Type: Content-Type: multipart/form-data; boundary=scm-shipping-oracle;utf-8- You can add alert here to display the body and attachment data3. Create another proxy to call the proxy created in previous step, I added this to putcustomization logic and to not

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->