[ 
https://issues.apache.org/jira/browse/AXIS2-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ajith Harshana Ranabahu resolved AXIS2-2461.
--------------------------------------------

    Resolution: Won't Fix

This really is not a bug and the case is that the impl classes for the XMLBeans 
generated interfaces get generated inside the given package + impl. Here is an 
example
If I do "-ns2p http://soapinterop.org/xsd=a.b";. All the classes that would have 
been generated inside the org.soapinterop package are now inside the a.b 
package. However you will find the internal implementation classes of XMLBeans 
go inside a.n.impl (probably to make a neat separation) . This is not an issue 
since you should not use these classes directly in your code. The way you 
should instantiate is through the factory inner classes which are generated 
into each interface.
Frankly it seems to me that there is no way you can change these impl packages 
even if you wanted to (unless you change the XMLBeans code)

> -ns2p switch ignored when using wsdl2java with xmlbeans databindings
> --------------------------------------------------------------------
>
>                 Key: AXIS2-2461
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2461
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2, 1.1.1
>         Environment: Java 1.5.0_09 
>            Reporter: Murray Furtado
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>
>  I want to override the default package my xml beans get generated in. 
>  
> I issue my wsdl2java command with eg -ns2p http://www.xyx.com=com.abc.efg  or 
> -ns2p www.xyx.com=com.abc.efg 
> When I do so, my classes get generated in a package com.xyx.www.impl 
> regardless

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to