Java2WSDL Does Not Produce Error Message for Invalid Parameters
---------------------------------------------------------------

                 Key: AXIS2-4660
                 URL: https://issues.apache.org/jira/browse/AXIS2-4660
             Project: Axis2
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.5.1
         Environment: all
            Reporter: Vy Ho


For the example code below, the p2n flag has its value pairs enclosed in square 
brackets.  If the brackets are left out, there is no error and usage print 
outs, the application just silently ignored, and an *unexpected* WSDL is 
generated.

<java classname="org.apache.ws.java2wsdl.Java2WSDL"
classpathref="maven.test.classpath" fork="true" failonerror="true">
   <arg value="-o"/>
   <arg value="${project.build.directory}/java2wsdl"/>
   <arg value="-of"/>
   <arg value="p2n.wsdl"/>
   <arg value="-cn"/>
   <arg value="org.apache.axis2.description.CalculatorService"/>
   <arg value="-p2n"/>
   <arg 
value="[org.apache.axis2.description,http://www.example.org/calculator]"/>
   <arg value="-stn"/>
   <arg value="http://www.example.org/calculator-service"/>
</java>



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