DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Securing CI/CD Pipelines Against Supply Chain Attacks: Why Artifacts and Dependencies Matter More Than Ever
  • From 13,000 to 20,000+ Endpoints: Architecting Forensics for the Remote Workforce
  • Redefining Artifact Storage: Preparing for Tomorrow's Binary Management Needs
  • Stop Using Spring Profiles Per Environment

Trending

  • Securing Loop Engineering: Six Trust Boundaries for Autonomous Agents
  • Structured Logging in Distributed Systems: What Most Teams Get Wrong and How to Fix It
  • A Practical Pipeline for Identifying Sensitive Columns Before Test Data Masking
  • Containerizing and Testing a Python Backtesting System With Docker and GitHub Actions

Multiple WSDLs for Generating JAX-WS artifacts w/ CXF’s Maven Plugin

By 
Singaram Subramanian user avatar
Singaram Subramanian
·
Jun. 07, 13 · Interview
Likes (0)
Comment
Save
Tweet
Share
11.7K Views

Join the DZone community and get the full member experience.

Join For Free

Each element corresponds to a WSDL for which we need to generate artifacts.  Check out my XML snippet below...

<plugin>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-codegen-plugin</artifactId>
    <version>${cxf.version}</version>
    <executions>
        <execution>
            <id>generate-sources</id>
            <phase>generate-sources</phase>
            <configuration>
                <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>
                <wsdlOptions>
                    <!-- for myService1.wsdl -->
                    <wsdlOption>
                        <wsdl>${basedir}/src/main/wsdl/myService1.wsdl</wsdl>
                    </wsdlOption>
                    <!-- for myService2.wsdl -->
                    <wsdlOption>
                        <wsdl>${basedir}/src/main/wsdl/myService2.wsdl</wsdl>
                    </wsdlOption>
                    . . .
                </wsdlOptions>
            </configuration>
            <goals>
                <goal>wsdl2java</goal>
            </goals>
        </execution>
    </executions>
</plugin>



Artifact (UML)

Published at DZone with permission of Singaram Subramanian. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Securing CI/CD Pipelines Against Supply Chain Attacks: Why Artifacts and Dependencies Matter More Than Ever
  • From 13,000 to 20,000+ Endpoints: Architecting Forensics for the Remote Workforce
  • Redefining Artifact Storage: Preparing for Tomorrow's Binary Management Needs
  • Stop Using Spring Profiles Per Environment

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook