Author: MadDruid | Posted on: 1/9/2009 2:35:05 AM | Views : 322

Hi all,

I'm creating a webmethod like this in .NET 3.5:

        [WebMethod()]
        public void AddUsersToRoles(string[] UserNames, string[] RoleNames)
        {
            //Some logic
        }

on the client side (.NET 3.5 autogenerated client), I found that I'm forced to use this signature for the call:

        m_Ws.AddUsersToRoles(usernames, roleNames);

with usernames and roleNames being of ArrayOfString type.

Is it possible to have string[] type on the client side? What is wrong and how to fix it?

Greetings,
Al.

 
...

Go to the complete details ...