Skip to Content
0
Former Member
Sep 30, 2011 at 06:39 AM

Adaptive Web Service Model - access to settings in WSDL

30 Views

Hello,

we want to use an Adaptive Web Service Model in NW 7.3 to access a backend with static data structures, which means that nodes in the model have to contain a specific number of elements.

In the WSDL file, which was imported to create the Web Service Model, this is done by setting the attributes "maxOccurs" and "minOccurs" in the node to the same value, let us say "50".

When executing the model, the Web Dynpro component has to ensure that there are exactly this number of elements in the Context Node which is bound to that model node - otherwise the XML which is produced by the model is not valid for this WSDL.

In the moment, this is done "hard coded" in the component; if a node's name equals "XYZNode", insert 50 elements.

Is there a way to do this dynamically, by asking the ICMIModelClassInfo for this information or something like this?

I know, this is not a must-have, but it would make our programs nicer and more flexible.

Have a nice day,

Bernd