WCF Data Service from Entity Framework 5 in SharePoint 2013

not sure which forum is best, so im going to throw it in here.
I am working on a proof of concept. I want to create a WCF Data Service within sharepoint 2013. not only do i want to do that, i want to use the Entity Framework 5 to expose the data via OData. Now, I have crawled the internet and seen various examples of
how to create wcf data services and wcf services in sharepoint 2010/2013. and have tried to apply those as needed to create this POC. So.. what I have done so far. 
MonitoringData.cs
[BasicHttpBindingServiceMetadataExchangeEndpoint]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
[System.Runtime.InteropServices.Guid("0185abf6-e8b8-42e2-9965-6bb644338077")]
public class MonitoringData : DataService<MonitoringServiceEntities>
// This method is called only once to initialize service-wide policies.
public static void InitializeService(DataServiceConfiguration config)
// TODO: set rules to indicate which entity sets and service operations are visible, updatable, etc.
// Examples:
config.SetEntitySetAccessRule("*", EntitySetRights.AllWrite);
config.SetServiceOperationAccessRule("*", ServiceOperationRights.All);
config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V3;
MonitoringData.svc:
<%@ServiceHost Language="C#" Debug="true"
Service="$SharePoint.Type.0185abf6-e8b8-42e2-9965-6bb644338077.AssemblyQualifiedName$"
Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressDataServiceHostFactory, Microsoft.SharePoint.Client.ServerRuntime, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
upon deployment, this error when hitting the https://server/_vti_bin/poc/monitoringdata.svc/$metadata
"The type 'xxxxxxxx', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could
not be found."
Breaking out the google-fu, i found that adding the dll to the <compilation> section was needed for the web.config. so i did that. and now i just get a blank screen with no errors.
so i crack open fiddler. i see the following 
200 http
tunnel to
server:443 0
401 https
server /_vti_bin/poc/monitoringdata.svc/$metadata
16
401
https server
/_vti_bin/poc/monitoringdata.svc/$metadata
0
404
https server
/_vti_bin/poc/monitoringdata.svc/$metadata
0
best i can see is that im either not authorized, and its returning null (which shouldnt be the case) or something is just busted.
The goal is to use ntml auth and https to connect to this service. any ideas?

One thing I found was that it's never worth the trouble to place the WCF service in a web site running SharePoint, it's better to place it in a dedicated web site, as described in this article:
http://sharepointdragons.com/2011/10/07/parallel-programming-in-sharepoint-2010-the-back-to-the-future-pattern/
It's usually too much work to get the web.config settings right because of the settings it inherits from its parents.
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com
I'll say that it is one solution to move the WCF Service outside of sharepoint. but my "1000 mile" requirements makes this a necessity. 
To broaden the scope of what I am doing, I have a custom SharePoint Service Application. this custom application has a proxy that used a restful interface. Now, with all the methods i will have to write (over 100, x3 for all of the "proxy to a proxy" scenarios)
I wanted to explore the idea of using odata. so i can use the various clients to write their own queries instead of me writing them all and exposing them. especially since its all linq queries to a database underneath. I feel that I am missing some specific
component to make this work, and its surely due to my incomplete knowledge of WCF or EF.

Similar Messages

  • Can't call WCF Data Service from within a WCF Service

    I am trying to query my WCF Data Service from within a WCF Service and I receive a error 404.  However, when I query the data service from my application, it works just fine.  The WCF Service will work just fine if I comment out the Data Service
    query request. 
    How do I get a WCF Service and a WCF Data Service to play nice?

    Hi,
    For this situation, first you could try to create the wcf data service and run it then consume the data service within your application by adding service reference.
    Here is an example for creating and consuming WCF Data service in console application, and for consuming the service in wcf service, you could just follow the same steps as the console application does.
    http://www.c-sharpcorner.com/uploadfile/dhananjaycoder/introduction-to-wcf-data-service-and-odata/
    Regards

  • WCF Data Service Template Missing in Visual Studio 2013

    I've installed WCF Data Service 5.6.3 but I still can't see the template when I try to add a new item. I can see the template in VS 2010 but not 2013.

    Hi,
    In which kind of project did you create WCF Data Service? It doesn't support some kinds of project.
    Make sure you've installed it correctly. You could try to install it from Nuget.
    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.

  • Working example of WCF Data Services inside Layouts or ISAPI

    I have been struggling for hours getting WCF data services to work inside SP2013 Layouts or _VTI_BIN. I create a hello world WCF service like so...
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public sealed class SampleService : ISampleService
    public string SampleServiceCall(string SampleValue) { return "Success"; }
    and create a .svc file like so
    <%@ServiceHost language= "C#" Factory= "Microsoft.SharePoint.Client.Services.MultipleBaseAddressDataServiceHostFactory, Microsoft.SharePoint.Client.ServerRuntime, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Service= "SharePoint.WCFService.Sample.Code.SampleService" %>
    and everything works great inside Layouts and _VTI_BIN. I change the SampleService to this...
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public sealed class SampleService : DataService<WSS_ContentEntities>
    public string SampleServiceCall(string SampleValue) { return "Success"; }
    // This method is called only once to initialize service-wide policies.
    public static void InitializeService(DataServiceConfiguration config)
    // TODO: set rules to indicate which entity sets and service operations are visible, updatable, etc.
    // Examples:
    // config.SetEntitySetAccessRule("MyEntityset", EntitySetRights.AllRead);
    // config.SetServiceOperationAccessRule("MyServiceOperation", ServiceOperationRights.All);
    config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2;
    and I get the error 
    The type 'SharePoint.WCFService.Sample.Code.SampleService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations
    could not be found.
    Its like inheriting from DataService causes a .net dll loading problem, it cant seem to find my dll anymore...

    Hi,
    Seems that you want to create a WCF Data Service, then I would suggest you follow the link below about how to create WCF Data Services, you can reference the SharePoint Object
    Model dlls if your need in your project:
    http://www.codeproject.com/Articles/572417/AplusBeginner-splusTutorialplusforplusCreatingpl
    If there are still any questions about WCF Data Services, I would suggest you open another thread in Visual C# forum for more confirmed answers:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

  • WCF Data services remove miliseconds from DateTime when expand

    I get some strange behavior, when using WCF Data Services 5.6. In my case, I have table, with 1 column set with Concurrency=Fixed, and this column hold date time field from database, updated each time when row is edited. In case I just retrieve entity -
    this column has correct value with milliseconds. But if I do mapping - milliseconds are removed.
    Here is a issue at glance :
    ====================================================================
    void Main()
    var b = from p in TABLE1 where p.ID == 100 select p;
    b.Dump();
    Request in this case is : Data.svc/TABLE1(100M) And data returned from service is :
    <d:COL1 m:type="Edm.DateTime">2015-02-16T12:13:52.972</d:COL1>
    ====================================================================
    As you can see , here time is returned with milliseconds - .972 In other case :
    void Main()
    var tmp = from p in TABLE1 where p.ID == 100 select
    new TABLE1()
    ID=p.ID,
    COL1=p.COL1
    var a1 = tmp.ToList();
    a1.Dump();
    Request in this case is : Data.svc/TABLE1(100M)?$select=ID,COL1
    <d:COL1 m:type="Edm.DateTime">2015-02-16T12:13:52</d:COL1>
    ====================================================================
    Time is returned without milliseconds.
    Does anybody have same problem? May be its a bug in the WCF Data services or in the model?

    Ok, seems like I found an answer to this, or at least way to avoid the problem.
    First I traced generated SQL from framework, and I see that in first case, im getting SQL
         SELECT ID, COL1 FROM TABLE1
    and in second case, I got
         SELECT ID, CAST( COL1 AS DATETIME) FROM TABLE1
    which cause the problem.
    Then I tried to update EF to version 6, WCF Data services to version 5.6.3,
    Oracle ODP to latest one, tried to use Oracle managed driver... no any success.
    Then I played little bit with table definition, and I saw that my col1 with type TIMESTAMP in database and DateTime in the model was defined as NOT NULL.
    If I remove this from database definition, I got right value with milliseconds.
    So , may be this is a bug in Oracle driver, but probably this is a bug in the WCF Data Services. At least I found a way to use concurrency in my case with this solution.

  • Calling Oracle stored procedure with out param of user define type from Entity Framework 5 with code first

    Guys i am using Entity Framework 5 code first (I am not using edmx) with Oracle and all works good, Now i am trying to get data from stored procedure which is under package but stored procedure have out param which is user define type, Now my question is
    how i will call stored procedure from entity framework
    Thanks in advance.

    I agree with you, but issue is we have lots of existing store procedure, which we need to call where damn required. I am sure those will be few but still i need to find out.
    If you think you are going to get existing MS Stored Procedures  or Oracle Packages that had nothing to do with the ORM previously to work that are not geared to do simple CRUD operations with the ORM and the database tables, you have a rude awakening
    coming that's for sure. You had better look into using ADO.NET and Oracle Command objects and call those Oracle Packages by those means and use a datareader.
    You could use the EF backdoor, call Oracle Command object and use the Packages,  if that's even possible, just like you can use MS SQL Server Stored Procedures or in-line T-SQL via the EF backdoor.
    That's about your best shot.
    http://blogs.msdn.com/b/alexj/archive/2009/11/07/tip-41-how-to-execute-t-sql-directly-against-the-database.aspx

  • Wcf Data Service fails when more than 8properties  in the 'select=' portion

    Hi:
    I am using WCF Data Service and Oracle
    EF Provider is ODAC11.2 Release 4
    Wcf Data Service fails when more than 8 properties are specified in the 'select=' portion of the URI
    here is my code
    var q = from c in this.ctx.SALESORDER_ITEM
    select new
    c.SORDERDETAILID,
    c.IID,c.DMFLAG,c.OWNERID,c.SKUID,c.SKU_ID,c.TRADENO,c.SOURCEID,c.SORDERID
    excetion:
    InvalidOperationException: An error occurred for this query during batch execution. See the inner exception for details
    The inner exception is null, but the DataServiceClientException states: Value cannot be null Parameter name: value
    the exception is thrown in base.OnStartProcessingRequest(args) method (overridden).
    Here is the call stack as well:
    at System.Data.Services.WebUtil.CheckArgumentNull[T](T value, String parameterName)
    at System.Data.Services.Internal.ProjectedWrapper.set_PropertyNameList(String value)
    at lambda_method(Closure , Shaper )
    at System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
    at System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
    at System.Data.Services.Internal.ProjectedWrapper.EnumeratorWrapper.MoveNext()
    at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)
    at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)
    at System.Data.Services.DataService`1.HandleRequest()
    Is there a max number of properties in $select statement
    I think may be it is oracle provider's problem ,but i don't konw how to debug it Can anyone help me
    Any help is greatly appreciated

    I believe the null/empty string issue is unrelated to the 8 column issue, at least for ODP.NET. For example, let's take the original query in the OBE:
    http://.../yoursvcfile.svc/EMPLOYEES?$select=EMPLOYEE_ID,FIRST_NAME,LAST_NAME,SALARY,DEPARTMENT_ID,DEPARTMENT,EMAIL,PHONE_NUMBER,MANAGER_ID
    Let's make all the columns selected not nullable. You can do this with the Oracle Dev Tools. Specifically, PHONE_NUMBER and FIRST_NAME are the only nullable fields. I make them non-nullable and re-run the query and the same error occurs. Thus, these values should never be made null. Moreover, in all 107 rows, none of these row values consist of empty strings anyway.
    Looking into the problem further, WCF DS is calling methods in the System.Data.Services.Internal namespace.
    http://msdn.microsoft.com/en-us/library/system.data.services.internal.aspx
    Specifically, we see your issue when the ProjectedWrapperMany method is called. You will notice that there is ProjectedWrapper0, ProjectedWrapper1...ProjectedWrapper8 methods also present in the same namespace. As soon as the number of columns exceeds 8, ProjectedWrapperMany is called and we see the error. We're going to ask MS to help analyze the issue since this is an .NET-internal method being called.

  • Connect to Azure Sql DB through WCF Data Service

    I am following the tutorial:
    http://msdn.microsoft.com/en-us/library/windowsazure/ee621789.aspx;
    Connect to Windows Azure SQL Database Through WCF Data service on a
    Windows 8 machine running VS2013.  Until starting this tutorial, I have only been using VS for WPF applications. So it might not be properly configured for a web app.
    Everything works just fine until I get to the section on Creating the Client Application.  Clicking the Discover button populates the services pane with my service.  When I click on the service in the pane I get the following Add Service Reference
    Error:
    There was an error downloading 'http://localhost:62778/testDataService.svc/_vti_bin/ListData.svc/$metadata'.
    The request failed with the error message: --- , . . .
    If I ignore it and click OK it essentially tells me the same thing:
    "There was an error downloading metadata from the address.  Please verify that you have entered a valid address."
    I am thinking that there is a configuration issue on my machine.  Perhaps something needs to be installed or running, . . .
    I have tried doing the same steps with a local SqlExpress database, and get the same problem.  If I try to go directly to the website via the browser:
    http://localhost:62778/testDataService.svc
    I get a Request Error.
    Any suggestions, thoughts on this will be greatly appreciated!
    Robotuner

    Hi,
    From the error message "There was an error downloading 'http://localhost:62778/testDataService.svc/_vti_bin/ListData.svc/$metadata'.", I suspect that you created a folder named _vti_bin, and created wcf data service named ListData, in my test
    application, from my experience, you issue may be caused by "$metadata", can you give further information to me, there was a
    wcf data service quick start, hope this will help you.
    Best Regards 
    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.

  • Calling WCF web service from BPEL

    We are getting ‘oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "http://<host>:<port>/services/<servicename>.svc" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 400 Bad Request’ error while calling a WCF web service from BPEL.
    1.     Is it possible to call a WCF webservice from BPEL.
    2.     The WCF service is having ‘BasicHttpBinding’  and ‘<http:NegotiateAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http" />’
    3.     Do we need to configure the SOA WS Policy in the composite xml? If yes what properties have to be set?
    Thanks!
    Sandeep

    Anyone has insight on this? Is it possible to call a WCF service with NTLM authentication from SOA.
    Thanks!
    Sandeep

  • Problem LiveCycle Data Services with Parsley Framework

    Hi All,
    I have problem when using LiveCycle Data Services and Parsley framework.
    Here is my Dynamic command :
    public function execute(message:ServiceMsg):AsyncToken{
                                       return dataservice.fill(...);
    public function result(event:ResultEvent):void
         Alert.show ("run successful");
         // call another method
         xyz(); // this method take a long time (about 1 minutes)
    The problem here is the alert message not show until xyz() method finished. It's so odd behavior.
    Anybody can explain this problem.
    I'm using parsley 2.4.0
    Thanks,
    ndt

    Hi All,
    I have problem when using LiveCycle Data Services and Parsley framework.
    Here is my Dynamic command :
    public function execute(message:ServiceMsg):AsyncToken{
                                       return dataservice.fill(...);
    public function result(event:ResultEvent):void
         Alert.show ("run successful");
         // call another method
         xyz(); // this method take a long time (about 1 minutes)
    The problem here is the alert message not show until xyz() method finished. It's so odd behavior.
    Anybody can explain this problem.
    I'm using parsley 2.4.0
    Thanks,
    ndt

  • Error Calling ODI Data Service from BPEL

    Hi all,
    I'm trying to call ODI data services from BPEL, but this error comes up:
    <messages>
    -<input>
    -<Invoke_1_addSrcCustomer_InputVariable_1>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="part1">
    <SrcCustomer xmlns="test/WSSrcCustomer/schema"/>
    </part>
    </Invoke_1_addSrcCustomer_InputVariable_1>
    </input>
    -<fault>
    -<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>[email protected]6 : Could not find binding output for operation addSrcCustomer
    </summary>
    </part>
    </bindingFault>
    </fault>
    </messages>
    A WSSrcCustomer WSDL has been successfully deployed and the addSrcCustomer operation is chosen. Also, I'm using the following input as XML flagment:
    <ns2:SrcCustomer xmlns:ns2="http://www.w3.org/2001/XMLSchema/" xmlns="test/WSSrcCustomer/schema/">
    <CUSTID>999</CUSTID>
    <TITLE>0</TITLE>
    <LAST_NAME>lastname</LAST_NAME>
    <FIRST_NAME>firstname</FIRST_NAME>
    <ADDRESS>myaddress</ADDRESS>
    <CITY_ID>23</CITY_ID>
    <PHONE>123456789</PHONE>
    <AGE>33</AGE>
    <SALES_PERS_ID>11</SALES_PERS_ID>
    </ns2:SrcCustomer>
    Regards

    Hello,
    Can you call the same WS from ODI (through a data server test)?
    I think you should post the WSDL file generated by the data service to the BPEL Forum.
    There must be something BPEL does not like in the WSDL.
    -FX

  • Error when querying REST web services from web-based InfoPath form 2013 environment

    Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version) 
    http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
    it works in preview but does not when it is published. because of claim based authentication i m getting below error
    The form cannot run specified query, the underlying connection was closed. An expected error occurred 
    same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you 
    guru

    everyone face this issue, nothing in event viewer, its easy to reproduce error at ur end also.. 
    just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
    list has one item thats all
    guru

  • Data refresh of Excel file on Sharepoint 2013 Online (E3)

    Is it possible to refresh data in an Excel PowerPivot model from external data (SQL Server 2012) on the
    SharePoint 2013 Online solution that comes with the Office365 E3 plan?
    I need to either have the Excel file itself on the public facing website with data refresh there, or possibly have the Excel file in a private Business Intelligence Center subsite and then publish webparts or whatever on the public site, as long as the charts
    are refreshed and publicly viewable. I've found a lot of conflicting info on this.
    Re
    D

    Currently, when a workbook that contains a Data Model is published to a library in Office 365, data refresh is unavailable.
    However, you can use a PowerShell script to configure a workaround.
    donwload this white paper for workaround:
    http://technet.microsoft.com/en-us/library/jj992650.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to migrate files from different databases to sharepoint 2013?

    Hello everyone,
    I need to migrate files of various formats from two databases to SharePoint 2013 ? How should I pursue? Please explain..
    Scenario : Two different databases on different systems have loads of files. I need to migrate them to SharePoint?
    Any suggestions/ Answers

    Hi,
    You need to copy the database into your network shared folder or SharePoint Server where you wanted to attach this content DB to your newly created web application.
    Hope and Afraid,
    Same Domain has been used. I mean if you move the content db from the server 1 which using the AD1 for authenticate the users,
    So your new server 2 and web application must have configured to authenticate the AD 1 users.Otherwise user not found exception will be thrown. 
    If not  still you can change the site collection administrator for the site which is migrated from the server 1.
    Murugesa Pandian., SharePoint 2010 | MCPD | MCTS |Configure

  • Error while calling a web service from Entity CRUD methodes

    Hi All,
    I have created an entity service with remote persistency(web service).I have mapped the entity service create methode with the web service create method.Similarly entity service edit method with the web service edit method.But when i am testing this in service browser i am getting a dataaAcess exception.
    And an empty row is being created in the data base. This is the exception sequence.
    com.sap.caf.rt.exception.CAFUpdateException: Data Layer Issues
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:177)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:135)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceLocalLocalObjectImpl0.update(iprTestServiceServiceLocalLocalObjectImpl0.java:478)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.updateDependentObject(ServiceWrapper.java:489)
    at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.createDataContainerBean(ServiceWrapper.java:198)
    at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessBeanImpl.createDataObject(CAFServiceAccessBeanImpl.java:159)
    at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessLocalLocalObjectImpl20.createDataObject(CAFServiceAccessLocalLocalObjectImpl20.java:775)
    at com.sap.caf.rt.ui.cool.generic.AspectServiceAccess.insertAspectRow(AspectServiceAccess.java:215)
    at com.sap.caf.rt.ui.cool.generic.Aspect.insertRows(Aspect.java:1425)
    at com.sap.caf.rt.ui.cool.generic.Aspect.sendChanges(Aspect.java:1543)
    at com.sap.caf.rt.ui.cool.generic.ServiceModule.sendChanges(ServiceModule.java:298)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.saveData(TableViewCC.java:379)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalTableViewCC.saveData(InternalTableViewCC.java:208)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.TableViewCV.onActionSave(TableViewCV.java:394)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.wdp.InternalTableViewCV.wdInvokeEventHandler(InternalTableViewCV.java:371)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.caf.rt.exception.DataAccessException: Data Layer Issues
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.store(RemoteDataAccessService.java:1198)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:172)
    ... 47 more
    Caused by: com.sap.caf.mp.base.exception.EngineException: Data Layer Issues
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperationCommon(DataServiceFactory.java:648)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperation(DataServiceFactory.java:511)
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.executeOperation(RemoteDataAccessService.java:159)
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.store(RemoteDataAccessService.java:1180)
    ... 48 more
    Caused by: com.sap.caf.mp.base.exception.EngineException: Data Layer Issues
    at com.sap.caf.mp.core.data.service.manager.wsdl11.WSDL11ServiceManager.executeOperation(WSDL11ServiceManager.java:247)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperation(DataServiceFactory.java:259)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeConsiderSSO(DataServiceFactory.java:1056)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperationCommon(DataServiceFactory.java:622)
    ... 51 more
    Plz tell me what is the wrong with my approach?.
    Thanks
    Sampath.G

    Hi Swapna,
    from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
    If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
    Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
    Maybe it could help.
    Regards,
    Dawood.

Maybe you are looking for

  • Credit Memo and Goods returned

    Dear Sap Gurus, The scenario is as follows:- Eg. GRN done for 100 Qty and Invoice verification also done for 100 Qty.Now, 2 Qty found defective and are to be returned back. As per SAP standard, first create credit note and then create returned delive

  • Font size and user form

    Hello, I'd like to know if somebody find a solution for the font size issue on user form. since BO 2005, the user can change the font size. the application will format all the controls of form with the good size. However, the layout does not follow v

  • Is there any way download i-table in debug mode?

    Hi Experts. I'm curious if there any way download i-table to local computer in debug mode. could you let me know that method? currently using basis 640, bw3.5 version. Thank you. Lee.

  • ICal trying to update all the time at start up

    I am using a iMac with Mountain Lion software. When ical starts up under login items it also says it is trying to update the software (the old way with a bar) but it never does anything so I just cancel the command. Does anyone have a solution or ans

  • Problem opening firefox again after first time

    Firefox starts ok and closes ok the first time I use it but then if I try to open it again within a few mins I get this error message: " Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefo