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>