axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Harshana Ranabahu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-592) wsdl2java generates uncompileable code
Date Thu, 20 Apr 2006 09:50:06 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-592?page=comments#action_12375309 ] 

Ajith Harshana Ranabahu commented on AXIS2-592:
-----------------------------------------------

The common cause of this problem is the Schema compiler not being able to find a proper mapping
for the parent type. If you are uncomfortable attaching the WSDL and willing to mail it, then
please mail it to me so that I can have a look. 
In the mean time please try the Xmlbeans  databinding option (with -d xmlbeans in the commandline)



> wsdl2java generates uncompileable code
> --------------------------------------
>
>          Key: AXIS2-592
>          URL: http://issues.apache.org/jira/browse/AXIS2-592
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl, Tools
>     Versions: 0.95
>  Environment: win xp and java 1.4.2_08
>     Reporter: Ole Dalgaard
>     Priority: Critical

>
> I have a wsdl-file generated by websphere tools that generates code like this:
>         public static class FooInput extends org.apache.ws.commons.om.OMElement
>         implements org.apache.axis2.databinding.ADBBean{
>         /* This type was generated from the piece of schema that had
>                 name = FooInput
>                 Namespace URI = http://bla.valuebeans.webservices.bla.foo.dk
>                 Namespace Prefix = ns2
>                 */
> this is not compileable as OMElement is an interface.
> I have tried to anonymize the wsdl-file, but my attempts seems to remove the error.
> I am unable to attach the wsdl to this issue. I am able to mail it.

-- 
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


Mime
View raw message