SSRS从SOAP消息中删除xml头
我创建了一个连接到第三方web服务的SSRS报告。然后,我尝试使用ElementPathNode将xml展平 我的xml是这样的SSRS从SOAP消息中删除xml头,xml,web-services,soap,reporting-services,ssrs-2008-r2,Xml,Web Services,Soap,Reporting Services,Ssrs 2008 R2,我创建了一个连接到第三方web服务的SSRS报告。然后,我尝试使用ElementPathNode将xml展平 我的xml是这样的 <?xml version="1.0" encoding="utf-8"?> <soap> <GetAllCustomersResponse> <GetAllCustomersResult> <?xml version="1.0" encoding="utf-8"?> <Customer
<?xml version="1.0" encoding="utf-8"?>
<soap>
<GetAllCustomersResponse>
<GetAllCustomersResult>
<?xml version="1.0" encoding="utf-8"?>
<Customers>
<Customer id="1">
<Entry>
<FromTime>2016-07-31T04:00:00</FromTime>
<ToTime>2016-08-01T04:00:00</ToTime>
</Entry>
<Entry>
<FromTime>2016-08-01T04:00:00</FromTime>
<ToTime>2016-08-02T04:00:00</ToTime>
</Entry>
</Customer>
</Customers>
</GetAllCustomersResult>
</GetAllCustomersResponse>
</soap>
2016-07-31T04:00:00
2016-08-01T04:00:00
2016-08-01T04:00:00
2016-08-02T04:00:00
因此,这是无效的xml,因为返回数据的Web服务正在插入xml声明,然后将其包装在soap消息中。我认为我无法正确选择数据,例如:
<ElementPath>GetAllCustomersResponse/GetAllCustomersResult/Customers/Customer/Entry{FromTime,ToTime}</ElementPath>
GetAllCustomerResponse/GetAllCustomerResult/Customers/Customer/Entry{FromTime,ToTime}
你知道我怎么能忽略/删除这个不需要的声明吗