Solved

How to handle frequently changing wsdl

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In previous Articles, we have discussed how we can upload a file using .asmx web service and isolated storage space. Here, in continuation to the topic, I am going to discuss how we can use WCF for the same purpose. Steps: 1.Create the silverli…
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…
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.

863 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

21 Experts available now in Live!

Get 1:1 Help Now