Web RESTFUL service and ODI

Hi,
I use ODI 10.1.3.4.0 and in a new project I have to invoke Web service(department) (Web RESTFUL service).
I would like to know if it is possible via the command OdiInvokeWebService.
Should the opposite occur, what is the best solution?
Thank

mmb666 wrote:
Hello, all!
I need to create restful webservice in Apex 4.1 All is OK, but size of parameters in Apex is limited to 4KB.
I need to pass parameters to the size of 100RB and more. How to get around this limitation?
May be it's possible to upload files on RESTful page?What is "RB"? It's not a standard unit?

Similar Messages

  • RESTful service and BLOB with bind variable

    Hi,
    Has anyone successfully created a RESTful service with bind variable to retrieve a BLOB field and render it in an Apex app? I can create RESTful web service and render BLOB field for a record with no bind variable (single row). As soon as I add bind variable my RESTful service fails -- I get 404 Error. Without bind variable it renders both in TEST tool of Workspace and direct URL. As soon as I add a bind variable it fails either way. I have reported this in an SR to Oracle support, but thought I would post here too.
    I would also like to retrieve the photo into an Apex application. Any hints would be appreciated.
    Thanks,
    Pat

    Hi Fateh -
    Good question. You would identify the source type as a Media Resource, and use an SQL statement with the primary key and the BLOB column. When you use Media Resource, you are essentially telling your Database Cloud Service not to marshall the data, just to send it - which is exactly what you are looking for.
    With this implementation, you would have to have a separate SQL call for each BLOB retrieval. However, you might be able to use a PL/SQL block as the end point for the RESTful Service and take care of multiple BLOB processing in the block.
    Hope this helps.
    - Rick Greenwald

  • Call rest services and populate ViewObject

    Hi All,
       I have scenario where i need to populate the view object data from rest services and while loading the task flow i need to call the rest service and load data into view object.
      So i marked java bean method as default activity in task flow where i am calling my rest service. Now i want to call a view object method in side my java bean method which is marked as default acity in task flow.
      So could any body tell me how can i call a view object method in java bean method which is added as method activity in task flow?
    Note: I am using jdeveloper version 11.1.1.6
    Regards
    Murali.

    Any inputs please?

  • How to authenticate with Sharepoint using rest service and jquery

    Hi ,
    I have a requirement where i need to authenticate with  sharepoint from ios and android app using rest services and jquery.
    Can anyone help me in this .
    Thanks in Advance.
    Regards,
    Srinath 

    Hi,
    According to your post, my understanding is that you want to access SharePoint data from IOS and Android app.
    The following materials for your reference:
    How can I authenticate SharePoint REST calls from Android App?
    http://stackoverflow.com/questions/24673373/how-can-i-authenticate-sharepoint-rest-calls-from-android-app
    Calling RESTful services from your Android app
    http://www.techrepublic.com/blog/software-engineer/calling-restful-services-from-your-android-app/
    SharePoint 2013 REST API in iOS
    http://omicron-llama.co.uk/2012/12/13/sharepoint-2013-rest-api-in-ios/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Restful Services and Apex

    Do I need to install apex listener in order to use the Restful Services.
    We are on apex 4.1 and use modplsql apex.
    Do I need to also install apex listener in order to use the restful services or would it be just enougt to patch 4.1 to 4.1.1 and I can continue to use apex 4.1.1 with modplsql.
    Thank you
    Kumar

    Hi Kumar,
    APEX Listener 1.1 (including your 1.1.4 installation) has a different implementation for RESTful webservices. You can access the configuration using APEX Listener's own configuration ("/listenerAdmin").
    The new APEX-integrated RESTful implementation is provided with the new APEX Listener 2, which is still in Early Adpoters phase. It comes with a patch for APEX 4.1 to make 4.1 capable of using it as well. See the installation guide for the current EA release for details.
    Since APEX 4.2 has been released now, I'd recommend to upgrade to this release instead of patching 4.1 if you don't have anything that would stop you from upgrading. And I expect APEX Listener 2 to be released soon as well, eventhough there hasn't been an official announcement yet.
    -Udo

  • How to launch Web administration service and set trace level for web dispac

    Experts,
    Can some one help on how to setup trace level for Web dispatcher? and how to launch web administration interface.
    Thanks in advance.

    Hi Sam,
    You can launch the Web Dispatcher Interface through the follwing link:
    http://host:port/sap/wdisp/admin
    The Username & Password are created when the profile is run for the first time. The userid is ICMADM
    This link points to the web disaptcher administration interface & its usage.
    You can set the trace level once you login to the interface.
    http://help.sap.com/saphelp_nw70/helpdata/en/4f/3bee29d9764e988bdeecdb4d484722/frameset.htm
    Hope it is helpful.
    Regards,
    Abhishek

  • RESTful services and images

    Hi
    How to upload images on Oracle cloud host and use it with RESTful pl/sql
    For example following generate web page and display picture from Oracle web site
    BEGIN
    sys.htp.htmlopen;
    sys.htp.headopen;
    sys.htp.title('Title');
    sys.htp.headclose;
    sys.htp.bodyopen;
    sys.htp.print('Hello World');
    htp.p('<img src="http://www.oracle.com/us/hp01-thumb-bobevans-1896147.jpg" >');
    sys.htp.bodyclose;
    sys.htp.htmlclose;
    END;
    How to copy hp01-thumb-bobevans-1896147.jpg image on https://database-trialXXXX.db.us1.oraclecloudapps.com?
    and refer to it as
    htp.p('<img src="https://database-trialXXXX.db.us1.oraclecloudapps.com/pics/hp01-thumb-bobevans-1896147.jpg" >');
    Thanks
    Leon

    Leon -
    If I follow your question, you are asking how to retrieve images with RESTful Web Services. It looks like your code assumes that RESTful Web Services have access to an underlying directory in the Cloud. This is not correct - Database Cloud users have no access to a file system. Instead, you would store your images in the database and use the Media Resource source type to return a .jpg without any translation or marshalling by the RESTful handler.
    Hope this helps.
    - Rick Greenwald

  • Restful service and large parameters

    Hello, all!
    I need to create restful webservice in Apex 4.1 All is OK, but size of parameters in Apex is limited to 4KB.
    I need to pass parameters to the size of 100KB and more. How to get around this limitation?
    May be it's possible to upload files on RESTful page?
    Edited by: mmb666 on 30.08.2012 22:51

    mmb666 wrote:
    Hello, all!
    I need to create restful webservice in Apex 4.1 All is OK, but size of parameters in Apex is limited to 4KB.
    I need to pass parameters to the size of 100RB and more. How to get around this limitation?
    May be it's possible to upload files on RESTful page?What is "RB"? It's not a standard unit?

  • WCF Rest Service Vs Web API

    1. What is difference between WCF REST SERVICE(and not WCF) and WebAPI?
    2. When we should one over another?
    Deepak Talele Ph: 91-9158413830 Email: [email protected], [email protected]

    Hi,
    Use WCF to create reliable, secure web services that accessible over a variety of transports. Use ASP.NET Web API to create HTTP-based services that are accessible from a wide variety of clients. Use ASP.NET Web API if you are creating and designing new
    REST-style services. Although WCF provides some support for writing REST-style services, the support for REST in ASP.NET Web API is more complete and all future REST feature improvements will be made in ASP.NET Web API.
    For the difference between WCF REST Service and web api, you could refer to the following links for more information:
    https://msdn.microsoft.com/en-us/library/jj823172(v=vs.110).aspx
    http://www.dotnet-tricks.com/Tutorial/webapi/JI2X050413-Difference-between-WCF-and-Web-API-and-WCF-REST-and-Web-Service.html
    Regards

  • Web services and message ordering

    i am a newbie to Rest services and camel. please help me. message(xml)will be sent from services at endpoint 1 to services exposed @ endpoint 2. i am not going to use queue or anything in between. but i want message ordering for few instances. so how is it possible. is there any option available. thanks

    thanks for the response.
    I dont wait for response 1 before sending request 2 and thats why am asking qn on how to preserve order. communication is not synchronous. i send multiple messages to different threads and i will not know the order across the whole message stream as each thread will process messages concurrently.
    For example i will be sending message 1 and message 2 which should go in order. For some reason if message 2 goes before message 1 my whole requirement will fail. if i use queue in between i can preserve the order but am not going to use queue. so is there anything i can do to ensure that message 1 goes before message 2?

  • InfoPath combined with Excel Rest services gives State service error

    Hi
    I'm having a problem with InfoPath and Excel Services. I have a InfoPath form that calls Excel to do a fairly simple calculation, but I also have another form at a client that is doing the same calling a much more complicated function.
    The error I get is
    SharePoint Server
    State Service
    bm1k
    Medium
    StateSqlSession.GetItemBytesInternal() Locked row in database for key ba18f90ee2e844468b08e90ad96dff2c_05967b71a21948d39b7d4d3ada9b27c9 for 4 seconds
    SharePoint Server
    State Service
    bm0t
    Unexpected
    StateManager.GetState() Locked data (05967b71-a219-48d3-9b7d-4d3ada9b27c9)
    InfoPath Forms Services
    Runtime - State Service
    b5st
    Medium
    MOSS StateService threw an exception: A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator.
    I have determined that if the user is in the Members group, then it works, but as soon as the user is in another group, it gives the error. I have played around with permission levels, given the user all rights, but it still gives that error.
    Does anyone have any idea about what might be the problem? I have thought that it's a problem on the state service, but it isn't configurable. I don't want to resort to put everyone into the Members group, as that doesn't seem to be a solution that will
    work with everyone. We are on the June 2012 CU.

    Thanks Sergio. I tried that but unfortunately didn't fix the problem. I have given the groups Contribute rights, Full Control rights, create my own custom permission level, nothing works except when the user is in the Members post. 
    I realised today that the error I posted above is a bit misleading. The error that happens first before that one is this (after removing timestamps and correlations):
    Entering monitored scope (Request (POST:https://<server>/ContentHub/_layouts/Postback.FormServer.aspx))
    Name=Request (POST:https://<server>/ContentHub/_layouts/Postback.FormServer.aspx)
    Site=/
    Access denied.
    Thread was being aborted.
    Not persisting state for request due to previous errors. Form Template: urn:schemas-microsoft-com:office:infopath:Expense-Claims-With-Excel:-myXSD-2004-12-26T20-14-04
    Unhandled exception processing request for PostbackPage Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException: Exception of type
    'Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException' was thrown.
    at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.get_CurrentFormId()
    at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.get_CurrentContext()
    at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.IsDefined(GlobalItems key)
    at Microsoft.Office.InfoPath.Server.Controls.DateFormattingInfo.TryGetCachedTimeZoneId(UInt16& timeZoneId)
    at Microsoft.Office.InfoPath.Server.Controls.DateFormattingInfo.GetSPTimeZoneObject()
    at Microsoft.Office.InfoPath.Server.Controls.DateFormattingInfo.CalculateSPLocalTimeOffset()
    at Microsoft.Office.InfoPath.Server.Util.GenericUtils.GetServerTimeZone()
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.ErrorPageRenderer.RenderResult(TextWriter writer, Document document, EventLogStart eventLogStart)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.ErrorPageRenderer.RenderForException(HttpContext context, Exception exception, Document document, EventLogStart eventLogStart)
    at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.OnPreInit(EventArgs e)
    at System.Web.UI.Page.PerformPreInit()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    The error I first posed is I think the reaction to this exception. The strange thing is that the user can access the spreadsheet fine. When I go to the URL that is used for the rest service and just remove the $format parameter, it displays it fine as a HTML
    value.

  • RESTful Service: Expose BLOB file inside DB as RESTful service ??

    Hello,
    With Oracle Cloud we can expose the Data as RESTful Web Service, but how about exposing BLOB... we need to generate a link for that file which is stored in the DB.
    To make it clearer:
    Two Tables:
    Properties (Property_ID number PK, Project varchar2(40), Property_number varchar2(20) ...)
    Images  (ID number PK, Property_ID number FK, content blob,
    mimetype varchar2(200), filename varchar2 (200), filesize varchar2 (200))And I would like to expose this query as RESTful :
    Select p.property_id, p.project, p.property_number, i.content
    from properties p inner join images i on (p.property_id = i.property_id)Usually we use: [url http://docs.oracle.com/cd/E14373_01/apirefs.32/e13369/apex_util.htm#CHDICGDA] apex_util.get_blob_file_src  , but that one should be called from a valid apex session !!!!! ( in that query "i.content" should give a link.)
    How can we do it ???
    Another point, since we expose the data as JSON:
    Suppose I have a property with 10 images, then it does not make sense to get 10 rows fro the same property just to give different image. I think we need another level (nested level) for images !!!
    I hope that my point is clear,
    Thanks in advance ....
    Fateh

    Hi Fateh -
    Good question. You would identify the source type as a Media Resource, and use an SQL statement with the primary key and the BLOB column. When you use Media Resource, you are essentially telling your Database Cloud Service not to marshall the data, just to send it - which is exactly what you are looking for.
    With this implementation, you would have to have a separate SQL call for each BLOB retrieval. However, you might be able to use a PL/SQL block as the end point for the RESTful Service and take care of multiple BLOB processing in the block.
    Hope this helps.
    - Rick Greenwald

  • External REST Service Authentication

    Hello everyone.
    Often creating complex business application using SharePoint Online, I need to externalize business logic to external service in order to use .net code and third-party assemblies.
    In my case I'm developing a Rest Service hosted by an Azure Web Site.
    My question is:
    Can I obtain an access Token from SharePoint, containing the current user information, pass it to external Rest Service and then reuse it to return to SharePoint using the current user credentials?
    Can you give be documentation about it?
    Thanks,
    Sergio
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

    Can you give me more details on this.
    Currently i am assuming it like this
    You have a SharePoint online where you are running workflow from where you call an external rest service request.
    from this rest service you want to query sharePoint online using Current user context.
    if that is the case the above method can be also and cannot be ni will explain how
    when you care an app than you can get data from sharePoint using 2 authentication context 1 is User 2nd is App Only.
    but to create a user context / access token user must be present as it uses browser redirection to generate a token and pop up a dialog to user to provide credentials. 
    but to  get the app only context you can do it without any pop or user interaction where you call the sharepoint using app client ID and Secret.
    now it depends on your requirement what you want to do if your external rest service just require current user information from sharepoint than you can modify your Opeartion contract so that you can pass current user name in Rest method body param. and use
    the app only access token to get data filtered by current user Name.
    So there are possibility if you can explain in detail what exactly you want to do than we can figure out a solution for you.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • WCF Rest Service

    Hi,
    What the difference betwwen the wcf rest service and web api? When to choose to use the web api?

    Hi Andrewsys,
    >>What the difference betwwen the wcf rest service and web api?
    For the difference betwwen the WCF Rest Service and Web API, please try to refer to the following information:
    WCF Rest Service:
    To use WCF as WCF
    Rest service you have to enable webHttpBindings.
    It support HTTP GET and POST verbs by [WebGet] and [WebInvoke] attributes respectively.
    To enable other HTTP verbs you have to do some configuration in IIS to accept request of that particular verb on .svc files
    Passing data through parameters using a WebGet needs configuration. The UriTemplate must be specified
    It support XML, JSON and ATOM data format.
    Web API:
    This is the new framework for building HTTP services with easy and simple way.
    Web API is open source an ideal platform for building REST-ful services over the .NET Framework.
    Unlike WCF Rest service, it use the full featues of HTTP (like URIs, request/response headers, caching, versioning, various content formats)
    It also supports the MVC features such as routing, controllers, action results, filter, model binders, IOC container or dependency injection, unit testing that makes it more simple and robust.
    It can be hosted with in the application or on IIS.
    It is light weight architecture and good for devices which have limited bandwidth like smart phones.
    Responses are formatted by Web API’s MediaTypeFormatter into JSON, XML or whatever format you want to add as a MediaTypeFormatter.
    >>When to choose to use the web api?
    Choose Web API when you want to create a resource-oriented services over HTTP that can use the full features of HTTP (like URIs, request/response headers, caching, versioning, various content formats).
    Choose Web API when you want to expose your service to a broad range of clients including browsers, mobiles, iphone and tablets.
    For more information, please try to refer to the following articles:
    https://msdn.microsoft.com/en-us/library/jj823172(v=vs.110).aspx .
    http://www.dotnet-tricks.com/Tutorial/webapi/JI2X050413-Difference-between-WCF-and-Web-API-and-WCF-REST-and-Web-Service.html
    http://blogs.msdn.com/b/fkaduk/archive/2014/01/07/rest-wcf-vs-webapi-throughput.aspx .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Rest services using WCF

    Hi,
    Couple of doubts about wcf rest  services.
    1, how a wcf rest service call is made from a asp.net mvc or asp.net web application .
     a, What is the better way to consume in ecommerce application (where traffic is more)
    b, is it using a httpwebrequest obejct or do we need to create a proxy class , can anybody paste a snippet of the code
    consume it ore please suggest a web reference link .
    2, is the web api took over the wcf rest service role  or still it is using in industry.
    Thanks

    Hi techasuran,
    >>1, how a wcf rest service call is made from a asp.net mvc or asp.net web application .
    a,What is the better way to consume in ecommerce application (where traffic is more)
    b, is it using a httpwebrequest obejct or do we need to create a proxy class , can anybody paste a snippet of the code
    For the WCF Rest Service, we can not do the add the service reference as do in WCF SOAP Service, because the REST Service has no concept of a WSDL in WCF. Then if you want to call the WCF Rest Service from a asp.net mvc or asp.net
    web application, please try to use the HttpWebReqest, HttpClient or the Jquery to help us. In my mind the better way to consume the WCF Rest Services in the ecommerce application is to use the Jquery Ajax Calls.
    For more information, please try to refer to the following articles:
    #Call Restful Service using HttpWebRequest:
    http://fromjami.wordpress.com/2013/05/26/call-restful-service-using-httpwebrequest-and-post-data/ .
    #Create and consume WCF Restful Service using an HttpClient:
    http://chsakell.com/2013/07/12/create-and-consume-wcf-restful-service-using-an-httpclient/ .
    #Consume RESTful service using jQuery in 2 simple steps:
    http://www.topwcftutorials.net/2013/10/consume-rest-service-using-jquery.html .
    >>2, is the web api took over the wcf rest service role  or still it is using in industry.
    Web API is open source an ideal platform for building REST-ful services over the .NET Framework. Unlike WCF Rest service, it use the full featues of HTTP (like URIs, request/response headers, caching, versioning, various content formats). It also supports the
    MVC features such as routing, controllers, action results, filter, model binders, IOC container or dependency injection, unit testing that makes it more simple and robust.
    For more information about the difference betwwen the WCF Rest Service and Web API and how to choose betwwen them, please try to refer to the following articles:
    #Difference between WCF and Web API and WCF REST and Web Service:
    http://www.dotnet-tricks.com/Tutorial/webapi/JI2X050413-Difference-between-WCF-and-Web-API-and-WCF-REST-and-Web-Service.html
    #WCF or ASP.NET Web APIs:
    http://www.codeproject.com/Articles/341414/WCF-or-ASP-NET-Web-APIs-My-two-cents-on-the-subjec .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for