Consume Spatial Data from web service in SSRS 2008R2
I am having a web service which will return the spatial data with some other related data. I want to consume that spatial data coming from web service in my report. My report able to consume normal data, but not able consume spatial data coming from web service. Below is the syntax how I am querying the web service. I want to know what data type I need use to cast the spatial data. Query : <Query> <Method Name="GetMapData" Namespace="http://SBISReportingService.IReportingService.ReportingService/2010/10"> <Parameters> <Parameter Name="ReportGUID"><DefaultValue>d3045971-0e6d-472b-a148-3a733a799765</DefaultValue></Parameter> </Parameters> </Method> <SoapAction>http://SBISReportingService.IReportingService.ReportingService/2010/10/IReportingService/GetMapData</SoapAction> <ElementPath IgnoreNamespaces="true">GetMapDataResponse{}/GetMapDataResult{}/MapData { Id (integer), ClassificationName, Metric, Shape (DataType????) } </ElementPath> </Query> If I am not mentioning the data type, I am not able use that shape field. Appreciated your help.
December 10th, 2010 3:41am

Hi, First, please ensure that the Shape data is returned from the web service. Since by default, items are returned as strings from the web service, the Shape field can be displayed in the report directly. For example, we can use a table to check whether the Shape data returned. If the Shape data has been returned correctly, could you please post how do you consume the Shape data in your report? Then I will provide you further assistance. Thanks, Tony ChainTony Chain [MSFT] MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
December 14th, 2010 12:52am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics