Put it directly into web-inf/classes :)



-----
Sochea MEAS, intern
LMC/JG/A department
Ericsson Communication Canada

telephone: 514-345-7900 ext. 3432
email: [EMAIL PROTECTED]


-----Original Message-----
From: Cory Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 3:26 PM
To: [EMAIL PROTECTED]
Subject: JWS Deployment


All,

I've had great success with Axis and have deployed a few services via custom 
deployment, but thought I'd play around with JWS to see if it followed through on the 
simplicity it seems to present -- but I've run into a bit of a problem: deploying 
package-qualified classes a JWS services.  If my class is package qualified, ie, class 
name: com.travelnow.test.Test, do I need to place the .jws file in 
root/com/travelnow/test/Test.jws?  If I simply place it in root and attempt to invoke 
the WSDL for the service, I get the following error:

Fault - ; nested exception is: java.io.FileNotFoundException: 
c:\projects\myproject\jsp\WEB-INF\jwsClasses\Test.class (The system cannot find the 
file specified)
However, if I go ahead and browse the directory structure, I see that Axis has created 
the JWS class at WEB-INF\jwsClasses\com\travelnow\test\Test.class.

Basically, I need to know if my .jws file needs to be in the same structure in project 
root as it is in the package structure.
Thanks,
Cory

Reply via email to