Title: RE: JWS Deployment

> -----Original Message-----
> From: Cory Wilkerson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 27, 2003 2:26 PM
> To: [EMAIL PROTECTED]
> Subject: JWS Deployment
>
> 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?

The official answer is that Axis does not support using JWS with classes that are in packages.  The unofficial answer is that it works if you put the .jws file in the correct directory structure, as you indicated above, AND you comment or remove the package statement from the .jws file.  You can do this with Ant as follows.

    <replace file="${jws}"
      token="package ${package};" value="//package ${package};"/>



***********************************************************************************
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.
************************************************************************************

Reply via email to