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

Sebastian Niezgoda resolved AXIS2-2928.
---------------------------------------

       Resolution: Won't Fix
    Fix Version/s: 1.2

No fix needed.  

The trick was to add the "-tp xs" flag.  Once the flag was added I was able to 
create WSDL successfully using Axis2 1.2, 1.3 RC1, and a snapshot from 4/9/07.

Enumerations still get translated into complexType with extension 
base="xs:Enum" which results in the following:

Type {http://www.w3.org/2001/XMLSchema}Enum missing!

This is a separate issue filed here - 
https://issues.apache.org/jira/browse/AXIS2-2929

> Java2WSDL creates invalid WSDL (Axis2 1.2) - 
> ---------------------------------------------
>
>                 Key: AXIS2-2928
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2928
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: Ubuntu 7.04
> Tomcat 6.0.13
> Java 1.5
> ant 1.6.5
>            Reporter: Sebastian Niezgoda
>             Fix For: 1.2
>
>
> I'm using Java2WSDL in ant but the WSDL I get out is always invalid.
> The task is:
> <java classname="org.apache.ws.java2wsdl.Java2WSDL"
>                                       classpathref="project-classpath"
>                                       fork="true"
>                                       maxmemory="${javac.memoryMaxSize}">
>                               <arg value="-o"/>
>                               <arg value="wsdl"/>
>                               <arg value="-of"/>
>                               <arg value="ComposedPush.wsdl"/>
>                               <arg value="-st"/>
>                               <arg value="RPC"/>
>                               <arg value="-l"/>
>                        <arg value="${jbml.url}/services/ComposedPush"/>
>                        <arg value="-sn"/>
>                        <arg value="ComposedPush"/>
>                               <arg value="-tn"/>
>                <arg value="${jbml.url}/ComposedPush"/>                        
>                        <arg value="-stn"/>
>                        <arg value="${jbml.url}/ComposedPush"/>
>                               <arg value="-cn"/>
>                        <arg 
> value="com.gestalt.jbml.webservices.ComposedPush"/>
>                       </java>
> I change the -st argument to WRAPPED, DOCUMENT, or RPC with same results.
> Opening up the created WSDL in XMLSpy results in the following message:
> In element schema namespace prefix xs is undeclared.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to