Error when using wise to consume a webservice
stlecho Sep 2, 2008 8:55 AMHi,
I'm trying to contact an external webservice with the aid of JBossESB. I've based my code on the "webservice_consumer_wise" quickstart.
When my XML requests is being treated by ESB, I'm receiving the following error: "A class/interface with the same name "it.javalinux.wise.Details" is already in use. Use a class customization to resolve this conflict.".
I've been looking for more information about the class customization, but haven't found anything useful. Any ideas on how to solve this issue ?
The WSDL I'm using is not publicly available. If required, I can forward it.
Log information
2008-09-02 14:38:10,219 INFO [STDOUT] [WARNING] src-resolve: Cannot resolve the name 'com:Version' to a(n) 'type definition' component.
2008-09-02 14:38:10,234 INFO [STDOUT] line 475 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema6
2008-09-02 14:38:10,234 INFO [STDOUT] [WARNING] cos-applicable-facets: Facet 'enumeration' is not allowed by type null.
2008-09-02 14:38:10,234 INFO [STDOUT] line 475 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema6
2008-09-02 14:38:10,250 INFO [STDOUT] [WARNING] cos-applicable-facets: Facet 'enumeration' is not allowed by type null.
2008-09-02 14:38:10,250 INFO [STDOUT] line 496 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema6
2008-09-02 14:38:10,250 INFO [STDOUT] [WARNING] cos-applicable-facets: Facet 'enumeration' is not allowed by type null.
2008-09-02 14:38:10,250 INFO [STDOUT] line 585 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema6
2008-09-02 14:38:10,250 INFO [STDOUT] [WARNING] cos-applicable-facets: Facet 'enumeration' is not allowed by type null.
2008-09-02 14:38:10,250 INFO [STDOUT] line 672 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema6
2008-09-02 14:38:10,250 INFO [STDOUT] [WARNING] src-resolve: Cannot resolve the name 'code:Register' to a(n) 'type definition' component.
2008-09-02 14:38:10,250 INFO [STDOUT] line 484 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema6
2008-09-02 14:38:10,250 INFO [STDOUT] [WARNING] src-resolve: Cannot resolve the name 'iso:Gender' to a(n) 'type definition' component.
2008-09-02 14:38:10,250 INFO [STDOUT] line 539 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema6
2008-09-02 14:38:10,656 INFO [STDOUT] [WARNING] cos-applicable-facets: Facet 'enumeration' is not allowed by type null.
2008-09-02 14:38:10,656 INFO [STDOUT] line 705 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema7
2008-09-02 14:38:10,672 INFO [STDOUT] [WARNING] cos-applicable-facets: Facet 'enumeration' is not allowed by type null.
2008-09-02 14:38:10,672 INFO [STDOUT] line 1938 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema10
2008-09-02 14:38:10,672 INFO [STDOUT] [WARNING] cos-applicable-facets: Facet 'enumeration' is not allowed by type null.
2008-09-02 14:38:10,672 INFO [STDOUT] line 120 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema3
2008-09-02 14:38:10,672 INFO [STDOUT] [WARNING] cos-applicable-facets: Facet 'enumeration' is not allowed by type null.
2008-09-02 14:38:10,672 INFO [STDOUT] line 169 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema3
2008-09-02 14:38:10,672 INFO [STDOUT] [WARNING] src-resolve: Cannot resolve the name 'con:Context' to a(n) 'type definition' component.
2008-09-02 14:38:10,672 INFO [STDOUT] line 98 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema3
2008-09-02 14:38:10,672 INFO [STDOUT] [WARNING] src-resolve: Cannot resolve the name 'sum:Summary' to a(n) 'type definition' component.
2008-09-02 14:38:10,672 INFO [STDOUT] line 161 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema3
2008-09-02 14:38:10,687 INFO [STDOUT] [WARNING] src-resolve: Cannot resolve the name 'que:query' to a(n) 'element declaration' component.
2008-09-02 14:38:10,687 INFO [STDOUT] line 10 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=#types?schema1
...
2008-09-02 14:38:16,422 INFO [STDOUT] [ERROR] A class/interface with the same name "it.javalinux.wise.Details" is already in use. Use a class customization to resolve this conflict.
2008-09-02 14:38:16,422 INFO [STDOUT] line 752 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=
2008-09-02 14:38:16,422 INFO [STDOUT] [ERROR] (Relevant to above error) another "Details" is generated from here.
2008-09-02 14:38:16,453 INFO [STDOUT] line 228 of https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=
2008-09-02 14:38:17,781 ERROR [STDERR] it.javalinux.wise.core.exceptions.WiseRuntimeException: Error occurred while consuming wsdl: https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=
2008-09-02 14:38:17,781 ERROR [STDERR] at it.javalinux.wise.core.exceptions.WiseRuntimeException.rethrow(WiseRuntimeException.java:44)
2008-09-02 14:38:17,781 ERROR [STDERR] at it.javalinux.wise.core.client.WSDynamicClient.init(WSDynamicClient.java:151)
2008-09-02 14:38:17,781 ERROR [STDERR] at it.javalinux.wise.core.client.WSDynamicClient.init(WSDynamicClient.java:94)
2008-09-02 14:38:17,781 ERROR [STDERR] at it.javalinux.wise.core.client.WSDynamicClientFactory.getClient(WSDynamicClientFactory.java:120)
2008-09-02 14:38:17,781 ERROR [STDERR] at org.jboss.soa.esb.actions.soap.wise.SOAPClient.process(SOAPClient.java:225)
2008-09-02 14:38:17,781 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
2008-09-02 14:38:17,781 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
2008-09-02 14:38:17,781 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
2008-09-02 14:38:17,781 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
2008-09-02 14:38:17,781 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
2008-09-02 14:38:17,781 ERROR [STDERR] Caused by: java.lang.NullPointerException
2008-09-02 14:38:17,781 ERROR [STDERR] at it.javalinux.wise.core.client.WSDynamicClient.getClassNames(WSDynamicClient.java:181)
2008-09-02 14:38:17,781 ERROR [STDERR] at it.javalinux.wise.core.client.WSDynamicClient.init(WSDynamicClient.java:127)
2008-09-02 14:38:17,781 ERROR [STDERR] ... 8 more
Regards, Stefan Lecho.