Jacob_Gilley_28
Mar 22, 2005Nimbostratus
Data-type mapping issue with Apache SOAP
I'm having another issue with data-types using Apache SOAP. The web service method that is failing is "get_pool_list". It's throwing an exception stating the following:
java.lang.IllegalArgumentException: Unable to set 'number_virtual_servers' property: argument type mismatch
I've looked up the type definition in the WSDL and it declares that property to be of type "xsd:int". The respective property in the Java class has been corrected to declare that property as a Java "int". I also looked at the raw SOAP response from the F5 device and the data-type is declared as an "int" as well. Any ideas as to what the problem could be?
Thanks