SP2013 Remote Event Receivers for Office365 and Custom Web Service

Hello I'm starting to work with remote event receivers for Office365 and I read that the RERs runs only as Provider-Hosted or Auto-Hosted Apps, so If I wanted to implement for example prevent to the user add items to some list, my question is : 
is it needed an account in a  platform cloud like Azure(to support .net apps) or have a custom server like IIS(with public IP, dns) in order to hosting my WFC service and to be able to manage the events registered into office365 ? or exist another option
to achieve this goal(prevent to users perform some actions) ? please, can you help me to clarify this ?....

Hi,
The following articles would be helpful:
Deploying SP2013 provider-hosted apps/Remote Event Receivers to Azure Websites (for Office 365 apps)
http://www.sharepointnutsandbolts.com/2013/07/deploying-sp2013-provider-hosted.html
Remote Event Receiver (RER) for Host Web using SharePoint Provider Hosted App in Office 365/SharePoint Online Environment
http://blog.kloud.com.au/2014/03/13/remote-event-receiver-rer-for-host-web-using-sharepoint-provider-hosted-app-in-office-365sharepoint-online-environment/
About Office 365 questions, you can also post it to Office 365 Forum, you will get more help and confirmed answers from there.
http://community.office365.com/en-us/forums/default.aspx
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • Standard Web Service and Customized Web Services with or without PI?

    Hi All,
    I want to know how I can use Standard Web Service available in SAP  and customized Web Services
    without PI Interface?
    And what is the best practice to expose services ,via PI Interface or directly?
    Thanks in advance!!
    Pushkar

    This is purely based on your requirement. If you use PI middleware to expose web services, you get standard functionalities such as certificate authentication, logging, message reprocessing for the failed messages etc.  If your requirement is so simple, then you might not need PI. In this case you can develop simple webdynpro for abap program to create webservice and expose the webservice in ECC webservice runtime. You can let anyone to consume within your network. other ways like exposing BAPI/RFC as webservice.  I would recommend going with PI.

  • SharePoint Apps and custom web services as remote services

    Hello,
    After reading documentation about Apps for SharePoint compared with SharePoint solutions I did not find any information about "You
    can develop your custom web services as remote services.".
    Could you please give me links or advise, where I can get information - "How to develop custom web services as remote services" using SharePoint 2013 Apps?

    Hi,
    I would suggest you to use WCF service instead of Web Service,
    also, SharePoint 2013 introduces a Representational State Transfer (REST) service that is comparable to the existing SharePoint client object models.
    Get started with the SharePoint 2013 REST service
    About develop custom web services as remote services,see Demo here:
    SharePoint 2013: Custom REST service provides data to an app for SharePoint
    Best Regards
    Guangchao chen
    TechNet Community Support

  • Support for document and documentwrapped web services

    List,
    Are "document" and "documentwrapped" style web services supported in WSL 8.1 SP1?
    The
    documentation referenced below [1] [2] indicates that these styles are supported,
    but in the
    Unsupported Features section of the Web Services overview [3] states the RPC literal
    style and
    Document encoded style are not supported. It is my understanding that the style
    attribute
    values of the servicegen ant task map to the SOAP encodings as follows:
    RPC -> SOAP RPC
    documentwrapped -> SOAP RPC-literal
    document -> SOAP document-literal
    Is this correct?
    Regards,
    Kent
    [1] http://edocs.bea.com/wls/docs81/webserv/design.html#1038901
    [2] http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1063540
    [3] http://edocs.bea.com/wls/docs81/webserv/overview.html#1074641

    So is it a true statement that if I use the documentwrapped style, I don't have
    the restriction
    of having only one void method while gaining the scalability and performance benefits
    [1] of
    SOAP document-literal encoding? Does the documentwrapped style have any restrictions
    regarding out and in-out parameters? If so, what is the correct way in Java to
    specify a
    parameter as "IN" only?
    Thanks again,
    --Kent
    [1] http://dev2dev.bea.com/products/wlworkshop/articles/Cohen.jsp
    "manoj cheenath" <[email protected]> wrote:
    This is correct. In the doc/lit bare case, a
    method with no parameter will have an empty
    soap envelope. If you look at the schema for
    this operation, it will be an empty complexType.
    So in the style, you can only have one void
    method. WLS tools (servicegen/source2wsdd) do
    not enforce this. Which I think is a bug.
    Hope this helps,
    -manoj
    http://manojc.com
    "manoj cheenath" <[email protected]> wrote in message
    news:[email protected]...
    This is correct. In the doc/lit bare case, a
    method with no parameter will have an empty
    soap envelope. If you look at the schema for
    this operation, it will be an empty complexType.
    So in the style, you can only have one void
    method. WLS tools (servicegen/source2wsdd) do
    not enforce this. Which I think is a bug.
    Hope this helps,
    -manoj
    http://manojc.com
    "Kent Kvarfordt" <[email protected]> wrote in message
    news:[email protected]...
    Bruce,
    How do the restrictions apply to methods that do not have any paramters?
    >>>
    I have attached a copy of the weblogic webservice complex example that I
    modified
    to use
    document style encoding and contains two noarg methods, getVersion
    and
    getAnotherVersion. I also modified the buy and sell methods to take single arguments.
    Following are the results from the test web page for a call to getAnotherVersion.
    <!--REQUEST.................-->
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Header>
    </env:Header>
    <env:Body>
    </env:Body>
    </env:Envelope>
    <!--RESPONSE.................-->
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Header>
    </env:Header>
    <env:Body>
    <n1:buy
    xmlns:n1="http://www.bea.com/examples/Trader">getVersion</n1:buy>
    </env:Body>
    </env:Envelope>
    What am I missing? BTW - I am using Weblogic Server 8.1 SP1.
    Also, how does the weblogic documentwrapped style map to the SOAP encodings
    SOAP RPC, SOAP RPC-literal, and SOAP document-literal? Are the messages encoded
    SOAP doc/lit, but the programming model allows for multiple parameters? Is
    the documentwrapped style specific to weblogic webservices?
    And finally, given Java is a pass by value language, do I need to
    do
    anything
    special to the webservice method signatures to specify the parameters
    as
    "IN"
    parameters?
    Thanks for all the help. From looking at the list traffic, your
    keeping
    busy.
    Regards,
    Kent
    Bruce Stephens <[email protected]> wrote:
    Hi Kent,
    There are restrictions on the doc/lit style of encoding, such as
    the
    methods that implement each operation of the Web Service can have only
    one parameter and the methods that implement each operation cannot use
    out and in-out parameters. The documentwrapped generates a resulting
    Web Service operations that can take any number of parameters, although
    the parameter values will be wrapped into one complex data type in the
    SOAP messages. Manoj has an example of documentwrapped [1].
    We do not support rpc/lit. You might want to review this note by Yasser
    Shohoud, it explains this in exquisite detail [2]
    Regards,
    Bruce
    [1]
    http://manojc.com/?sample14
    [2]
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/h
    tml/rpc_literal.asp
    Kent Kvarfordt wrote:
    List,
    Are "document" and "documentwrapped" style web services supported
    in
    WSL 8.1 SP1?
    The
    documentation referenced below [1] [2] indicates that these styles are supported,
    but in the
    Unsupported Features section of the Web Services overview [3]
    states
    the RPC literal
    style and
    Document encoded style are not supported. It is my understanding
    that
    the style
    attribute
    values of the servicegen ant task map to the SOAP encodings as
    follows:
    RPC -> SOAP RPC
    documentwrapped -> SOAP RPC-literal
    document -> SOAP document-literal
    Is this correct?
    Regards,
    Kent
    [1] http://edocs.bea.com/wls/docs81/webserv/design.html#1038901
    [2] http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1063540
    [3] http://edocs.bea.com/wls/docs81/webserv/overview.html#1074641

  • Reliability of Remote Event Receivers

    I have a project with Provider Hosted App on an SP2013 On-Premise environment.
    I had to rely on Remote Event Receivers for a document upload event.
    I found my peers had bitter experience with Remote Event Receivers.
    The problems they mention is:
    It is not consistently firing
    Is this a known issue?
    Any documentation?
    Any alternative solutions?
    Thanks.

    Hi,
    According to your post, my understanding is that Remote Event Receivers is not consistently firing.
    You need to allow remote connections to IIS on the correct port for all users, then either disable windows firewall or allow the port.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/ff78c575-27a8-4561-93ac-a6a440908871/sp2013-remote-event-receivers-wont-fire-in-onpremises-providerhosted-app?forum=appsforsharepoint
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Printing confirmation of balance for vendors and customer-urgent

    Hi,
    Thanx Vamsi for the reply.
    I have got 1 more doubt.we are using CUSTOMISED correspondence types.The annexure we give has only the open items.But the users want a list of cleared items to appear in the list.
    Will the confirmation have only open items ???? or can it take even the cleared items along with it.Can the print program be modified to take even the cleared items along with it.
    Kindly advise.
    Thanks in advance
    Regards
    Karpagam

    Hi,
    We are using print program SAPF130K and SAPF130D for vendor and customer respectively.
    My query is can we bring even the cleared items alongwith the open items in the same print program???
    Now we have line items of open line items only?? As per our exploration into the program... we get only open items..
    Also we are using SAP10 and SAP11 as the correspondence type.Kindly advise as to correspondence type should be changed so that it can print both the open and cleared items?
    Please reply ASAP as it is very urgent.
    Thanks in advance.
    Regards
    Karpagam

  • Can I use one Business Partner repository for Vendor and Customer?

    Can I use one Business Partner repository for Vendor and Customer? or do we have to use Vendor and Customer Repository separately. How can we do that? What are the pros and cons? can any one provide some examples:

    Hi Deepak
    The key purpose of SAP "enabling" the facility of multiple main tables in a repository is to primarily "manage" those master data objects that are related to each other. Typical examples will be a) Customer - Material, b) Supplier - Material, etc.
    While, it is pretty easy to add multiple main tables in a repository, it is also important to understand the purpose of doing so based on the business requirements.
    Besides, you got to be aware that in case you are "fixing" any issues with one main table (master data object) for which you have to unload the repository, the users will not be able to use the repository that has a main table defined for other master data object. Hence, there are pros and cons of using this capability of multiple main tables.
    So, it is really important to understand the "W's" - What, Why, When, Where, Who of Data modeling before actually working on the "H" - How to in the SAP MDM tool.
    Hope this helps.
    Regards
    Neelesh

  • UWL Integration for Material and Customer Repositories

    Hello all,
    Has someone done the UWL Integration for Material or Customer repositories? Do we have to write own XML Configuration file for UWL and upload? or is that supplied by SAP somewherer for Material and Customer repositories?
    Any pointers in this direction are highly appreciated.
    Thanks
    Suman

    Hi Suman,
    You can create your UWL Configuration file through UWL Cofiguration file wizard.
    The path is navigate to System Administration  System Configuration   Universal Worklist – Administration.
    Under Universal Worklist Content Configuration select Click to configure item types and customize views using a wizard.
    Thanks
    Namrata

  • SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

    Hi Experts,
    I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
    1) Is it possible to create custom object web service and used in external system ?
    2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
    3) Sample Scenario :
    My Custom Business Object
    businessobject Custom_Integration {
      element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
    I have created the Web Service using this custom business object.
    3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
    Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
    Many Thanks
    Mithun

    Hello Mithun,
    Does this section in the documentation help you:
    SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
    The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
    The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
    HTH,
       Horst

  • Customizing Web Service for VC 7.10

    Hi guys!
    I need a big help for the topic "web services and VC".
    I read the Scott's blog (The specified item was not found.) and it's great, web services working fine!
    But if I would create custom web service (for example to insert google maps on vc model) what can I do?
    I know, it's hard to explane all the web services technology and implementation (Java, C#, XML etc.) but if someone know some tutorial or web guides..
    Thanks a lot guys!
    Edited by: Andrea Davoli on Oct 21, 2008 3:39 PM

    Hi Andrea,
    I assume that you refer to VC 7.0... otherwise the question should be moved to the VC 7.1 forum...
    The following blog contain also a video that show you the process in detail:
    How to consume Web Services with Visual Composer 7.0
    Also important SAP Notes regarding limitations, structure and pre-requisites are mentioned there.
    In the SAP Help Portal you can find information about Web Services created within NetWeaver:
    http://help.sap.com/saphelp_erp2005/helpdata/en/db/99c04ba22fe64f96a8651df68eab92/content.htm
    Hope this helps,
    Best Regards,
    Luis

  • How to use wsit with jeveloper for developing and testing web servises

    hi, all. Just want to ask one realy simple quastion.
    I'm new with web servises, so my question may be doesn't fall well into this section , but this community looks friendly for me and i hope to get some usefull links and advises.
    First of all could anybody say me if i'm righ or wrong with the following suggestions:
    1. What is the principal difference between axis 2 and wsit products? Do i understand right that they both extend or support so called jax-ws2 API and represent different approaches in that (are they competitors?), or this products serve for different sakes at all and could be used together? I want to understand without much digging how these products correlate with each other...
    2. If i'm right what is oracle favor? And if oas standard supply doesn't include wsit, how to install and use this product for creating interoperable web servises in jdeveloper enviroment? ...or jax-ws 2.1 wasn't included in oc4j v10 and will be the part of v11 only?
    Thanks in advance. Alex.
    Message was edited by:
    Timin
    Message was edited by:
    Timin

    Both Axis and WSIT are not Oracle products - so I'm not exactly sure why would you post the question here.
    JDeveloper has native support for JAX-RPC based Web services development in 10.1.3 and JAX-WS support in 11 - check out the online demos linked from the home page to see these in action.

  • Order for starting and stopping DPM services

    Hi,
    we would like to automatically stop and start DPM Services on our DPM 2012R2 Servers with a script.
    It would be nice if anyone could tell me the right order for stopping and starting DPM services .
    Thanks in advance
    regards
    /bkpfast
    My postings are provided "AS IS" with no warranties and confer no rights

    Thanks for your reply!
    I guess that is the start order.
    Startup type of DPMRA is manual...
    Any hints regarding a clean stop order would be nice.
    Thanks in advance...
    /bkpfast
    My postings are provided "AS IS" with no warranties and confer no rights

  • CUP support for Automated Approval via web service

    Wanted to know if a stage in a workflow defined in CUP can be defined that invokes a custom web service that returns an approval indicator. All the web services I've seen in GRC are at predetermined points or prebuilt integration sections. We need the ability for a custom web service to be invoked when this stage is encountered in the request workflow. If the web service return true, then the stage would be deemed approved and move onto the next state. Out hope is to automate the approval process so that a user does not need to approve the stage themselves. thanks in advance.

    Hi Brian,
    The webservices defined normally interact with the other GRC components. I've not seen the approval workflow interact with custom webservices.
    It would probably involve fairly in depth customisation of the java services and code.
    I thnk that the CUP workflow is pretty much self contained and therefore can only read approvals from it's own engine.
    Simon

  • Custom web service in SharePoint 2010

    Hi,
    I have developed one custom web service and deployed in inside 14 hive Layout folder. I have to consume this custom web service in WCF REST services. This WCF REST service will be consumed in to HTML 5 and javascript application (Presentation Layer). Here
    is the code for Custom web service :
    [WebMethod]
    public string[] GetSponsorList()
    string url = "https://ptmdev.bpiper.com/";
    //string strUserName = "ravikant";
    string sponsorTitle = string.Empty;
    string[] arrTitle;
    string[] myArray;
    DataTable dtSponsor = new DataTable();
    string error = string.Empty;
    ArrayList myArrayList = new ArrayList();
    try
    dtSponsor.Columns.Add(new DataColumn("sValue", typeof(string)));
    dtSponsor.Columns.Add(new DataColumn("sText", typeof(string)));
    using (SPSite site = new SPSite(url))
    using (SPWeb web = site.OpenWeb())
    //SPUserToken userToken = web.AllUsers[strUserName].UserToken;
    SPWebApplication webApplication = SPContext.GetContext(web).Site.WebApplication;
    SPSiteCollection siteCollections = webApplication.Sites;
    int i = 0;
    if(web.CurrentUser!=null)
    myArrayList.Add("User:"+web.CurrentUser.LoginName);
    else
    myArrayList.Add("Null User..");
    foreach (SPSite siteCollection in siteCollections)
    if (siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages))
    if (siteCollection.Url.ToString().ToLower().Contains("/sponsor/"))
    sponsorTitle = siteCollection.RootWeb.Title;
    if (string.IsNullOrEmpty(sponsorTitle))
    arrTitle = siteCollection.Url.Split('/');
    sponsorTitle = arrTitle[arrTitle.Length - 1];
    dtSponsor.Rows.Add(new object[] { siteCollection.Url, sponsorTitle });
    i = i + 1;
    siteCollection.Close();
    catch (Exception ex)
    error = ex.Message;
    myArrayList.Add(error);
    if (dtSponsor.Rows.Count == 0)
    myArrayList.Add("No Data available 101");
    myArrayList.Add("No Data available 102");
    myArrayList.Add("No Data available 103");
    for (int i = 0; i <= dtSponsor.Rows.Count - 1; i++)
    for (int j = 0; j <= dtSponsor.Columns.Count - 1; j++)
    myArrayList.Add(dtSponsor.Rows[i][j].ToString());
    myArray = (string[])myArrayList.ToArray(typeof(string));
    return myArray;
    Above code will return a string array of SiteCollection URLs and Title. Th issue is siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages)
    logic is failed and due to this string array does not return desired result.
    web object is not containing users information due to that DoesUserHavePermissions logic is
    failing.
    Urgent help is needed.
    Thanks,
    Ravi

    Hi,
    According to your post, my understanding is that you have issue about siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages) logic when you custom web service.
    You can use siteCollection.RootWeb.DoesUserHavePermissions( SPContext.Current.Web.CurrentUser, SPBasePermissions.ViewPages)
     to check whether it works.
    In addition, you can use a RunWithElevatedPrivileges delegate.
    For more information, you can refer to:
    “Attempted to perform an unauthorized operation” and SPWeb.DoesUseHavePermissions
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • EBS11i to provide Web services and receive Web services

    Our corporate direction is to have all major systems internal has to communicate to each other using web services. No more using pl/sql, dblink, FTP to communicate.
    we are using EBS 11i.
    1) Is that possible to have our EBS 11i able to receive web service call and make web service call to other systems?
    2) Will 'Oracle AS Adapter for Oracle Applications' is the solution for this? is this adapter install at EBS box to receive web service call and make web service call to other systems?

    Hi,
    WebDynPro Java/ABAP are primarily User Interface technologies. Webservices are faceless (without UI ) components that provide certain functionality. Using UI technologies like WebDynPro Java/ABAP etc, we can build a face( UI ) to the webservices.
    DnyPro itself means a screen & WebDynPro is for building web based applciations.
    Hope this resolves your question.
    Well, if you still want to use it as provider & if you have an existing web-service, the way to do it is, Right click on your WebDynPro ABAP component & select CREATE->Service Call. Build a Custom Controller or use the Component Controller to get the service using service type = Webservice proxy for your webservice. You can use this Component as a Used component in any other webdynpro components & use this to access webservices.
    Thanks,
    Phani
    Edited by: Phani Rajesh Mullapudi on Oct 8, 2009 10:41 PM

Maybe you are looking for

  • DPS 6.3.1.1 - Issues while connecting through SSL

    Hello !! I have a issue where my application client reported that they are unable to connect to the LDAP using SSL. Where as everything works fine in LDAP (non secured) This is how our deployment looks. Clients <=> Load Balancer <=> DPS (2 instance)

  • Database query failing...no idea why...please help?

    Hello all, This is an addendum to the post I placed here yesterday. Here are the nuts and bolts: I have created two successful prototype test pages for my photo gallery. Ine displays thumbnails, one displays the full-size image and has navigation. wo

  • Configure standby database

    hi all; how many system r required to configure standby database i m configure standby database in a single(same) system where my primary database already running.if this possible or not i have configured my standby but when i start "c:\sqlplus sys@o

  • Problem using run as...

    i started making jar files and manifest files, then i went back to try and run my program, but it comes up with a window called "Progress Information" stating it was "searching for main types" and "looking through java indexes...". it never stops. i

  • How to maintain Dynamic Action for Infotype 2 .

    Hi SAP-HR Experts . I want to maintain Dynamic Action for Infotype 2 . If Employee's No. of Children exceeds then System immediately ask for maintenence of IT-21 also at the same time . How to maintain code in table V_T588Z . Please elaborate it . Th