Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem integrating with web services  RSS feed

 
tejaswini vasist
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have done the web service deployment successfully.All the classes of
the web service module is present in :
..\Tomcat\webapps\axis\WEB-INF\classes

The other part which has the admin login flow is present in :
..\Tomcat\webapps\onjava\WEB-INF\classes\com\onjava

We need to call the web service part from admin flow.We have given an
option for that.
We need to know what package or import statement has to be given.
1. ..\Tomcat\webapps\axis\WEB-INF\classes is in classpath
2. we tried calling ProjectClient(a class in
..\Tomcat\webapps\axis\WEB-INF\classes) from a java file in
..\Tomcat\webapps\onjava\WEB-INF\classes\com\onjava but it is giving an
error saying cannot resolve symbol Class ProjectClient.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put your classes to a package (instead of leaving them into the default package) and try again.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!