I need about an hour to look into this question but I haven't
forgotten about it. I expect to respond in the next day or so.

On Sat, Dec 21, 2019 at 2:20 AM albert kao <albertk...@gmail.com> wrote:
>
> I want to port some axis1 codes to axis2 with WSDL2Java and xmlbeans.
>
> e.g.
> axis1 generated this code:
> public class UserRequest implements java.io.Serializable {
>     public java.lang.String getAddrSame() {
>     //...
>     }
> }
>
>
> I create this build.xml:
> <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" 
> classpathref="axisclasspath">
> <arg line="-uri wsdl/MyService.wsdl"/>
>         <arg line="-b"/>
> <arg line="-s"/>
> <arg line="-ss"/>
> <arg line="-sd"/>
> <arg line="-ssi"/>
> <arg line="-ap"/>
> <arg line="-l java"/>
> <arg line="-d xmlbeans"/>
> <arg line="-o ${outdir}"/>
> </java>
>
>
> Then axis2 generate this code:
> public interface UserRequestType extends org.apache.xmlbeans.XmlObject {
>         public com.my.AddrSameType.Enum getAddrSame();
>     //...
>
> }
>
>
> How to modify the axis2 build.xml and java codes to generate the same 
> function signature?
> i.e.
> "UserRequest" instead of "UserRequestType",
> "class" instead of "interface",
> "java.lang.String" instead of "com.my.AddrSameType.Enum",
> ...
>
>
>
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to