Solved

How to handle frequently changing wsdl

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial will show you how to add an attribute to an XML (http://en.wikipedia.org/wiki/XML) stream returned from a Windows Communication Foundation (http://en.wikipedia.org/wiki/Windows_Communication_Foundation) (WCF) Web Service.  Some knowled…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.

617 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