Skip to Content
author's profile photo Former Member
Former Member

Filling Complex Model

Hi There,

I have a problem with the Model-handling in WD. I have

a deep Model generated from a Web Service with a lot of Subnodes like the follwing example:

WebService (root node)

WebService - Booking (card: 0...1)

WebService - Booking - pointOfSale (card: 0...1)

WebService - Booking - travelers (card: 0...n)

and a lot of Attributes in every node. These

nodes are the INPUT-parameters for the web service.

I initialize the Model with the follwing Code:

WebService req = new WebService()

wdContext.nodeWebService.bind(req);

How do i have to fill these nodes with data? I tried to

map InputFields with the model attributes, but the

model does not store the data /the input fields are in "readOnly"-Modus and grey. Even if I try to fill the

Context-Model "manual" (e.g. nodeTravelers.addTravelerElement(...)) the values does not reach the web service.

Where can i find a example for handling complex model structures ?

Thanks a lot...

Claus

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 16, 2004 at 03:21 PM

    Hallo Claus,

    look at Executing model : deep structure in importing parameter of RFC Perhaps you can find and answer there.

    Greetings, Bertram

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.