Title: RE: JWS Deployment
yep, I got the feeling long ago that JWS deployment doesn't stand up for very long in anything but the most simplistic service implementations. I'd guess its inability to support complex types within an interface are often more debilitating than its 'package-related idiosyncrasies.
It is extremely cute, though! (Makes for great demos to those intimidated by the prospect of venturing into the world of web services!)
-----Original Message-----
From: Cory Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 2:48 PM
To: [EMAIL PROTECTED]
Subject: RE: JWS Deployment

Brutal.
-----Original Message-----
From: Volkmann, Mark [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 2:32 PM
To: '[EMAIL PROTECTED]'
Subject: 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