REST and ContextInfo / REQUESTDIGEST

I am trying to use a SharePoint 2013 Workflow to modify basic site settings (Title, Description). Is it required to pass the X-RequestDigest in the headers in order to be able to do this?
I have been struggling with updating the title to a subsite. I keep getting 'BadRequest' in the workflow log. I am remembering to pass MERGE in X-HTTP-Method in the headers.
Thanks!

Dear all,
Did I ever say that I needed it explained to me?
Wasn't I clear enough when I said:
Hope that somebody read a book and could refer it to me.
I am already busy looking in google and bing and yahoo.
Hoping somebody knows who did the research, so i can read up on it and test out the difference. why invent the wheel aggain?
Dear Tony,
I see that you have alot of posts, so maybe you were in a bad mood.
But when people ask questions, you should asume that they done all they could in their power or knowledge.
Google gives alot of suggestions but not all of them help in peoples questions.
It is up to people like yourself who volunteerd to join a community to guide them so they can improve. Saying stuff like go google it is like saying somebody whoa asks where he could watch whales to go to the ocean. But my ocean does not have whales, so that would not help someone from my town.
Sorry if you had a bad day, sorry if I struck a nerve.
But as we learned when we were young: “If you can’t say something nice . . . don’t say nothing at all.” - Thumper
And to anwser the question:
w3school has the basic on soap and rest
I will have to learn web services first
oreilly has some books on the subjects. guess i will go for the most popular ones.
But the difference between (rest, soap) webservices and standard reports and forms i could not find. Will post when I find something.
Raoul
Suriname, Paramaribo

Similar Messages

  • REST and ODATA service

    Hi,
    I am using PI 7.4.
    I have few queries regarding REST and ODATA service -
    What is REST based services in PI?
    If there is an ODATA service in SAP, how can we use that in PI for mapping needs?
    Where we need to use BAPIs and where we can consume odata services that are being built for SAP UI5 project.

    Hi
    Kindly check the following links:
    REST Adapter on Advanced Adapter Engine (New) - What's New in SAP NetWeaver 7.4 (Release Notes) - SAP Library
    REST Adapter on Advanced Adapter Engine (New) - What's New in SAP NetWeaver 7.3 EHP1 (Release Notes) - SAP Library
    https://www.advantco.com/product/REST
    PI REST Adapter - Blog Overview
    Regards,
    Xineohpi

  • REST and SOAP

    Hi all,
    I just read that REST and SOAP are available for use in APEX.
    Yet I do not know what these terms are, why would I want to use these technologies over the simple forms and reports?
    Where can I get information about REST and SOAP in relation to what I am used to working with (PL/SQL and APEX)?

    Dear all,
    Did I ever say that I needed it explained to me?
    Wasn't I clear enough when I said:
    Hope that somebody read a book and could refer it to me.
    I am already busy looking in google and bing and yahoo.
    Hoping somebody knows who did the research, so i can read up on it and test out the difference. why invent the wheel aggain?
    Dear Tony,
    I see that you have alot of posts, so maybe you were in a bad mood.
    But when people ask questions, you should asume that they done all they could in their power or knowledge.
    Google gives alot of suggestions but not all of them help in peoples questions.
    It is up to people like yourself who volunteerd to join a community to guide them so they can improve. Saying stuff like go google it is like saying somebody whoa asks where he could watch whales to go to the ocean. But my ocean does not have whales, so that would not help someone from my town.
    Sorry if you had a bad day, sorry if I struck a nerve.
    But as we learned when we were young: “If you can’t say something nice . . . don’t say nothing at all.” - Thumper
    And to anwser the question:
    w3school has the basic on soap and rest
    I will have to learn web services first
    oreilly has some books on the subjects. guess i will go for the most popular ones.
    But the difference between (rest, soap) webservices and standard reports and forms i could not find. Will post when I find something.
    Raoul
    Suriname, Paramaribo

  • HT2538 what do I do once it starts a single tone and rest again single tone and rests and repeats ?

    what do I do once it starts a single tone and rest again single tone and rests and repeats ?

    If you are still under warranty and/or have AppleCare, call them.

  • My password is no longer working.. I did NOT change it. I requested that it be re-rest and it would email me the steps to re-set. I've done this several times... I dont get the email w/ instructions.. Ive checked spam folder also.. please help

    my password is no longer working.. I did NOT change it. I requested that it be re-rest and it would email me the steps to re-set. I've done this several times... I dont get the email w/ instructions.. Ive checked spam folder also.. please help

    You can send iTunes an email about your password and they can reset it on their end and email you the temp password. When they reset the password they usually make it something generic like Apple06.11
    You can email them here: http://www.apple.com/support/itunes/contact.html?form=el&topic=Express%20Lane%20 inquiry
    If they don't get back to you, you can also call AppleCare: 1-800-275-2273 and see if they are able to reset.
    Hope that helps.

  • Hi i was using safari one day and my ipod randomly shut off it will now not turn back on i tried hard resting and everything else when i plug the ipod into a charger it gets really hot in the left corner and itunes did not recognize

    hi i was using safari one day and my ipod randomly shut off it will now not turn back on i tried hard resting and everything else when i plug the ipod into a charger it gets really hot in the left corner and itunes did not recognize any help will be apreciated thank you

    Try placing the iPodin recovery mode and then try to restore the iPod via iTunes on your computer.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore
    Next would be to make an appointment at the Genius Bar of an Apple store since you likely have a hardware problem.

  • After upgrading to IOS 5.1.1 the Wi-Fi selection in settings greyed out and now says No Wi-Fi.  Have tried restting and restoring both from te phone and from Itunes but this does not solve the problem.

    I recently upgraded my Iphone 4s to 5.1.1 and founf the Wi-Fi button in settings greyed out saying No Wi-Fi.  I have tried Reset network Settings, Rest All Settings and restore in Itunes but to no avail.  I understand this is a comon occurence but I cant find a solution to it.  Can anybody help?

    See this tip --> http://support.apple.com/kb/TS1559
    If this doesn't resolve it you most likely have a hardware failure. Fortunately, your phone is in warranty, so if you take it to an Apple store they will replace it.

  • Add Item using REST and populate People field (SharePoint 2010)

    I am trying to add an item to a list that has a People type field using REST API.  For some reason, I am getting 400 (Bad Request) error.  Can anyone show me how to add a list item and populate the user field?
    Here's the code snippet I am using -
    var url = 'https://mytestsite/_vti_bin/listdata.svc/mylist';
    var item = {};
    item.Title = 'my REST item';
    item.User = 'contoso\user1';
    var jsonObj = Sys.Serialization.JavaScriptSerializer.serialize(item);
    $.ajax({
             type: 'POST',
             url: url,
             contentType: 'application/json',
             processData: false,
             data: jsonObj,
             success: function ()
               console.log('item updated');
    Thanks!

    Hi,
    To update the People field, we will need to make a reference to the user information list.
    Here are two links will provide more information:
    http://sharepoint.stackexchange.com/questions/65650/rest-api-update-a-muli-value-user-field
    http://charliedigital.com/2011/04/23/updating-user-fields-via-listdata-svc/
    You can view the User Information list in this way:
    http://zimmergren.net/technical/sharepoints-hidden-user-list-user-information-list
    Best regards
    Patrick Liang
    TechNet Community Support

  • Unable to add aspx file to document library using REST and JSOM in SharePoint Hosted App

    Hi,
    I am unable to add an aspx file to document library.  I was actually trying to create a WIKI page and upload to Pages library but that wasn't working so I tried simple document library.  It keeps failing with Access Denied error.  I have checked
    the blocked types and aspx is not included.  I can upload it directly from the browser so that shouldn't be the case.  I have read that it can be achieved with CSOM but I need this to work with a SharePoint Hosted App.  Here is my JSOM:
    factory = new SP.ProxyWebRequestExecutorFactory(appweburl);
        context.set_webRequestExecutorFactory(factory);
        appContextSite = new SP.AppContextSite(context, hostweburl);
        oWeb = appContextSite.get_web();
        oList = oWeb.get_lists().getByTitle('Documents');
        fileCreateInfo = new SP.FileCreationInformation();
        fileCreateInfo.set_url("mywiki.aspx");
        fileCreateInfo.set_content(new SP.Base64EncodedByteArray());
        fileContent = "<%@ Page Inherits=\"Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c\" %> <%@ Reference VirtualPath=\"~TemplatePageUrl\"
    %> <%@ Reference VirtualPath=\"~masterurl/custom.master\" %>";
        for (var i = 0; i < fileContent.length; i++) {
            fileCreateInfo.get_content().append(fileContent.charCodeAt(i));
        newFile = oList.get_rootFolder().get_files().add(fileCreateInfo);
        context.load(newFile);
        context.executeQueryAsync(function () {
            alert('yo');
        }, function (sender, args) {
            alert(args.get_message() + '\n' + args.get_stackTrace());
    If I change the file extension to "txt", it works.  Same with REST implementation, it works with "txt" but fails with "aspx".  Maybe what I am trying to do will not work using JSOM or REST.  Any suggestions?  Your
    help is always appreciated.
    Regards,
    kashif

    Your code works fine in both my on-premises and SharePoint Online. I have given the app full control, so I suspect this is a permissions issue. I would check your permissions on your appmanifest. Must be something to do with publishing permissions. Try
    giving full control and work the permissions down.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Watched part of movie last night, and now trying to watch the rest and it's telling me I have to wait an hour and 40 minutes..... What the

    I want to watch the movie now not in another hour or so. If I have to wait the following day to see the rest of a movie, I should get another day of rental.

    Unfortunately even if it's all downloaded, doing relatively simple things can flush the whole download and require it to load/buffer again as you have found.
    AppleTv 2 has been programmed with an assumptiuon everyone has fast unlimited broadband which is untrue - they could easily code the unit to keep the download until you deleted it even if that limited some other activities on the unit until you selected to delete the film.  You should at least have a choice andf not have to redownload.
    Send feedback:
    http://www.apple.com/feedback/appletv.html
    You may find renting in itunes gets around this but some things will only be SD and will need to download fully to itunes before it'ss play in AppleTV under Computer>iTunes>Rentals.
    AC

  • REST and PDF Generation

    Hi All,
    I am new to LiveCycle.We are running 7.2 on JBoss.
    The developing_applications.pdf file has a section on Developing a REST application and also mentions that the sample code can be found and downloaded from
    http://partners.adobe.com/public/developer/livecycle/devcenter.html
    I have look and looked and I cannot seem to find any references to a REST tutorial or sample code.
    Does anyone have the REST sample that is mentioned in this guide?
    Greg

    It's possible to generate a PDF using JavaScript (not in Reader, though),
    but it's very limited and cumbersome.
    A better option is to use an "envelope" to show a blank PDF that can only be
    opened when JavaScript is enabled. I know some people have been developing
    such a tool, perhaps they could shed more light on this technique.

  • REST and content wrapped inside !CDATA in xml feeds

    I would like some assistance in extracting jpg images for a gallery inside !CDATA in REST feeds like
    http://saturn.jpl.nasa.gov/news/latest-cassini-huygens.xml - source looks like:
    <item>
    <title><![CDATA[NASA Cassini Images May Reveal Birth of a Saturn Moon]]></title>
    <description><![CDATA[<table border="0" cellpadding="5"><tr><td><img src="http://saturn.jpl.nasa.gov/multimedia/images/rings/images/IMG005008-th100-75.jpg" alt="Commotion at Ring's Edge May Be Effect of Small Icy Object" width="100" height="75" border="0" align="left"></td><td valign="top">Cassini has been documenting a process that may be replaying, in miniature, the birth process of about two dozen moons of Saturn.</td></tr></table>]]></description>
    <link>http://saturn.jpl.nasa.gov/news/newsreleases/newsrelease20140414/</link>
    </item>
    -- Barb Bowman

    Barb,
    Try this:
    1) Create a custom gallery
    2) Set the custom gallery data source to latest_cassini_huygens_xml!channel!item
    3) Add a image visual into the gallery
    4) Set the image visual data source to Mid(ThisItem!description!'$text',Find("http",ThisItem!description!'$text'),Find("jpg",ThisItem!description!'$text')+3-Find("http",ThisItem!description!'$text'))
    Note: The Mid function extracts out the img src url from the description text.
     Yes! Thank you! Is there more documentation on this functionality (other than what is on blob)? So the +3 does in relation to extracting the image in combination with the word 'jpg' following the word "http' pulls the whole string and since
    it is an image field, it works (?). I sure didn't get that from the docs on blob...
    2.34 
    Mid
    Usage: Mid(text, start_position, num_chars)
    Mid(textColumn, start_positions, num_chars)
    Returns the characters from the middle of a string, given the starting position and the number of characters to extract.
    Examples:
    Mid(“ABCDEFG”, 3, 3) returns “CDE”.
    Mid( [“ABCDEFG”, “Sienna”], [2, 3], [3, 3]) returns [“BCD”, “enn”].
    I'd like to also extract the text without HTML markup (which happens when I use the description value (obviously) but I don't think the Mid function helps here. Is there something else that might work to extract the text I want?
    <description><![CDATA[<table border="0" cellpadding="5"><tr><td><img src="http://saturn.jpl.nasa.gov/multimedia/images/rings/images/IMG005008-th100-75.jpg"
    alt="Commotion at Ring's Edge May Be Effect of Small Icy Object" width="100" height="75" border="0" align="left"></td><td valign="top">Cassini has been
    documenting a process that may be replaying, in miniature, the birth process of about two dozen moons of Saturn.</td></tr></table>]]></description>
    -- Barb Bowman

  • Call Webservice using REST and not SOAP

    Hi, I am looking for an example of calling (invoking) a webservice from the database using PLSQL. The webservice is using REST rather than SOAP and returning XML
    I have already got examples of how to call a webservice using SOAP but not for REST
    Regards
    Ash

    Using Fiddler while loading your WSDL in a browser, I can see that the WSDL is using HTTP Chunked encoding. You should configure JBoss to return the WSDL without chunked encoding.

  • OSB, REST, and browser authentication with OAM

    All,
    I'm looking for some advice regarding the consumption of REST services (from the users browser) in an environment that utilizes OAM security and the Oracle Service Bus. Let me set the stage.
    We've configured an instance of OAM with OHS acting as a proxy to our applications. One of our apps wants to pull some data (using an AJAX call) from a service directly to the browser. The service is currently protected using HTTP Basic authentication. This works fine for Java apps that want to make those service calls directly, but not so well when it is the browser that wants to make the call.
    My assumption (up to this point) had been that I would be able to utilize the OAM Identity Asserter on the service bus in much the same way that we have been using it to propagate identity to our application servers. After speaking with some of the service developers (guys more intimately familiar with the OSB than I am) we haven't tried to do this before and are unsure of the proper implementation to acheive our goal.
    So, with all of that being said, am I barking up the wrong tree? Would it be incorrect to have a REST service written that is serviced by two different OSB proxies? One that enforces HTTP Basic, and one that (somehow) uses the OAM_REMOTE_USER and an appropriate identity asserter to pass identity in such a manner that the OSB would be able to enforce security in that manner?
    Is there a better way to secure REST services being made from the browser?
    Thank you for any help/direction you can provide.
    --james                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    If you want to use custom authentication plugin then OAM provides a way to create a custom authentication module and you can orchestrate your steps based on your conditions. See http://docs.oracle.com/cd/E21764_01/doc.1111/e12491/authnapi.htm for more details.
    Hope this helps,
    Sagar

  • REST and JSON in OC4J?

    Hi,
    Pardon my ignorance with web technologies as I'm still starting. Just wanted to ask, is it possible to create and deploy RESTful Web Services and JSON format in OC4J?
    Thanks,
    Allen

    I think you can work that within the orion-application.xml file:
    <imported-shared-libraries>
         <remove-inherited name="oracle.xml"/>
         <import-shared-library name="xalan" />
         <import-shared-library name="xerces" />
    </imported-shared-libraries>
    Where you've defined shared-lib entries for the above.
    Reference:
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html
    I don't know if this is handled in the same way for the version you are dealing with, however.

Maybe you are looking for

  • How to stop the animation at a certain frame?

    Well, as the title already says, how can I stop my animtation at a certain frame. Is it only possible due setting up a timer, or can I also enter a code that stops at a certain frame? And when I stop the animation, will my buttons still be able to ge

  • ORAENV file to be disabled

    Hi, Oracle Version:10.2.0.3 Operating system: Linux Here i have a doubt .I was unable to connect to database with oracle OS user until i run the oraenv file . How can i disable oraenv file in order to connect to the database with out running the orae

  • Upcoming webinar in the Lumira series is on March 26th: Introduction to Lumira Cloud

    We are all having fun with Lumira aren't we! It was so exciting to see the love Lumira is getting from the market. The last webcast had 150+ attendees join us to see what they can achieve with Lumira SDK!! Reserve you spot now for the upcoming webina

  • Video sent as MMS, not as a iMessage (send as sms option is disabled)

    Hi, everything works great on my iPhone 4S 64GB iOS6. By the way, today I tried to send a videoclip thru iMessage to another iPhone 4S with iOS6, I was connected at my WiFi, the iPhone displayed the error "iMessage not sent, retry please" or somethin

  • Song no longer available for purchse??

    I have tried to buy 4 different songs and each time a window pops upa nd says the song you wish to purchase is no longer available in the store?? Help! generic   Windows XP