Forum Discussion

arkus_10691's avatar
arkus_10691
Icon for Nimbostratus rankNimbostratus
Jul 08, 2005

multii-dimension array SOAPException

I'm using the SOAP api for iControl v9 within IBM's Rational Application Developer. Things have been going pretty well. (Your XTrustProvider is great!)

 

 

Problem: Attempting to invoke LocalLB.VirtualServer.get_default_pool_name() results in the following exception:

 

[SOAPException: faultCode=SOAP-ENV:Client; msg=Arrays of arrays are not supported 'urn:iControl:Common.IPPortDefinition[][1]'.; targetException=java.lang.IllegalArgumentException: Arrays of arrays are not supported 'urn:iControl:Common.IPPortDefinition[][1]'.]

 

at org.apache.soap.rpc.Call.invoke(Unknown Source)

 

at MyBigIP.VirtualServer_get_default_pool_name(MyBigIP.java:335)

 

 

Code:

 

String urnPool = new String("urn:iControl:LocalLB/Pool");

 

String[] pool_name_list = new String[] {"somename"};

 

Call call = updateConnectionInfo(urnPool);

 

Vector params = new Vector();

 

params.addElement(new Parameter("pool_names", String[].class, pool_name_list, null));

 

call.setParams(params);

 

call.setMethodName("get_member");

 

Response resp = call.invoke(m_endpoint, urnPool);

 

 

Can you please enlighten?