axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15903] New: - WSDL2Java stomping my service class
Date Wed, 08 Jan 2003 20:02:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15903>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15903

WSDL2Java stomping my service class

           Summary: WSDL2Java stomping my service class
           Product: Axis
           Version: 1.1beta
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: genechuang@yahoo.com


I write a simple service class in a package.  I run Java2WSDL to get the .wsdl 
file.  Then I run WSDL2Java to generate serverside wsdd files.  But my 
original service java file gets stomped.  Here's a simple test case to 
replicate:

./test/Test.java:
package test;
public class Test{public int foo(){return 123};}

run the following commands:
./java org.apache.axis.wsdl.Java2WSDL -l http://localhost:8080/test test.Test
./java org.apache.axis.wsdl.WSDL2Java -s test.wsdl

./test/Test.java gets overridden.  Is this the proper behavior?

Mime
View raw message