axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Nash (JIRA)" <>
Subject [jira] Commented: (AXIS-2672) Error occured when generating Java class from WSDL file.
Date Fri, 31 Aug 2007 18:09:18 GMT


Simon Nash commented on AXIS-2672:

This problem occurs when specifying an exception on the service interface if the exception
has a full Java class name of the form java.lang.* or javax.*.

The axis2 java2wsdl generator has special code for these two package prefixes that does not
work correctly.  It maps all classes in these packages to xs:anyType instead of a complex
type.  The code that generates wsdl:message and wsdl:part elements is only called for complex
types, so the generated wsdl:portType contains a wsdl:fault element that refers to a non-existent

This problem is causing problems for Tuscany users, especially when using dynamic WSDL generation.
 If the WSDL is generated statically, it could be fixed up by hand.  If it is generated dynamically,
I don't see any solution.

> Error occured when generating Java class from WSDL file.
> --------------------------------------------------------
>                 Key: AXIS-2672
>                 URL:
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.4
>         Environment: Windows NT -  Eclipse - Tomcat 5.5.9
>            Reporter: Nathan Pham
> Use Java2WSDL to generate Java classes from a WSDL file which is generated by Java2WSDL.
> "An error occured while completing process - Java.lang.InterupptedException: There are
no parts for fault message.

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:
For additional commands, e-mail:

View raw message