Forum Discussion
Jacob_Gilley_28
Nimbostratus
Mar 02, 2005Java SOAP Binding using Apache Axis
I'm using Apache Axis 1.2 WSDL2Java utility to create Java interfaces from the 4.6.2 WSDLs. However, I'm running into problems with data type mapping during bean (de)serialization. Here is the exception that's being thrown:
Mar 2, 2005 12:41:28 PM org.apache.axis.encoding.ser.BeanPropertyTarget set
SEVERE: Could not convert java.lang.Integer to bean field 'status', type com.f5.icontrol.itcm.globallb.ITCMGlobalLBEnableStatus
Mar 2, 2005 12:41:28 PM org.apache.axis.client.Call invoke
SEVERE: Exception:
java.lang.IllegalArgumentException: argument type mismatch
at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:142)
at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1140)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:347)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:386)
at org.apache.axis.client.Call.invoke(Call.java:2402)
at org.apache.axis.client.Call.invoke(Call.java:2301)
at org.apache.axis.client.Call.invoke(Call.java:1758)
at com.f5.icontrol.itcm.globallb.ITCMGlobalLBWideipBindingStub.get_wideip_list(ITCMGlobalLBWideipBindingStub.java:1991)
at com.f5.icontrol.Main.main(Main.java:16)
Any suggestions?
- Unfortunately, Our WSDL implementation on the 4.x platform is not compatible with Apache Axis. The reason stems from our implementation of enumerated types and that in 4.x we use integers
ENABLE DISABLE DISABLE_PARENT
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