Stefaan Dutry created CXF-7156:
----------------------------------

             Summary: java2ws-plugin - add portName as configuration option
                 Key: CXF-7156
                 URL: https://issues.apache.org/jira/browse/CXF-7156
             Project: CXF
          Issue Type: Improvement
            Reporter: Stefaan Dutry
            Priority: Trivial


Using the {{java2ws-plugin}}, when you want to generate a WSDL, you currently 
need to use the {{argline}} option to specify a portname.

It would be easier if this was a seperate configuration parameter

{code:xml|title=current configuration}
            <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-java2ws-plugin</artifactId>
                <version>${cxf.version}</version>
                ...
                <executions>
                    <execution>
                        ...
                        <configuration>
                            ...
                            <argline>-portname MyPort</argline>
                        </configuration>
                        ...
                    </execution>
                </executions>
            </plugin>
{code}

{code:xml|title=desired configuration}
            <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-java2ws-plugin</artifactId>
                <version>${cxf.version}</version>
                ...
                <executions>
                    <execution>
                        ...
                        <configuration>
                            ...
                            <portName>MyPort</portName>
                        </configuration>
                        ...
                    </execution>
                </executions>
            </plugin>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to