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 "Patrick Martin (JIRA)" <ax...@ws.apache.org> on 2004/12/06 13:18:25 UTC

[jira] Updated: (AXIS-1664) Allow doAutoTypes to be configured through AxisProperties

     [ http://nagoya.apache.org/jira/browse/AXIS-1664?page=history ]

Patrick Martin updated AXIS-1664:
---------------------------------

    Attachment: AXIS Tests.zip

Here is a simple Eclipse project with some test cases.
IMPORTANT This project will not work until the following is set up:
[i] Build AXIS from latest CVS with doAutoTypes = true set in TypeMappingImpl.java (AAACK - I know, should be done using proper property route in the fullness of time...)
[ii] Create a TOMCAT webapp called axishead, based up the sample webapp in the AXIS distribution
[iii] place all the AXIS jars from java/build/lib in project lib directory
[iv] place same jars in the lib directory for the axishead wep application, replacing the originals
[v] open the Eclipse project: should build as the required jars are now in place
[v] place SimpleBean.class and NestBean.class from /bin/autotypestest in the classes/autotypestest directory of the axishead web application
[vi] fire up tcpmon on 2000, or alter WebServiceRTTIProxySimple to use 8080

The JUnit cases are in the AutoTypesProxyTest class.
Right-click in Eclipse and "run as JUnit test case"

Should see all green, and request/response in the tcpmon window
Now uncomment the marked lines in WebServiceRTTIProxySimple::invoke to see some, but not all tests fail, apparently due to client engine not performing reciprocal tasks to what server engine appears to be doing.

> Allow doAutoTypes to be configured through AxisProperties
> ---------------------------------------------------------
>
>          Key: AXIS-1664
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1664
>      Project: Axis
>         Type: Improvement
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Mark Chai
>  Attachments: AXIS Tests.zip, TypeMappingImpl.java
>
> I suggest a patch that allows for an "axis.doAutoTypes" in the AxisProperties to dictate whether or not to turn doAutoTypes on or off by default. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira