Mapping different kinds of soap response
Scenario 1: simple property repeats
Scenario 2: Outer most Complex Property repeats
Here the outer most complex structure ns4:ComplexType_Level1 repeats. So make ns4:ComplexType_Level1 entity set in edmx as below
Response Mapping looks like
But with kind of a model we cannot map properties of the outer most element which in this case is GetParentResponse. If properties of GetParentResponse is also required, then we need to do a $expand kind of scenario where the model looks like
Here a navigation is defined from ParentSet to CPLevel1.
Select data source i.e. wsdl operation with ParentSet as Entity Set and map only outer most properties of GetParentResponse. Map the ComplexProperty structure using script file as suggested in blog