You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jose Manuel Valladares Pernas (JIRA)" <ji...@apache.org> on 2006/10/27 16:06:16 UTC
[jira] Created: (AXIS2-1530) Error in WSDL2Java generating classes
for the OTA specification
Error in WSDL2Java generating classes for the OTA specification
---------------------------------------------------------------
Key: AXIS2-1530
URL: http://issues.apache.org/jira/browse/AXIS2-1530
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: wsdl
Affects Versions: nightly
Environment: axis2 1.1 snapshot October 27 2006
jsdk 1.5.0_06-b05
openSuse 10.1
Reporter: Jose Manuel Valladares Pernas
Generating the java classes from an WSDL that uses the schema files from the OTA specification the script WSDL2Java fails.
I am using the adb binding (actually, it fails in all bindings that I tried).
I am using axis 2 1.1 snapshot from today (October 27th) and jsdk 1.5.0.
The messages that WSDL2Java generates are:
Retrieving schema at 'xsd/OTA_CancelRQ.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CommonTypes.xsd'.
Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
Retrieving schema at 'xsd/OTA_CancelRS.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength0to128 missing!
Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength1to128 missing!
Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
WARNING: Type {http://www.opentravel.org/OTA/2003/05}StreetNmbrType missing!
Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
WARNING: Type {http://www.opentravel.org/OTA/2003/05}FreeTextType missing!
I am providing the WSDL and schema files I used.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-1530) Error in WSDL2Java generating classes
for the OTA specification
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1530?page=all ]
Davanum Srinivas reassigned AXIS2-1530:
---------------------------------------
Assignee: Davanum Srinivas
> Error in WSDL2Java generating classes for the OTA specification
> ---------------------------------------------------------------
>
> Key: AXIS2-1530
> URL: http://issues.apache.org/jira/browse/AXIS2-1530
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: nightly
> Environment: axis2 1.1 snapshot October 27 2006
> jsdk 1.5.0_06-b05
> openSuse 10.1
> Reporter: Jose Manuel Valladares Pernas
> Assigned To: Davanum Srinivas
> Attachments: files.ZIP
>
>
> Generating the java classes from an WSDL that uses the schema files from the OTA specification the script WSDL2Java fails.
> I am using the adb binding (actually, it fails in all bindings that I tried).
> I am using axis 2 1.1 snapshot from today (October 27th) and jsdk 1.5.0.
> The messages that WSDL2Java generates are:
> Retrieving schema at 'xsd/OTA_CancelRQ.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CommonTypes.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'xsd/OTA_CancelRS.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength0to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength1to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StreetNmbrType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}FreeTextType missing!
> I am providing the WSDL and schema files I used.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1530) Error in WSDL2Java generating
classes for the OTA specification
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1530?page=comments#action_12445365 ]
Davanum Srinivas commented on AXIS2-1530:
-----------------------------------------
could it be a problem processing xs:includes?
-- dims
> Error in WSDL2Java generating classes for the OTA specification
> ---------------------------------------------------------------
>
> Key: AXIS2-1530
> URL: http://issues.apache.org/jira/browse/AXIS2-1530
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: nightly
> Environment: axis2 1.1 snapshot October 27 2006
> jsdk 1.5.0_06-b05
> openSuse 10.1
> Reporter: Jose Manuel Valladares Pernas
> Attachments: files.ZIP
>
>
> Generating the java classes from an WSDL that uses the schema files from the OTA specification the script WSDL2Java fails.
> I am using the adb binding (actually, it fails in all bindings that I tried).
> I am using axis 2 1.1 snapshot from today (October 27th) and jsdk 1.5.0.
> The messages that WSDL2Java generates are:
> Retrieving schema at 'xsd/OTA_CancelRQ.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CommonTypes.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'xsd/OTA_CancelRS.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength0to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength1to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StreetNmbrType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}FreeTextType missing!
> I am providing the WSDL and schema files I used.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-1530) Error in WSDL2Java generating classes
for the OTA specification
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1530?page=all ]
Davanum Srinivas resolved AXIS2-1530.
-------------------------------------
Resolution: Fixed
Amila,
Please check this change. it's a totally stripped down version of your fix. (minus the formatting changes)
http://svn.apache.org/viewvc?view=rev&revision=469122
-- dims
> Error in WSDL2Java generating classes for the OTA specification
> ---------------------------------------------------------------
>
> Key: AXIS2-1530
> URL: http://issues.apache.org/jira/browse/AXIS2-1530
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: nightly
> Environment: axis2 1.1 snapshot October 27 2006
> jsdk 1.5.0_06-b05
> openSuse 10.1
> Reporter: Jose Manuel Valladares Pernas
> Assigned To: Davanum Srinivas
> Attachments: files.ZIP, SchemaCompiler.java-patch-301006.txt
>
>
> Generating the java classes from an WSDL that uses the schema files from the OTA specification the script WSDL2Java fails.
> I am using the adb binding (actually, it fails in all bindings that I tried).
> I am using axis 2 1.1 snapshot from today (October 27th) and jsdk 1.5.0.
> The messages that WSDL2Java generates are:
> Retrieving schema at 'xsd/OTA_CancelRQ.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CommonTypes.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'xsd/OTA_CancelRS.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength0to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength1to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StreetNmbrType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}FreeTextType missing!
> I am providing the WSDL and schema files I used.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1530) Error in WSDL2Java generating classes
for the OTA specification
Posted by "Jose Manuel Valladares Pernas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1530?page=all ]
Jose Manuel Valladares Pernas updated AXIS2-1530:
-------------------------------------------------
Attachment: files.ZIP
Wsdl and xsd files to generate the java classes
> Error in WSDL2Java generating classes for the OTA specification
> ---------------------------------------------------------------
>
> Key: AXIS2-1530
> URL: http://issues.apache.org/jira/browse/AXIS2-1530
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: nightly
> Environment: axis2 1.1 snapshot October 27 2006
> jsdk 1.5.0_06-b05
> openSuse 10.1
> Reporter: Jose Manuel Valladares Pernas
> Attachments: files.ZIP
>
>
> Generating the java classes from an WSDL that uses the schema files from the OTA specification the script WSDL2Java fails.
> I am using the adb binding (actually, it fails in all bindings that I tried).
> I am using axis 2 1.1 snapshot from today (October 27th) and jsdk 1.5.0.
> The messages that WSDL2Java generates are:
> Retrieving schema at 'xsd/OTA_CancelRQ.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CommonTypes.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'xsd/OTA_CancelRS.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength0to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength1to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StreetNmbrType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}FreeTextType missing!
> I am providing the WSDL and schema files I used.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1530) Error in WSDL2Java generating classes
for the OTA specification
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1530?page=all ]
Amila Chinthaka Suriarachchi updated AXIS2-1530:
------------------------------------------------
Attachment: SchemaCompiler.java-patch-301006.txt
the problem was with this statment,
XmlSchemaType type= parentSchema.getTypeByName(restriction.getBaseTypeName());
there it try to get the XmlSchemaType from only the parent schema. but there is a possibility to exists that in an included schema as well (actually this the reason in this case). There is a method called getType for correct retrival.
XmlSchemaType type = getType(parentSchema, restriction.getBaseTypeName());
> Error in WSDL2Java generating classes for the OTA specification
> ---------------------------------------------------------------
>
> Key: AXIS2-1530
> URL: http://issues.apache.org/jira/browse/AXIS2-1530
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: nightly
> Environment: axis2 1.1 snapshot October 27 2006
> jsdk 1.5.0_06-b05
> openSuse 10.1
> Reporter: Jose Manuel Valladares Pernas
> Assigned To: Davanum Srinivas
> Attachments: files.ZIP, SchemaCompiler.java-patch-301006.txt
>
>
> Generating the java classes from an WSDL that uses the schema files from the OTA specification the script WSDL2Java fails.
> I am using the adb binding (actually, it fails in all bindings that I tried).
> I am using axis 2 1.1 snapshot from today (October 27th) and jsdk 1.5.0.
> The messages that WSDL2Java generates are:
> Retrieving schema at 'xsd/OTA_CancelRQ.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CommonTypes.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_AirCommonTypes.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRQ.xsd'.
> Retrieving schema at 'xsd/OTA_CancelRS.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/'.
> Retrieving schema at 'OTA_CommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_AirCommonTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Retrieving schema at 'OTA_SimpleTypes.xsd', relative to 'file:/home/jmanuel/src/MiraiOTA/axis_2/OTA_Cancel/xsd/OTA_CancelRS.xsd'.
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength0to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StringLength1to128 missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}StreetNmbrType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}LocationType missing!
> Oct 27, 2006 2:31:42 PM org.apache.axis2.schema.SchemaCompiler findClassName
> WARNING: Type {http://www.opentravel.org/OTA/2003/05}FreeTextType missing!
> I am providing the WSDL and schema files I used.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org