cancel
Showing results for 
Search instead for 
Did you mean: 

Sending an array as input to webservice in VC

Former Member
0 Kudos

Hi all,

I have to pass an 1-D array that has string items as input to webservice in VC.

When I extend the input port, I get an option for adding a table input.

I'm not sure about what can be done.

Can any one please help me regarding this???

thanks,

Ajitha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What control do you use? Did you set the Selection Mode to "Multiple"?

https://wiki.sdn.sap.com/wiki/display/VC/Selectingmultiplevalues

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks Mario for your response.

Now I'll have to look how I can modify the web service.

regards,

Ajitha.

Former Member
0 Kudos

Hi Mario,

The webservice that I use has nested arrays.And when I include it in my workspace,the nested structures get removed.

Can u help me with a solution to this.

I'm using VC server version 700.9.0.1

Are nested structures supported by any other version of VC?

Kindly let me know.It is really urgent.

Thanks,

Ajitha

Former Member
0 Kudos

Nested structures are not supported by Visual Composer.

Former Member
0 Kudos

Hi Mario,

There are problems with the web service and we are working on it.

I could not check it at present.

I'll need your help once it is done.

And it is not possible to connect one output port to multiple input ports of the web service also.

Thank you,

Ajitha

Former Member
0 Kudos

Hi,

Thank you so much for the response Mario.

As u said I changed the Selection mode as "Multiple" for the table.

I'm populating the table with some values from R\3

And can I send all the values in the table continuously into the web service if I make the selection mode as "Multiple"?

And I have one more question.

This webservice has multiple inputs...

Some as strings and some as tables.

Is it possible that on click of one Submit Button I can pass all the inputs to the Web service?

Thanking in advance,

Ajitha.

Former Member
0 Kudos

Have you tried to connect the output port to the multiple inputs of your webservice (I never tried this up to now)