Forum Discussion
Apr 22, 2008
Ahhh, it's just as I suspected. The method signature for VLAN::create is
Networking.VLAN.create(
in String [] vlans,
in long [] vlan_ids,
in Networking.VLAN.MemberEntry [] [] members,
in EnabledState [] failsafe_states,
in long [] timeouts,
in String [] mac_masquerade_addresses
);
You are passing in scalars for most of the arguments. All of the parameters are expected to be arrays except for the members parameter which is a 2-d array (first dimension for the VLAN, 2nd dimension for the members of that VLAN.
The server code is converting the SOAP message and since there are no arrays, it is treating it as an array size 0 which is a no-op. You'll need to modify your code to pass in the correct arrays for this to work. I'd provide some suggestions, but I'm a definite noob at python.
Good luck!
-Joe