[jbossws-dev] [Design of JBoss Web Services] - Error while using Wise Soap Client

ashwindesikan do-not-reply at jboss.com
Sun Mar 15 23:16:08 EDT 2009


I am trying to consume an external webservice in my jboss-esb.xml using the Wise SOAPClient

I receive the following error during execution

18:44:41,871 INFO  [STDOUT] [ERROR] com.sun.tools.javac.Main is not available in the classpath, requires Suns JDK version 5.0 or latter.
18:44:41,876 INFO  [STDOUT] unknown location
18:44:41,876 INFO  [STDOUT] compilation failed, errors should have been reported
18:44:41,877 INFO  [STDOUT] Failed to invoke WsImport
18:44:41,877 INFO  [STDOUT] java.lang.IllegalStateException: WsImport invocation failed. Try the verbose switch for more information

What can I do to fix this issue? I have jdk 1.5 and when I try to import the wsdl using wsimport from command i don't receive any errors?


Following is the log from my error console

18:43:55,876 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 34s:70ms
18:44:40,813 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
18:44:40,814 INFO  [STDOUT] Request map is: {toWhom=Jimbo}
18:44:40,814 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
18:44:41,071 INFO  [STDOUT] parsing WSDL...
18:44:41,835 INFO  [STDOUT] generating code...
18:44:41,855 INFO  [STDOUT] it/javalinux/wise/HelloWorld.java
18:44:41,860 INFO  [STDOUT] it/javalinux/wise/HelloWorldWSService.java
18:44:41,862 INFO  [STDOUT] it/javalinux/wise/ObjectFactory.java
18:44:41,864 INFO  [STDOUT] it/javalinux/wise/SayHello.java
18:44:41,865 INFO  [STDOUT] it/javalinux/wise/SayHelloResponse.java
18:44:41,866 INFO  [STDOUT] it/javalinux/wise/package-info.java
18:44:41,871 INFO  [STDOUT] [ERROR] com.sun.tools.javac.Main is not available in the classpath, requires Suns JDK version 5.0 or latter.
18:44:41,876 INFO  [STDOUT] unknown location
18:44:41,876 INFO  [STDOUT] compilation failed, errors should have been reported
18:44:41,877 INFO  [STDOUT] Failed to invoke WsImport
18:44:41,877 INFO  [STDOUT] java.lang.IllegalStateException: WsImport invocation failed. Try the verbose switch for more information
18:44:41,877 INFO  [STDOUT] 	at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:220)
18:44:41,877 INFO  [STDOUT] 	at org.jboss.wsf.spi.tools.WSContractConsumer.consume(WSContractConsumer.java:196)
18:44:41,877 INFO  [STDOUT] 	at it.javalinux.wise.core.client.WSDynamicClient.importObjectFromWsdl(WSDynamicClient.java:165)
18:44:41,877 INFO  [STDOUT] 	at it.javalinux.wise.core.client.WSDynamicClient.init(WSDynamicClient.java:125)
18:44:41,877 INFO  [STDOUT] 	at it.javalinux.wise.core.client.WSDynamicClient.init(WSDynamicClient.java:94)
18:44:41,877 INFO  [STDOUT] 	at it.javalinux.wise.core.client.WSDynamicClientFactory.getClient(WSDynamicClientFactory.java:120)
18:44:41,878 INFO  [STDOUT] 	at org.jboss.soa.esb.actions.soap.wise.SOAPClient.process(SOAPClient.java:225)
18:44:41,878 INFO  [STDOUT] 	at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
18:44:41,878 INFO  [STDOUT] 	at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
18:44:41,878 INFO  [STDOUT] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
18:44:41,878 INFO  [STDOUT] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
18:44:41,878 INFO  [STDOUT] 	at java.lang.Thread.run(Thread.java:619)
18:44:41,879 ERROR [STDERR] it.javalinux.wise.core.exceptions.WiseRuntimeException: Error occurred while consuming wsdl: /tmp/Wise0.xml
18:44:41,879 ERROR [STDERR] 	at it.javalinux.wise.core.exceptions.WiseRuntimeException.rethrow(WiseRuntimeException.java:44)
18:44:41,880 ERROR [STDERR] 	at it.javalinux.wise.core.client.WSDynamicClient.init(WSDynamicClient.java:151)
18:44:41,880 ERROR [STDERR] 	at it.javalinux.wise.core.client.WSDynamicClient.init(WSDynamicClient.java:94)
18:44:41,880 ERROR [STDERR] 	at it.javalinux.wise.core.client.WSDynamicClientFactory.getClient(WSDynamicClientFactory.java:120)
18:44:41,880 ERROR [STDERR] 	at org.jboss.soa.esb.actions.soap.wise.SOAPClient.process(SOAPClient.java:225)
18:44:41,880 ERROR [STDERR] 	at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
18:44:41,880 ERROR [STDERR] 	at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
18:44:41,880 ERROR [STDERR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
18:44:41,880 ERROR [STDERR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
18:44:41,880 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:619)
18:44:41,881 ERROR [STDERR] Caused by: java.lang.NullPointerException
18:44:41,881 ERROR [STDERR] 	at it.javalinux.wise.core.client.WSDynamicClient.getClassNames(WSDynamicClient.java:181)
18:44:41,881 ERROR [STDERR] 	at it.javalinux.wise.core.client.WSDynamicClient.init(WSDynamicClient.java:127)
18:44:41,881 ERROR [STDERR] 	... 8 more


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218123#4218123

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218123



More information about the jbossws-dev mailing list