Hi, to all
I am new to SOAP.I am working with Apache
Tomcat 6.0
I downloaded,
soap-bin-2.3.1
Xerces-J-bin.1.4.4
javamail-1.4
jaf-1.1,
Then i follow some steps from the diff useful links, which tells to add
activation.jar
mail.jar
xerces.jar
soap.jar
in (TomcatHome)/lib, So i did that.
After that, said to add soap.war file in the (tomcathome)webapps/ i did that ,and stop/start the apache service.
Got everything expected means,
I am getting the soap/admin page and can run servlet/rpcrouter and servlet/massagerouter.
But now the problem arise when i start to build small appl for the
testing.
I build one small
SOAP service compile it save the class file in the :-
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\soap\WEB-INF\classes\onjava\
Here you can see the tomcat home path as well onjava package,i used.
But when i try to use the service from the command line using
java command it gave me error, i figure it out and change the class path accordilngly to point it to the mail.jar
So after doing that i can run the list command,with successful result.
But when i made deployment descriptor.xml for my small SOAP service,it gives me error,
Exception in
thread "main" java.io.FileNotFoundException: DeploymentDescriptor.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at java.io.FileReader.<init>(FileReader.java:41)
at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:227).
Couldnt figure it out why i am getting this error.
And i amnot sure where to save the Deploymentdescriptor.xml file in the directory structure ,but I saved in the onjava package itself.
I set my classPath as,
.;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\mail.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar;C:\Program Files\Java\jdk1.6.0\soap-2_3_1\lib\soap.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib;C:\Program Files\Java\jdk1.6.0\soap-2_3_1\lib\activation.jar;C:\Program Files\Java\jdk1.6.0\soap-2_3_1\lib\mail.jar;C:\Program Files\Java\jdk1.6.0\soap-2_3_1\lib\xerces.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\xerces.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\activation.jar
Just to solve my prob But getting more confuse.
So please guide me in this.
Thanks In advance.