问题描述
(class:org/codehaus/xfire/aegis/type/basic/ObjectType,method:writeSchemasignature:(Lorg/jdom/Element;)V)Incompatibleargumenttofunctionatorg.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:408)atorg.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:311)atorg.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:131)atorg.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:137)atorg.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:118)atorg.codehaus.xfire.aegis.AegisBindingProvider.<init>(AegisBindingProvider.java:67)atsun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)atjava.lang.reflect.Constructor.newInstance(Constructor.java:494)atjava.lang.Class.newInstance0(Class.java:350)atjava.lang.Class.newInstance(Class.java:303)atorg.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.getBindingProvider(WSDLServiceBuilder.java:142)atorg.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.createMessagePart(WSDLServiceBuilder.java:527)atorg.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.createMessageParts(WSDLServiceBuilder.java:499)atorg.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:451)atorg.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:405)atorg.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:195)atorg.codehaus.xfire.client.Client.initFromDefinition(Client.java:264)atorg.codehaus.xfire.client.Client.<init>(Client.java:236)atorg.codehaus.xfire.client.Client.<init>(Client.java:246)atcom.spaceon.gyyq.WsdCent.main(WsdCent.java:19)调用webservice时报错
解决方案
解决方案二:
传的参数类型不对..........