Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4660

Java2WSDL Does Not Produce Error Message for Invalid Parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.6.0
    • Tools
    • None
    • all

    Description

      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>

      Attachments

        Activity

          People

            veithen Andreas Veithen
            hovh03@yahoo.com Vy Ho
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: