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
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Because the DevOps movement has redefined engineering responsibilities, SREs now have to become stewards of observability strategy.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Related

  • A General Overview of TCPCopy Architecture
  • Efficient API Communication With Spring WebClient
  • Solid Testing Strategies for Salesforce Releases
  • Migrating from React Router v5 to v6: A Comprehensive Guide

Trending

  • Code Reviews: Building an AI-Powered GitHub Integration
  • Using Java Stream Gatherers To Improve Stateful Operations
  • Advancing Your Software Engineering Career in 2025
  • Chat With Your Knowledge Base: A Hands-On Java and LangChain4j Guide
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. soapUI Tip: Options for Refreshing a WSDL Definition

soapUI Tip: Options for Refreshing a WSDL Definition

By 
Nick Watts user avatar
Nick Watts
·
Sep. 09, 11 · Interview
Likes (0)
Comment
Save
Tweet
Share
40.9K Views

Join the DZone community and get the full member experience.

Join For Free

here’s a quick tip for soapui users that i have been stumbling over recently.  soapui allows you to refresh an already defined service definition from an updated wsdl file.  but, it’s easy to blow away the data that’s in your soap test steps if you chose the wrong options.

first, here’s the specific task i’m talking about.  you have an existing soapui workspace that has interface definitions already imported and you have at least one test suite using that interface.  now you’ve made a change to the wsdl and you need to refresh your interface definition in soapui and update the soap test steps in your test suite.  clearly, you want to update the soap requests to match the new wsdl without losing the test data that already exists in the test steps.  you reload a wsdl definition by right-clicking on an interface definition in soapui as shown below.

here’s a rundown of the effect of some of the “update definition” parameter configurations.  i haven’t gone through every permutation of the parameters, just the ones that seem most useful.  i’ve portrayed the configurations in terms of actions you’re likely to want to take after changing your wsdl.

  • you added a new operation to the wsdl and you want to add default requests for it.

  • you made a change to an existing operation in your wsdl and you want to regenerate existing requests using the new schema without creating optional elements. this configuration will cause you to lose the data in your existing requests .

  • you made a change to an existing operation in your wsdl and you want to regenerate existing requests using the new schema and create optional elements. this configuration will cause you to lose the data in your existing requests, unless the elements are optional .

  • you made a change to an existing operation in your wsdl and you want to regenerate existing requests using the new schema and create optional elements.  this configuration will keep the existing data in tact.

  • you made a change to an existing operation in your wsdl and you want to regenerate existing requests and test steps using the new schema without creating optional elements.  this configuration will keep the existing data in tact but will remove optional elements from the existing requests .

  • you made a change to an existing operation in your wsdl and you want to regenerate existing requests and test steps using the new schema and maintain optional elements.  this configuration will keep the existing data and optional elements in tact.

  • the last configuration is the safest bet for most refreshes.  it combines all of the above. that means that it picks up all wsdl changes and incorporates them into both default requests and your soap test steps.  none of your existing data will be overwritten.  it also opens up a window that lists exactly which items have been modified.

i have not mentioned the “keep soap headers” and “create backups” parameters because i have not used them yet.

i suggest playing around with the “update definition” feature a little before using it.  soapui is a powerful tool, so it assumes you know what you want.  it accomplishes that by exposing panels with lots of parameters on them, like the “update definiton” panel.  if you get yourself into a bind, remember that you can just reload the project you’re working on by right-clicking on the project name and choosing “reload project”.  this option will reload the project into the workspace without saving the changes you just made.

from http://thewonggei.wordpress.com/2010/12/29/soapui-tip-options-for-refreshing-a-wsdl-definition/

Test data Requests Element

Opinions expressed by DZone contributors are their own.

Related

  • A General Overview of TCPCopy Architecture
  • Efficient API Communication With Spring WebClient
  • Solid Testing Strategies for Salesforce Releases
  • Migrating from React Router v5 to v6: A Comprehensive Guide

Partner Resources

×

Comments
Oops! Something Went Wrong

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

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

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 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!