Forum Discussion
Jacob_Gilley_28
Nimbostratus
Mar 22, 2005Data-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
- Jacob_Gilley_28
Nimbostratus
Problem solved!! - Great! How did you solve it? Posting a solution will help others who have the same problem.
- Jacob_Gilley_28
Nimbostratus
Had to clean my build enviroment. It was using a cached version of the incorrect Java class. LOL
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects