Hi All,
I'm getting the following error while trying to invoke the web service
using the client.
I've generated the client and server using WSDL2Java.
11:53:27,295 ERROR [BeanPropertyTarget] Could not convert
org.apache.axis.types.
URI to bean field 'value', type org.apache.axis.types.URI
11:53:27,325 ERROR [AxisServlet] Exception:
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.lang.IllegalArgumentException: argument type mismatch
faultActor: null
faultDetail:
stackTrace: java.lang.IllegalArgumentException: argument type
mismatch
at
org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarge
t.java:175)
at
org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerI
mpl.java:260)
at
org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl
.java:502)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:942)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:206)
At the client side:
Identifier id = new Identifier( );
id.setValue(new org.apache.axis.types.URI( ) ); // If I don't set this
code, I don't get the above error
At the server side:
URI uri = id.getValue( );
Thanks,
Karthik.