You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Volkmann, Mark" <Ma...@AGEDWARDS.com> on 2002/09/17 17:49:56 UTC

JWS with classes in packages

This issue may have fallen off the radar so I want to re-raise it in the
hopes that someone familiar with the JWS implementation can fix it before
1.0.
 
Here's an example of the problem. Suppose I have the following class
Simple.java.
 
package com.company.topic;
 
public class Simple {
    public String getGreeting() { return "Hello"; }
}
 
To deploy this using JWS I must
1) copy Simple.java to the Axis web app., renaming it to Simple.jws
    If Tomcat is my server, I'd copy it to
tomcat/webapps/axis/com/company/topic/Simple.jws.
2) remove the package statement from the .jws file
 
Step 2 shouldn't be required!


***********************************************************************************
WARNING:  All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
************************************************************************************

Re: JWS with classes in packages

Posted by Davanum Srinivas <di...@yahoo.com>.
Mark,

PLEASE add an entry in bugzilla (http://nagoya.apache.org/bugzilla)

Thanks,
dims

--- "Volkmann, Mark" <Ma...@AGEDWARDS.com> wrote:
> This issue may have fallen off the radar so I want to re-raise it in the
> hopes that someone familiar with the JWS implementation can fix it before
> 1.0.
>  
> Here's an example of the problem. Suppose I have the following class
> Simple.java.
>  
> package com.company.topic;
>  
> public class Simple {
>     public String getGreeting() { return "Hello"; }
> }
>  
> To deploy this using JWS I must
> 1) copy Simple.java to the Axis web app., renaming it to Simple.jws
>     If Tomcat is my server, I'd copy it to
> tomcat/webapps/axis/com/company/topic/Simple.jws.
> 2) remove the package statement from the .jws file
>  
> Step 2 shouldn't be required!
> 
> 
> ***********************************************************************************
> WARNING:  All e-mail sent to and from this address will be received or
> otherwise recorded by the A.G. Edwards corporate e-mail system and is
> subject to archival, monitoring or review by, and/or disclosure to,
> someone other than the recipient.
> ************************************************************************************
> 


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com