You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Stefaan Dutry (JIRA)" <ji...@apache.org> on 2016/11/27 13:05:59 UTC

[jira] [Created] (CXF-7156) java2ws-plugin - add portName as configuration option

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)