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

How can we pass the entire rows of a table to a web service in a VC model ?

Hi,

On the click of the submit button, I have to pass the rows of two tables into an enterprise service. This service also takes other fields of a form as an input.

How can we pass the entire rows of a table into a service ?

Regards,

Nitin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 24, 2008 at 07:21 AM

    Hi Nitin,

    In order to answer your question I need some more information:

    What is the input structure of your service? (is it flat with multiple ports, is it nested?)

    If you have a flat structure with a few ports, and every one of them have a corresponding UI element in the model, simply connect every UI element to it's port. on the event lines, instead os the event submit, write *submit.

    If the input structure of the service is more complicated than that, please describe it and I'll guide you how to model it.

    I hope this helps.

    Best Regards,

    Lisi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2008 at 09:34 PM

    Hi Nitin,

    It seems that you have two or three different structures to pass data using your webservice. In your main question, two tables, you can join both in one table and from there call the webservice. In order to pass the entire table you need:

    1. Draw a line between your joinned table and your service,

    2. Map the fields,

    3. Create a 'SUBMIT' in your table tool bar. Right click on your table and choose 'Create Toobar', '+', name and choose 'Submit' as your event.

    4. Go to Configure Element (Table View) 'Multiple' at Selection Mode.

    Reward points if helps you to solve your question.

    Regards,

    Gilson Teixeira

    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.