Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6808331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:56:33+00:00 2026-05-26T19:56:33+00:00

There is no surprise for those who work with web-services a lot that they

  • 0

There is no surprise for those who work with web-services a lot that they get updated from time to time. And you always need to track changes of these updates.

In my particular case I deal with web service defined by WSDL and I get classes generated based on this WSDL.

But before regeneration of classes from updated WSDL I would like to see what was changed in WSDL and determine amount of changes – to see what should I be prepared for.

Unfortunately, if I compare just .wsdl files of new and old version it doesn’t always work very well for one reason – wsdl contents can be reordered (refactored internally). That’s the reason to find more semantic tool.

I’ve tried Oxygen XML Diff tool but it doesn’t also work well for me.

I am looking for a tool which will take two XMLs and bring me only semantic differences, e.g.:

  • Element A added
  • Added subelement b7 to element B

For this to work I guess the tool must load and deeply analyze the structure, Oxygen XML Diff was claim to do it well, but it just an improved version of text files comparison.

Could you recommend a working to for that, in particular to see updates in web-services based on WSDL.

UPDATE 1: New Idea is to compare generated sources rather than WSDLs.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:56:34+00:00Added an answer on May 26, 2026 at 7:56 pm

    http://membrane-soa.org has a Java API for comparing WSDL in their SOA Model.

    package sample.wsdl;
    
    import java.util.List;
    import com.predic8.wsdl.*;
    import com.predic8.wsdl.diff.WsdlDiffGenerator;
    import com.predic8.soamodel.Difference;
    
    public class CompareWSDL {
    
      public static void main(String[] args) {
        compare();
      }
    
      private static void compare(){
        WSDLParser parser = new WSDLParser();
    
        Definitions wsdl1 = parser.parse("resources/diff/1/article.wsdl");
    
        Definitions wsdl2 = parser.parse("resources/diff/2/article.wsdl");
    
        WsdlDiffGenerator diffGen = new WsdlDiffGenerator(wsdl1, wsdl2);
        List<Difference> lst = diffGen.compare();
        for (Difference diff : lst) {
          dumpDiff(diff, "");
        }
      }
    
      private static void dumpDiff(Difference diff, String level) {
        System.out.println(level + diff.getDescription());
        for (Difference localDiff : diff.getDiffs()){
          dumpDiff(localDiff, level + "  ");
        }
      }
    }
    

    After executing you get the output shown in listing 2. It is a List of
    differences between the two WSDL documents.

    Port ArticleServicePTPort removed.
    Port ArticleServicePTPort2 added.
    Operation create removed.
    Operation create2 added.
    Schema http://predic8.com/wsdl/material/ArticleService/1/ has changed:
      Element createResponse has changed:
        ComplexType  has changed:
          Sequence has changed:
            Element NewElementForTest added.
    

    For an example of the output from the tool, http://www.service-repository.com/ offers an online WSDL Comparator tool that returns a report of the differences between two WSDL. The report is not a simple XML diff.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are a lot of blogs saying that a hasOwnProperty check should be used
There are web browser apps in the store which do many things that seem
There is a moment in my app, that I need to force to show
There is a column that exists in 2 tables. In table 1, this column
There's a Rails 3.2.3 web application which doesn't use any database. But in spite
There is a directed graph having a single designated node called root from which
There are two intents on the receiver side which are called from the same
I have some Ruby web apps that use OpenID for authentication and store the
I posted a source code on codeplex and to my surprise found that it
I have a c function (dbread) that reads 'fields' from a 'database'. Most of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.