You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/03/23 00:19:27 UTC

[jira] Resolved: (AXIS2-4660) Java2WSDL Does Not Produce Error Message for Invalid Parameters

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

Andreas Veithen resolved AXIS2-4660.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

Added a syntax check for the p2n option.

> 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
>            Assignee: Andreas Veithen
>             Fix For: 1.6
>
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org