Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Faulty Web Services

 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to develop a simple service starting from WSDL to Java using eclipse 3.4 and axis2 and Axis2 code generator but when trying to access the web service from local host I got the following error Faulty web service
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the following error when executing the axis2server batch file

Using JAVA_HOME C:\Program Files\Java\jdk1.6.0_07
Using AXIS2_HOME C:\axis2-1.3
[INFO] [SimpleAxisServer] Starting
[INFO] [SimpleAxisServer] Using the Axis2 RepositoryC:\axis2-1.3\repository
[SimpleAxisServer] Using the Axis2 RepositoryC:\axis2-1.3\repository
[SimpleAxisServer] Using the Axis2 Configuration FileC:\axis2-1.3\conf\axis2.xml

[INFO] Deploying module: addressing-1.3
[INFO] Deploying module: metadataExchange-1.3
[INFO] Deploying module: ping-1.3
[INFO] Deploying module: script-1.3
[INFO] Deploying module: soapmonitor-1.3
[INFO] script module activated
org.apache.axis2.deployment.DeploymentException: A ClassNotFoundException error
occurred in loading the message receiver com.ttdev.ss.SimpleServiceMessageReceiv
erInOut
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
ServiceGroupBuilder.java:106)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServic
eGroup(ArchiveReader.java:103)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServ
iceGroup(ArchiveReader.java:172)
at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.ja
va:78)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy
(DeploymentFileData.java:137)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngin
e.java:571)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoL
ist.java:141)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListe
ner.java:318)
at org.apache.axis2.deployment.RepositoryListener.checkServices(Reposito
ryListener.java:220)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentE
ngine.java:118)
at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileS
ystemConfigurator.java:146)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContext(ConfigurationContextFactory.java:78)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContextFromFileSystem(ConfigurationContextFactory.java:180)
at org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server
.java:50)
at org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.j
ava:101)
Caused by: org.apache.axis2.deployment.DeploymentException: A ClassNotFoundExcep
tion error occurred in loading the message receiver com.ttdev.ss.SimpleServiceMe
ssageReceiverInOut
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBui
lder.java:389)
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
ServiceGroupBuilder.java:101)
... 14 more
Caused by: org.apache.axis2.deployment.DeploymentException: A ClassNotFoundExcep
tion error occurred in loading the message receiver com.ttdev.ss.SimpleServiceMe
ssageReceiverInOut
at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(De
scriptionBuilder.java:194)
at org.apache.axis2.deployment.DescriptionBuilder.processMessageReceiver
s(DescriptionBuilder.java:170)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBui
lder.java:245)
... 15 more
Caused by: java.lang.ClassNotFoundException: com.ttdev.ss.SimpleServiceMessageRe
ceiverInOut
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(De
scriptionBuilder.java:190)
... 17 more
[ERROR] The SimpleService service, which is not valid, caused A ClassNotFoundExc
eption error occurred in loading the message receiver com.ttdev.ss.SimpleService
MessageReceiverInOut
org.apache.axis2.deployment.DeploymentException: A ClassNotFoundException error
occurred in loading the message receiver com.ttdev.ss.SimpleServiceMessageReceiv
erInOut
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
ServiceGroupBuilder.java:106)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServic
eGroup(ArchiveReader.java:103)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServ
iceGroup(ArchiveReader.java:172)
at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.ja
va:78)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy
(DeploymentFileData.java:137)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngin
e.java:571)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoL
ist.java:141)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListe
ner.java:318)
at org.apache.axis2.deployment.RepositoryListener.checkServices(Reposito
ryListener.java:220)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentE
ngine.java:118)
at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileS
ystemConfigurator.java:146)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContext(ConfigurationContextFactory.java:78)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContextFromFileSystem(ConfigurationContextFactory.java:180)
at org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server
.java:50)
at org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.j
ava:101)
Caused by: org.apache.axis2.deployment.DeploymentException: A ClassNotFoundExcep
tion error occurred in loading the message receiver com.ttdev.ss.SimpleServiceMe
ssageReceiverInOut
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBui
lder.java:389)
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
ServiceGroupBuilder.java:101)
... 14 more
Caused by: org.apache.axis2.deployment.DeploymentException: A ClassNotFoundExcep
tion error occurred in loading the message receiver com.ttdev.ss.SimpleServiceMe
ssageReceiverInOut
at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(De
scriptionBuilder.java:194)
at org.apache.axis2.deployment.DescriptionBuilder.processMessageReceiver
s(DescriptionBuilder.java:170)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBui
lder.java:245)
... 15 more
Caused by: java.lang.ClassNotFoundException: com.ttdev.ss.SimpleServiceMessageRe
ceiverInOut
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(De
scriptionBuilder.java:190)
... 17 more
[INFO] org.apache.axis2.deployment.DeploymentException: A ClassNotFoundException
error occurred in loading the message receiver com.ttdev.ss.SimpleServiceMessag
eReceiverInOut
[INFO] Deploying Web service: version.aar
[INFO] [SimpleAxisServer] Started
[SimpleAxisServer] Started
[INFO] Listening on port 8080
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic