cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a WebService Model with String Arrays as its input parameter

Former Member
0 Kudos

Hi All,

I am facing the following scenario -

From WebDynpro Java i need to pass 2 String Arrays to a Webservice.

The Webservice takes in 2 input String Arrays , say, Str_Arr1[] and Str_Arr2[] and returns a string output , say Str_Return.

I am consuming this WebService in WebDynpro Java using WEB SERVICE MODEL. (NWDS 04).

Can you please help out in how to consume a WSModel in WD where the WS requires String Arrays?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186016
Active Contributor
0 Kudos

Hi,

I dont think string arrays are supported.

You can wrap the array in some Object lets say ArrayList and return it from web service.

Regards,

Ashwani Kr Sharma

Former Member
0 Kudos