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
            Reporter: Sebastian Niezgoda


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