Log of /webservices/axis/trunk/java/build.xml
Parent Directory
|
Revision Log
Revision
711188 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 4 06:22:35 2008 UTC
(12 months, 3 weeks ago)
by
jochen
File length: 28991 byte(s)
Diff to
previous 530657
(
colored)
The XSD folder was missing in the source distribution. Consequently it was not possible to build Axis from the source distribution.
Revision
257207 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 19 10:23:57 2003 UTC
(5 years, 11 months ago)
by
ias
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 26435 byte(s)
Diff to
previous 257002
(
colored)
Set locale of build.time as en (English) to avoid non-Latin characters of MMM pattern.
Note: in the Korean locale, MMM consists of numbers and Korean characters, so generated WSDL with the build.time can cause UTFDataFormatException.
If you want to resolve such a problem, you need to convert resource.properties by native2ascii tool shipped with JDK.
Revision
256437 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 20 23:58:37 2003 UTC
(6 years, 4 months ago)
by
ericf
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 26195 byte(s)
Diff to
previous 256427
(
colored)
Added configuration support to CommonsHTTPSender, making it possible
to set the size of the connection pool, the number of connections
allowed per host by the pool, and the timeout on allocating a
connection from the pool. All values are identical to the defaults
of Commons HTTP Client, so there is no change to the existing
behavior. The default implementation of the new interface for
configuring these values reads them from AxisProperties, which fall
back to system properties, making it possible to configure these
settings through that mechanism as well. Connection timeout --
both in creating the connection and in blocking for socket reads
-- is derived from the Axis message for a specific request, just
as it is in the "regular" http transport. This preserves the
transparent pluggability of the commons http transport option and
separates the concern of connection timeouts from that of pooled
resource management.
None of these files are compiled unless commons-httpclient is present;
hence the modifications to build.xml
This enhancement was built against Commons HTTPClient 2.0 beta 2
Revision
255899 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 16 01:26:15 2003 UTC
(6 years, 10 months ago)
by
stevel
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 23856 byte(s)
Diff to
previous 255830
(
colored)
improving java dependency checking; this reduces the no. of changes which need a clean build to take. This task works by extracting the import info from .class files (and caching it), then deletes class files that are out of date w.r.t. any dependencies, not just the direct source file. So everything but constant import should get picked up.
Revision
255728 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 4 04:16:16 2002 UTC
(6 years, 11 months ago)
by
jmsnell
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 23213 byte(s)
Diff to
previous 255700
(
colored)
* Minor changes to ime packages
* Added a new >provisional< org.apache.axis.features package that is filtered out using the compile.ime option
* Moved the FeatureEnabled interface to the org.apache.axis.features package
* Made MessageExchangeCorrelator an interface and created SimpleMessageExchangeCorrelator as the basic impl
Revision
255580 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 26 21:46:47 2002 UTC
(7 years, 1 month ago)
by
jmsnell
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 22020 byte(s)
Diff to
previous 255528
(
colored)
Initial Commit of the Axis Internal Message Exchange (AIME) interfaces.
By default, the build will skip the org.apache.axis.ime package.
To compile the org.apache.axis.ime package, set the compileime
environment variable to true then compile as normal.
Revision
255503 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 14 21:59:31 2002 UTC
(7 years, 1 month ago)
by
tomj
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 21363 byte(s)
Diff to
previous 255493
(
colored)
Fix up the interop3 directory and added a README.txt file.
To build, you can
1. Run the interop3 target from the top level
2. Run 'ant' in the interop3 directory
3. Run 'ant' in each of the test directories
To deploy the Group D services:
- Run 'ant deploy' in the interop3 directory
To run the tests
- Execute the run.sh file with an endpoint file argument
Example: './run.sh endpoints-local' will execute against SimpleAxisServer
There is also a Java driver, Interop3TestCase.java, that Glen wrote, but I
don't use it. It should work if the test.properties file is set up correctly.
Revision
255469 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 8 22:24:00 2002 UTC
(7 years, 1 month ago)
by
rsitze
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 21224 byte(s)
Diff to
previous 255465
(
colored)
work around components.net.*:
- Moved JSSE (and Fake*) classes to Sun*.
- Introduced JDK14* version, though they need more work/cleanup.
- No way to configure SocketFactory and SecureSocketFactories
separately, so added new interface SecureSocketFactory to
key off of during discovery process.
other:
- Moved discovery helper classes to discovery.
Revision
255237 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 19 15:58:02 2002 UTC
(7 years, 2 months ago)
by
dims
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 21688 byte(s)
Diff to
previous 255221
(
colored)
Fixes to build system:
- adding inheritAll and inheritRefs flag to all "<ant" calls and set them to false by default.
- flags can be controlled from properties.xml
- sanitized "<ant" calls such that they have a dir attribute and the ant file attribute has the name of the build file relative to that dir
- cleanup interop a bit
- force a delete of samples/userguide/example6 classes to prevent gump failure.
Revision
255221 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 18 14:39:08 2002 UTC
(7 years, 2 months ago)
by
seibert
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 21570 byte(s)
Diff to
previous 255212
(
colored)
This separates out the junit and functional tests into two targets
so that when you run one, it only does what is needed.
It also makes the comment on "my-forking-ant" a little more friendly
This also fixes the problem that running "ant all" doesn't run junit tests
Revision
254839 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 16 15:19:57 2002 UTC
(7 years, 3 months ago)
by
butek
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 23185 byte(s)
Diff to
previous 254783
(
colored)
Some more attachments stuff, significantly, Images now work (yay).
But along with Images working, we now have a new dependency: JIMI.
It's an optional dependency. If you don't have it AXIS will still build, but if
you want to send Images as attachments, you'll need it.
I don't have an image test, yet, but the TCK tests it, so I'm in no hurry.
Revision
254681 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 30 15:41:15 2002 UTC
(7 years, 3 months ago)
by
seibert
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 22731 byte(s)
Diff to
previous 254648
(
colored)
Have moved the build.xml file to use the xmls/ fragments for properties,
classpath, and common targets "setenv" and "printEnv".
This drop also "officially" moves the AXIS project up to ant 1.5 New
versions of the ant binaries can be found at
http://jakarta.apache.org/builds/jakarta-ant/release/v1.5/
for all of you late comers......
A quick work on "setenv" versus "printEnv":
These are designed for two different purposes. Many operations need the
variables set up, but you don't neccessarilly want the full output shown each
time. So I split the PRINTING into the printEnv target, which, when called,
loads up the environment AS WELL AS prints out the data.
Once this is done (and you are satisfied with the output) you can just call
"setenv" in any given sub-process to load up the environment, without having to
parse through all of the output from the printing.
Other than these changes, the build.xml still functions as it always has (i.e. I
have NOT merged in my buildTest and buildSamples changes with this defect)
Revision
254591 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 17 20:28:07 2002 UTC
(7 years, 4 months ago)
by
dims
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 30171 byte(s)
Diff to
previous 254564
(
colored)
- Checking in a HTTPSender based on Jakarta commons's HttpClient (one reason is that our HTTPSender is becoming complicated to maintain).
- I will roll back the patch to MimeUtils as soon as i get a patch accepted by the HttpClient folks.
Revision
254280 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 6 19:00:42 2002 UTC
(7 years, 5 months ago)
by
dims
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 28198 byte(s)
Diff to
previous 254266
(
colored)
Ability to run a single test case. For example to run the MultithreadTestCase the ant parameters are as follows:
ant -Ddeploy.xml.property=build\work\samples\addr\deploy.wsdd -Dundeploy.xml.property=build\work\samples\addr\undeploy.wsdd -Dtest.functional.testcase=MultithreadTestCase functional-tests-only
This will command will do the following:
1. Start the SimpleAxisServer
2. deploy the build\work\samples\addr\deploy.wsdd
3. then execute MultithreadTestCase
4. undeploy using deploy the build\work\samples\addr\deploy.wsdd
5. Stop the SimpleAxisServer
Revision
254242 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 3 17:57:01 2002 UTC
(7 years, 5 months ago)
by
dims
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 27812 byte(s)
Diff to
previous 254217
(
colored)
- Print a header for axis version, ant version and build file name.
- Fix MessageElement's getValue
- Added JAXM DelayedStockQuote sample to the test harness
- Externalize DefaultAuthenticator.java
- Fix WSDL2 and WSDL2AntJavaTask to use the DefaultAuthenticator.java
- Fix test scripts to get all-tests to run well in an environment where
- a proxy server is required for internet access
- and the proxy server requires a userid and password.
- To be able to do the above all you need to do is specify the proxy parameters in ANT's jvm as shown below:
java -Dhttp.proxyHost=XXXXXX -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost -Dhttp.proxyUser=XXXXXX -Dhttp.proxyPassword=XXXXXX org.apache.tools.ant.Main
Revision
254161 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat May 18 14:08:31 2002 UTC
(7 years, 6 months ago)
by
scheu
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 25944 byte(s)
Diff to
previous 254086
(
colored)
Added a test (addrNoImplSEI)
This test ensures that an service implementation does not
need to implement the SEI (Service Endpoint Interface).
An test.addrNoImplSEI.AddressBookSoapImpl is added that
is just like the samples.addr.AddressBookSoapImpl except that
it does not implement AddressBook.
I also removed the <operation> elements from the
deploy.wsdd for this test to force the runtime to use introspection.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
253535 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 20 18:59:22 2002 UTC
(7 years, 9 months ago)
by
gdaniels
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 21832 byte(s)
Diff to
previous 253529
(
colored)
Several changes:
1. Fix bug in RPCProvider where we were dispatching to no-arg methods
regardless of what we received in the XML.
2. Remove the code to search for methods which have a MessageContext
as the first arg, and upgrade all usages of this functionality to
use MessageContext.getCurrentContext()
3. Add a switch in the WSDD so you can say:
<service name="foo" provider="java:RPC" style="document">
and the "document-ness" will be remembered through the system,
including in particular the WSDL emitter. This will be used a lot
more later as our doc/lit support improves.
4. Change MessageContext.getServiceHandler() to getService(), and
it now returns a SOAPService explicitly. Also setServiceHandler()
is now setService(SOAPService). This rippled through AxisServer
and EngineConfiguration as well.
5. Remove the code which attempted to map an element QName as a type
QName - if we need to do type mapping via elements, there should be
a better way.
6. Handle overloaded methods - this was accomplished for now by
moving the "determineDefaultParams" logic that used to be in
RPCHandler into RPCElement.deserialize(). That method now attempts
to deserialize the RPCElement once for each potential method
match, and it continues in the face of deserialization errors.
This is the biggest change, and it needs some more looking at, IMO.
The logic that is currently spread out between here, RPCHandler, and
RPCProvider to deal with method dispatch and argument conversion
could be cleaned up and made a lot more efficient, I think.
7. Add an overloaded method test to test.RPCDispatch.TestSerializedRPC
*whew*, I think that's it. This all started with just wanting to do
the document switch!!
Revision
253529 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 20 13:46:09 2002 UTC
(7 years, 9 months ago)
by
glyn
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 21789 byte(s)
Diff to
previous 253525
(
colored)
Add interop. round 3, group E tests.
Note that the InteropTestDocLit runs with rpc/enc until Axis supports doc/lit
on the server side.
These tests do not export any new endpoints from apache.org and do not call any
endpoints on the internet.
Revision
253525 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 19 17:38:23 2002 UTC
(7 years, 9 months ago)
by
scheu
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 21728 byte(s)
Diff to
previous 253519
(
colored)
The following changes are submitted by Richard Sitze.
Summary of Changes:
Use the org.apache.common.logging apis as a common logging interface.
1. Changed all of the source files to use the new logging interface.
Example:
Before:
< static Category category =
< Category.getInstance(AxisEngine.class.getName());
< if (category.isDebugEnabled())
< category.debug(JavaUtils.getMessage("enter00", "AxisEngine::init"));
After:
> static Log log =
> LogFactory.getLog(AxisEngine.class.getName());
> if (log.isDebugEnabled())
> log.debug(JavaUtils.getMessage("enter00", "AxisEngine::init"));
2. log4j.properties: I renamed "A1" to "CONSOLE", and added a new
appender named "LOGFILE". The CONSOLE appender will ignore logging below
the FATAL threshold (consistent with original use). The LOGFILE appender
is not used by default. If enabled, it captures INFO message or higher.
The properties file can now be easily modified to capture DEBUG messages
(change INFO to DEBUG) to a file without dumping EVERYTHING to the
console...
3. attachments/MimeUtils.java: minor changes to comments that allowed
Rational Rose to reverse engineer this file...
4. New file TestSrcContent.java. This is a generic test tool that looks
for strings to "avoid" in the content of the source tree. It is based on
TestMessages.java. Currently it only checks for "org.apache.log4j" (which
covers imports or other references to the package or classes in the
package). In the future we might consider adding "System.out.println" to
that...
5. Added the commons-logging.jar file and license.
Revision
253519 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 18 23:44:17 2002 UTC
(7 years, 9 months ago)
by
gdaniels
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 21385 byte(s)
Diff to
previous 253513
(
colored)
BCEL -> tt-bytecode
Use tt-bytecode library (http://tt-bytecode.sf.net) instead of BCEL because
a) it's half the size, and b) it can create ByteCode-capable objects from
java.lang.Classes without classloader problems.
- Change JWSClassLoader to customize getResourceAsStream() so we
return the right bytes.
- Add "-g" arg to default compiler args in AbstractCompiler
- Revamp ClassRep to use tt-bytecode APIs
- Adjust build.xml to match
Revision
253499 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 14 17:12:01 2002 UTC
(7 years, 9 months ago)
by
dims
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 20032 byte(s)
Diff to
previous 253498
(
colored)
Factor out ServletContext from EngineConfigurationFactory by
- Deleting getServerEngineConfig(ServletContext ctx) method from EngineConfigurationFactory
- Adding a new ServletEngineConfigurationFactory.java
- Changing references in AdminServlet and AxisServlet to use the new ServletEngineConfigurationFactory.
Revision
253361 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 30 15:45:38 2002 UTC
(7 years, 9 months ago)
by
gdaniels
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 19246 byte(s)
Diff to
previous 253320
(
colored)
Automatically keep two messages in resources.properties up to date
reflecting the version and build date/time of the current axis.jar.
Introduce org.apache.axis.Version, which you can run from the command
line to check what version of Axis you're running.
TODO : include a built-in SOAP service to get this same info.
Revision
253320 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 25 16:30:08 2002 UTC
(7 years, 10 months ago)
by
dims
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 18820 byte(s)
Diff to
previous 253242
(
colored)
First cut of javax.xml.soap package from JAXM Spec.
- This is a subset of the classes from JAXM that we need for JAX-RPC 0.6
- Had to check in 2 classes in javax.xml.messaging that were referenced from javax.xml.soap package.
- Had to check in 1 class in javax.xml.transform that was referenced from javax.xml.soap package.
- Needs "attachments.present" to compile. Does not compile if attachments.present is false.
- Javadocs were hand-copied from JAXM Spec's Javadocs (JAX Winter Pack)
- As soon as we get an official copy we can replace this code with the "official" copy.
Revision
253218 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 4 19:09:41 2002 UTC
(7 years, 10 months ago)
by
scheu
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 18243 byte(s)
Diff to
previous 253181
(
colored)
Summary of changes
* build.xml, build_functional_tests.xml, etc.
- Changes to support move of testcases
- Changed ${debug} default from "true" to "off", "true" is not a valid debug value
* arrays test, refattr test, multiref test, sequence test
- Moved into subdirectories of test/wsdl
- Changed package names
- Did some cleanup of sequence test
- Remove output bloat of array test, and added more checking
* Wsdl2javaTestSuite.list is not necessary and is now removed.
* Changes to developers-guide.html
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
253181 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 18 21:28:21 2001 UTC
(7 years, 11 months ago)
by
scheu
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 18511 byte(s)
Diff to
previous 253150
(
colored)
Done � � � � �1) Support for the 3 encoding styles listed in the JAX-RPC Table 18-1
--------------------------------------------------------------------------------------
Added 12/14 2) Support for arrays of arrays
--------------------------------------------------------------------------------------
Just Added � �3) Support for multi reference elements
i) Multi-referenced non-array elements
Added code to Array Deserializer and Deserializer to
guarantee that the components of an array are set before
the array is completed.
ii) Multi-referenced array elements
The Array Deserializer now stores the array in the
new ArrayListExtension inner class. This class stores
the ArrayList plus it keeps track of the conversions
performed by JavaUtils.convert. Thus multiple calls
to JavaUtils.convert for the same ArrayList will return
the same array object.
iii) New wsdl/marrays tests
--------------------------------------------------------------------------------------
Just Added 4) Support for multi-dim array types (i.e. soapenc:arrayType=int[2,3])
i) Array Serialization
Added code to detect multidimensional array (like int[2][3])
and serialize as int[2,3]. This code is not safe in
some situations and was disabled after testing.
(see notes in the code)
ii) Array Deserialization
Added code to properly detect multi-dim encodings and
changed valueReady() to properly find and set the element
in a nested array.
--------------------------------------------------------------------------------------
Some Support 5) Support for sparse arrays
i) added support for properly converting a multi-dimensional
position attribute.
--------------------------------------------------------------------------------------
Some Support 6) Support for partially transmitted
i) added support for properly converting a multi-dimensional
offset attribute.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
252854 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 16 02:57:54 2001 UTC
(8 years ago)
by
rineholt
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 17915 byte(s)
Diff to
previous 252847
(
colored)
EchoAttachment.java shows an example of an attachment that is
sent by an Java RPC client to the server. The server then just sends
it back. A check is done on the client to verify the attachment
sent back is the same as the source.
org/apache/axis/Message.java,
Changes allow content-location to be passed on from http
server to attachment logic.
org/apache/axis/Message.java,
Filter through content-location.
org/apache/axis/attachments/BoundaryDelimitedStream.java
Fixed in terrible bug in not finding boundary stream correctly.
org/apache/axis/attachments/ManagedMemoryDataSource.java
Data can be obtained as a file.
java/src/org/apache/axis/attachments/MimeUtils.java
Fixed bug for determining content length.
java/src/org/apache/axis/attachments/MultiPartRelatedInputStream.java
Allowed access to content-location from stream.
java/src/org/apache/axis/encoding/DeserializationContext.java
Allow access to attachment content.
Most of this is very preliminary. -- need to still understand this
logic a whole lot more. Same for the way attachments are serialized.
java/src/org/apache/axis/transport/http/AxisServlet.java
Filter content-location to message and then attachment logic.
java/src/org/apache/axis/transport/http/AxisServlet.java
Fixed a bug that if a space or tab exists in the first line
of an http header its the continuation of the previous header.
Fixed logic to allow filtering of multi-part streams when data
is received, so that attachments can be received.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
252825 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 13 18:38:18 2001 UTC
(8 years ago)
by
scheu
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 17736 byte(s)
Diff to
previous 252805
(
colored)
If a <complexType> contains a <sequence> group element, the elements
must be written out in the prescribed order when serialized. A <all> group
does not dictate an ordering.
However, by the type a java object gets to the BeanSerializer, there is
no way to determine if it was constructed from a <sequence> or <all> group.
To make matters worse, the PropertyDescriptors (from BeanInfo) are in a
'random' order.
I added a sortPropertyDescriptors() utility method to the BeanSerializer to attempt to
sort the PropertyDescriptors according to the order of the 'get' methods.
(The assumption is that the order of the get methods is the same as the
order of the elements in a <sequence>...a good assumption if the class was
generated by an emitter.) There is little performance penalty since the
PropertyDescriptors are obtained once per class.
(I could have added coded to the BeanDeserializer 'find field by name' loop
to anticipate the next field being deserialized...)
In the process of making this change I found/fixed a NullPointerException in Deserializer.
I also added a sequence test to make verify compliance.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
252805 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 10 03:35:41 2001 UTC
(8 years ago)
by
rineholt
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 17690 byte(s)
Diff to
previous 252799
(
colored)
Work in progress. Allows from the Call method to add Java Activation
DataHandlers as attachments. Serializers can control what type of HREF
to generate. Also serializers could decide not add the attachment at all
and provide a URL to the actual source ... tomorrow.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
252723 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 2 03:07:42 2001 UTC
(8 years ago)
by
robj
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 15852 byte(s)
Diff to
previous 252717
(
colored)
First pass at support classes for attachments.
Does not actually do any MIME yet!
- Added Part, with SOAPPart and AttachmentPart subclasses, paralleling JAXM.
- Message now simply gives access to Parts.
- SOAPPart has the various getAs...() methods formerly in Message.
- activation.jar is optional -- if you do not have it on your classpath, most of the
attachments classes will not get built, and you will have no access to
attachments.
I have not repackaged any existing classes. Yet. I plan to, as the feedback
seemed generally positive.
Next up: fleshing out the MIME methods, and actually using writeTo() in
appropriate places.
After that: actually sending MIME envelopes!
Revision
252717 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 31 23:50:22 2001 UTC
(8 years ago)
by
gdaniels
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 15367 byte(s)
Diff to
previous 252700
(
colored)
WSDD integration!
There's a lot here, and I want to get home, but the functional tests do work
on my machine with these changes. Hopefully this will be true for you too!
Note that the old syntax for configuration still works, with a small caveat
or two. The big one is that Service pivots may ONLY be "RPCDispatcher" or
"MsgDispatcher", not custom chains. I altered the deploy.xml's which were
affected by this in the samples.
SOME DETAILS:
* The engine now gets all its Handlers and Services and such from a
DeploymentManager which is initialized by a WSDD document. This
connects with the whole config/deploy conversation, which I'd love to
get closure on in the next week or so. (nailing down where everything
comes from, how pluggable we want/need to be, the whole JNDI
situation, etc.)
* Changed newInstance() to getInstance() in DeployableItem - since we may
want to cache/pool/etc., this seemed more intuitive
* Removed all direct usage of HandlerRegistries, always going through the
AxisEngine or DeploymentRegistry APIs instead.
* Switch the default config from *.xml to *.wsdd
* Added an ElementSerializer while I was working on this, too
* Added initial support for polymorphic serialization - will look for
serializers for the class, followed by all implemented interfaces,
and do that for each class up the hierarchy (see TypeMappingRegistry for
details)
* Took out a couple of places where we were re-initializing the Engine
ISSUES + COMMENTS:
The encodingStyle support still needs to be hooked in (though I don't think
it'll really get much usage judging from the current SOAP community).
The "provider" configuration is still a little grotty, and I'd like to figure
out a final nice form for this. Will send a more detailed message to the
list on this subject in the next day or so.
When new services are deployed into an active engine, an in-memory version of
the DOM document is modified via the WSDD APIs. Therefore the resulting
server-config.wsdd files are in the order of deployment, not arranged via type
like server-config.xml used to be. Also, this does NOT catch duplicates,
so after running the functional tests, you end up with a rather large
server-config.wsdd file. This will get fixed.
Right now we still use the Admin class to configure the engine via the
usual FileProvider. There's a new method, processWSDD(), which hands off
deployment tasks to the WSDD code if the Admin class notices the root element
is in the WSDD namespace. The old style XML configuration will continue to
work through this next release as well, but when it disappears we can clean up
a lot of code, including the Admin class.
STILL TO DO:
* Cleanup (probably including some refactoring)
* Test writing
* Fix generated WSDD docs so they look better (organization and no dups)
* Several places which used to use "client" deployment via the Admin class
(in particular the transport tests) have been switched to hardcoded transport
deployments. I'll work on getting the equivalent functionality into WSDD,
but it's not there yet.
* Switch all the samples and tests over to using WSDD (only the stock sample
does it now)
OK, that's it for now. I'll be working on this more tomorrow, so if any
issues arise I'll be on them quickly.
Revision
252536 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 15 19:24:01 2001 UTC
(8 years, 1 month ago)
by
dug
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 16455 byte(s)
Diff to
previous 252524
(
colored)
- Start adding support for messaging using new Call interface.
See AdminClient for an example - I'll be switching over the samples soon.
- Added an "all" target in build.xml to do "dist" and "functional-tests".
- Remove some Axis extensions in Call.java in favor of using properties
instead.
- Moved some Call constants from Constants.java to Call.java
Revision
252509 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 11 19:15:55 2001 UTC
(8 years, 1 month ago)
by
dug
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 14715 byte(s)
Diff to
previous 252497
(
colored)
Only compile *TestSuite.java files if JUnit is in the classpath.
(Thanks to Rick Rineholt for noticing)
*** NOTE TO ALL DEVELOPERS ***
Please make sure your JUnit Java files end in "*TestSuite.java" or
of course just extend the "excludes" line.
Revision
252444 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 2 15:01:31 2001 UTC
(8 years, 1 month ago)
by
gdaniels
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 14458 byte(s)
Diff to
previous 252415
(
colored)
Two changes:
1) Merge in Carsten Zeigeler's HTTPSender proxy support code.
2) Enable more reasonable log4j initialization. Put a log4j.properties
file at the top level of the axis.jar, so it'll get picked up if another
one (from the app server for instance) doesn't get found first.
Revision
252085 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 29 13:14:40 2001 UTC
(8 years, 4 months ago)
by
gdaniels
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 12761 byte(s)
Diff to
previous 252081
(
colored)
Save registries in the current directory of the engine.
Files are now "client-config.xml" and "server-config.xml" to avoid conflicts.
Make a first-class Transport object, so that getDeploymentData() can return
a <transport> element. In concert with this, build a TransportSupplier which
subclasses TargetedChainSupplier, and hook it into the Admin.
Revision
252050 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 21 02:46:00 2001 UTC
(8 years, 5 months ago)
by
robj
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 12230 byte(s)
Diff to
previous 252047
(
colored)
Fixed up various SOAPAction and body dispatch issues:
- Added "all-tests" build target
- Made JWSHandler always set service if .jws URL
- Made HTTPActionHandler deal gracefully with SOAPAction: ""
- Patched Admin to look at local name
- Patched all deploy.xml, etc. to allow body dispatch for admin requests
- Copy .jws file to build/jws to allow functional test to actually build it
- Change jws test to verify JWS-specific return value
- Dike out IBM test
- Make TCP transport into a sample, using body dispatch
- Remove "SOAPAction hack" from file transport
- Add stock test for SOAPAction: "" over HTTP
Revision
252047 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 18 19:33:36 2001 UTC
(8 years, 5 months ago)
by
gdaniels
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 12134 byte(s)
Diff to
previous 251979
(
colored)
First cut at a tiny web management interface for Axis.
Add an AdminServlet which manages a singleton AxisServer instance.
Right now you can only turn it on and off, but if you do so you can see
the appropriate fault come back when its disabled.
Revision
251952 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu May 31 09:25:25 2001 UTC
(8 years, 5 months ago)
by
robj
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 12528 byte(s)
Diff to
previous 251935
(
colored)
I hope I will never have to make another checkin as large
as this. Changes include:
- tcp transport (probably already deprecated)
- generic ServiceClient replaces (HTTP-specific) HTTPCall
- functional test suite exercises client-server HTTP and TCP
(do "java org.apache.tools.ant.Main functional-tests")
- providers moved to toplevel directory
- MsgDispatchHandler, RPCDispatchHandler refactored
into MsgProvider, RPCProvider
- and more besides....
There may well be problems. I apologize in advance.
Feel free to call me, 415 861 2606, to work them out
absolutely ASAP tomorrow (today? :-).
Revision
251935 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 22 23:32:47 2001 UTC
(8 years, 6 months ago)
by
rubys
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 10655 byte(s)
Diff to
previous 251933
(
colored)
Tracked down the test failure - it failed because the test case was
written to the current behavior of the method, and not to the correct
behavior.
Rewrote the test case to parse REAL xml namespace desclarations, not
the pseudo attributes that the code was currently looking for. Once
the test case was corrected, it passed.
Note: I suspect that there is likely a similar problem with testGetPrefix.
I'm also checking in a build.xml which halts on failures....
Revision
251893 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed May 9 16:49:17 2001 UTC
(8 years, 6 months ago)
by
gdaniels
Original Path:
webservices/axis1/trunk/java/build.xml
File length: 10455 byte(s)
Diff to
previous 251875
(
colored)
A few changes to the build process:
1) Samples are now compiled to build/classes/samples.
2) The distribution webapp directory gets all the sample classes
and the axis.jar file in the right places for deployment, thus
avoiding classpath problems for deployers.
3) Introduce a custom post-complilation build step which will
invoke the "post-compile.xml" file if it's present. This allows
developers to do custom work (primarily copying the jar,
perhaps restarting servers, etc) after the axis.jar is built.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.