axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2334) Axis2 WSDL2Java does not create abstract complext types correctly
Date Thu, 24 May 2007 15:33:16 GMT

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

Davanum Srinivas resolved AXIS2-2334.
-------------------------------------

    Resolution: Fixed

Please use Axis2 1.2, and also add "-g" to generate all the classes. i can see them after
i edited your build.xml and added the "-g" option.

C:\axis2-SNAPSHOT\axis2-2334\src\com\maerskline\etrack30\registered\ws\client\type\Favorite.java
C:\axis2-SNAPSHOT\axis2-2334\src\com\maerskline\etrack30\registered\ws\client\type\FavoriteAdvancedTracking.java
C:\axis2-SNAPSHOT\axis2-2334\src\com\maerskline\etrack30\registered\ws\client\type\FavoriteAdvancedTrackingContainers.java
C:\axis2-SNAPSHOT\axis2-2334\src\com\maerskline\etrack30\registered\ws\client\type\FavoriteExceptionTracking.java
C:\axis2-SNAPSHOT\axis2-2334\src\com\maerskline\etrack30\registered\ws\client\type\FavoriteSimpleTracking.java
C:\axis2-SNAPSHOT\axis2-2334\src\com\maerskline\etrack30\registered\ws\client\type\FavoriteSimpleTrackingCriterion.java
C:\axis2-SNAPSHOT\axis2-2334\src\com\maerskline\etrack30\registered\ws\client\type\FavoritesSortColumn.java

thanks,
dims

> Axis2 WSDL2Java does not create abstract complext types correctly
> -----------------------------------------------------------------
>
>                 Key: AXIS2-2334
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2334
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP, Rad6
>            Reporter: Fouche du Preez
>         Attachments: TrackingRegisteredService.wsdl
>
>
> This problem is related to Axis2 version 1.1.1
> When running the WSDL2Java utility on the attached WSDL, a complex abstract type is not
recognised and complex types that use it as a base is not generated at all.
> For easy reference:
> Abstract complex type: Favorite
> Types that use it as base: FavoriteAdvancedTracking, FavoriteAdvancedTrackingContainers,
FavoriteExceptionTracking, FavoriteSimpleTracking
> The ant script used:
> <?xml version="1.0"?>
> <project name="CodeGen" default="main" basedir=".">
> 	<path id="codegen.classpath">
> 		<fileset dir="lib">
> 			<include name="**/*.jar" />
> 		</fileset>
> 	</path>
> 	
> 	<target name="declare">
> 		<taskdef name="codegen"
> 			classname="org.apache.axis2.tool.ant.AntCodegenTask"
> 			classpathref="codegen.classpath"/>
> 	</target>
> 	
> 	<target name="main" depends="declare">
> 		<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
> 			<classpath refid="codegen.classpath" />
> 			<arg value="-d"/>
> 			<arg value="adb"/>
> 			<arg value="-wv"/> 
> 			<arg value="1.1"/>
> 			<arg value="-uri"/>
> 			<arg value="TrackingRegisteredService.xml"/>
> 			<arg value="-u"/>
> 			<arg value="-p"/>
> 			<arg value="com.maerskline.etrack30.registered.ws.client"/>
> 			<arg value="-ns2p"/>
> 			<arg value="http://www.maerskline.com/eTrack30/2006/03/22/TrackingRegisteredService=com.maerskline.etrack30.registered.ws.client,java:com.maerskline.etrack.service.type=com.maerskline.etrack30.registered.ws.client.type,java:com.maerskline.etrack.service.type.request=com.maerskline.etrack30.registered.ws.client.type.request,java:com.maerskline.etrack.service.type.response=com.maerskline.etrack30.registered.ws.client.type.response,java:net.msl.homepage.tracking3.busrequest.dataobject=com.maerskline.etrack30.registered.ws.client.type.request.dataobject,java:com.maerskline.etrack.service.type.enumeration=com.maerskline.etrack30.registered.ws.client.type.enumeration,java:language_builtins.lang=com.maerskline.etrack30.registered.ws.client.type.builtin.lang,java:language_builtins.math=com.maerskline.etrack30.registered.ws.client.type.builtin.lang.math,java:language_builtins.util=com.maerskline.etrack30.registered.ws.client.type.builtin.lang.util"/>
> 		</java>
> 	</target>
> 	
> </project>

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message