Solved

How to handle frequently changing wsdl

Posted on 2010-09-01
4
356 Views
Last Modified: 2012-05-10
We have a wsdl which is changing frequently. If I make a wsdl to java and use the xml binding using castors, it is going waste after sometime as the wsdl is getting changed. What is the solution to such a situation.
0
Comment
Question by:prsubject
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Expert Comment

by:puru1981
ID: 33578393
To handle this type of situation i have always talked to my design team to prepare the skeleton(public properties and methods) of the classes first which are going to be used. this ensures that if the web service changes it will not affect much on the client(consumer of the service may be very few changes). But this is too ideal.
0
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 250 total points
ID: 33594593
I think is a problem with SOAP. Once the wsdl changes, there is no option for the client but to update the client proxy stubs for the same.

For this very reason, we have moved to RestFull Services.
http://www.xfront.com/REST-Web-Services.html
http://www.myeclipseide.com/documentation/quickstarts/webservices_rest/
http://weblogs.java.net/blog/bleonard/archive/2007/07/an_introduction_1.html
http://www.ibm.com/developerworks/java/tutorials/j-rest/section2.html

You can also try the following approaches
1) serialize the object to a xml string and change method signature to have the string as the signature.
You can do this by having the wrapper layer on top of SOAP services.
2) Try with Json format also
0
 

Author Closing Comment

by:prsubject
ID: 33673015
A real good answer
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 33673447
Thanks for points.
Which approach have you decided to follow?
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pairs challenge 5 114
jboss wildfly 10.1 10 616
maven not picking latest jar instead picking old jar from .m2 12 74
batch vs regular insert in spring DAO 2 50
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question