[ http://issues.apache.org/jira/browse/AXIS2-1364?page=all ]

Eran Chinthaka resolved AXIS2-1364.
-----------------------------------

    Fix Version/s: 1.1
       Resolution: Fixed

Fixed in r465520. Thanks Sandakith.

> After specifying a custom package name some classes being created under a 
> different package structure
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1364
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1364
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: ide plugins
>    Affects Versions: 1.1
>         Environment: Windows XP, jdk1.5.0_08, Maven 1.0.2, Mozilla Firefox 
> 1.5.0.6
>            Reporter: Evanthika Amarasiri
>             Fix For: 1.1
>
>
> Tested the Code Generator Wizard on the windows platform and found a defect. 
> Following are the steps which I followed
> 1. Launch Eclipse and select File -> New -> Other
> 2. From the "New" window, select "Axis2 Code Generator" which is under "Axis2 
> Wizards" and click on the "Next" button
> 3. Select the radio button option "Generate Java source code from a WSDL 
> file" and click "Next"
> 4. Select a valid WSDL file and click on "Next"
> 5. Set the options as below (Example)
> a) Codegen option - custom
> b) output language - java
> c) Service Name - <Name specified in the wsdl file you selected. This will be 
> loaded automatically when you have selected the wsdl>
> d) Port Name - <Will be loaded automatically when you select the wsdl>
> e) Databinding Name - adb
> f) Custom package name - adb.testcases.sync.servicexml
> g) Select the radio button option "Generate sync style only"
> h) Changed the custom package name for the xsd classes to be stored to 
> "adb.testcases.sync.servicexml.xsd" from "org.apache.axis2.userguide.xsd"
> 6. Click on the button "Next"
> 7. Specify the output path and click on "Finish"
> 8. When the code generation is completed, go to the output path which you 
> specified above and you will see that some class have been generated 
> correctly but some have generated under some other package structure. (Under 
> "org.apache.axis2.userguide.xsd".The package structure which was there before 
> you changed it )
> Should generate the classes under the package structure which is specified 
> through the Code Generator Wizard.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to