We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

IOlapDataProvider error

I'm getting this error when attempting to access my service. After following these instructions:

http://help.syncfusion.com/ug_84/Business%20Intelligence/OLAP%20Client/Silverlight/default.htm?turl=Documents%2Faddingolapclienttoanapplication.htm

I'm getting the following error:

Operation 'GetLevelMembers' of contract 'IOlapDataProvider' specifies multiple request body parameters to be serialized without any wrapper elements. At most one body parameter can be serialized without wrapper elements. Either remove the extra body parameters or set the BodyStyle property on the WebGetAttribute/WebInvokeAttribute to Wrapped.

Thank you.


3 Replies

SU Suriya Syncfusion Team January 6, 2011 02:14 AM UTC

Hi,

We are not able to reproduce the issue. Could you please report the issue with more information (and we much appreciate as minimal sample) through Direct-Trac Developer Support System( https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents ), because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well. If you have already reported, please ignore this.

Thanks,
Suriya



PH Pat Heideman January 6, 2011 02:16 PM UTC

We found the issue.

When the web.config file allows .netCompatibility we have to alter the service

web.config service-----------------


OlapService.svc.cs----------------
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(IncludeExceptionDetailInFaults = true)]
public class OlapService : IOlapDataProvider
{
...

// add WebInvoke to each of the Get methods
[WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest, Method = "GET")]
public Syncfusion.OlapSilverlight.Data.CubeInfoCollection GetCubes()
{ ... }
}







SU Suriya Syncfusion Team January 10, 2011 04:00 AM UTC

Hi,

Please follow up Direct Trac account with the incident id 75831( http://www.syncfusion.com/support/directtrac/detailsupdate/75831 ) for your query.

Thanks,
Suriya



Loader.
Live Chat Icon For mobile
Up arrow icon