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

Problem solved!!

Great! How did you solve it? Posting a solution will help others who have the same problem.

-Joe

Had to clean my build enviroment. It was using a cached version of the incorrect Java class. LOL