Solved

How to handle frequently changing wsdl

Posted on 2010-09-01
4
350 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
  • 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
either24  challenge 19 84
haveThree challenge 22 101
FizzBuzz challenge 9 73
JavaScript parse form with colon separated values 2 63
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now