I'm trying to create un WS client of the last interview service (12.2.5).
But the wsimport command fails ... (log below)
Works fine for the Assess Service.
wsimport -p client -keep opa-interview.wsdl
parsing WSDL...
[WARNING] src-resolve: Cannot resolve the name 'wsc:SeedDataDescription' to a(n) 'type definition' component.
line 1109 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl#types?schema2
[ERROR] A class/interface with the same name "client.StateEnum" is already in use. Use a class customization to resolve this conflict.
line 1196 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Relevant to above error) another "StateEnum" is generated from here.
line 734 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] A class/interface with the same name "client.AttributeTypeEnum" is already in use. Use a class customization to resolve this conflict.
line 1167 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Relevant to above error) another "AttributeTypeEnum" is generated from here.
line 691 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] A class/interface with the same name "client.RelationshipCardinalityEnum" is already in use. Use a class customization to resolve this conflict.
line 1226 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Relevant to above error) another "RelationshipCardinalityEnum" is generated from here.
line 824 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] A class/interface with the same name "client.UnknownValue" is already in use. Use a class customization to resolve this conflict.
line 1213 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Relevant to above error) another "UnknownValue" is generated from here.
line 757 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] A class/interface with the same name "client.ChangePoint" is already in use. Use a class customization to resolve this conflict.
line 1246 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Relevant to above error) another "ChangePoint" is generated from here.
line 771 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] A class/interface with the same name "client.UncertainValue" is already in use. Use a class customization to resolve this conflict.
line 1219 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Relevant to above error) another "UncertainValue" is generated from here.
line 764 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] Two declarations cause a collision in the ObjectFactory class.
line 1213 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Related to above error) This is the other declaration.
line 757 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] Two declarations cause a collision in the ObjectFactory class.
line 1246 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Related to above error) This is the other declaration.
line 771 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] Two declarations cause a collision in the ObjectFactory class.
line 1219 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
[ERROR] (Related to above error) This is the other declaration.
line 764 of file:/C:/dev/repos/OPA-test-wsclient/src/main/resources/opa-interview.wsdl
Exception in thread "main" com.sun.tools.internal.ws.wscompile.AbortException
at com.sun.tools.internal.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:129)
at com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2283)
at com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:183)
at com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:126)
at com.sun.tools.internal.ws.wscompile.WsimportTool.buildWsdlModel(WsimportTool.java:429)
at com.sun.tools.internal.ws.wscompile.WsimportTool.run(WsimportTool.java:190)
at com.sun.tools.internal.ws.wscompile.WsimportTool.run(WsimportTool.java:168)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.tools.internal.ws.Invoker.invoke(Invoker.java:159)
at com.sun.tools.internal.ws.WsImport.main(WsImport.java:42