This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Services and the fly likes Adding an element in Existing WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Adding an element in Existing WSDL" Watch "Adding an element in Existing WSDL" New topic

Adding an element in Existing WSDL

Shiva Ramu

Joined: Apr 29, 2013
Posts: 2

I'm new to this forum and to webservices.

I have to make changes to an existing wsdl file by adding an additional element. I would like to understand what are the files I need to take care in order to do a successful wsdl2java.

Amir Keibi
Ranch Hand

Joined: Apr 23, 2012
Posts: 49

You need to revise and redeploy the service that exposes the WSDL. New WSDL can be extracted then and be used to create the proxy.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
You're asking about two different things. One is to change the WS implementation so that the WSDL picks up that change. The other is to run wsdl2java to regenerate the client-side code. How to use wsdl2java should be explained in the documentation of whichever SOAP stack you're using (Axis 2 ?).
Shiva Ramu

Joined: Apr 29, 2013
Posts: 2
Thanks for your response, I'm able to successfully generate the proxy clases from wsdl. I'm using JAX-RPC runtime. But I'm observing some differences between the existing proxy classes and the newly generated proxy clases. The newly generated class files exposes two more new methods which is not related to my change. The existing proxy clases were generated using RAD 6 and now I'm using RAD 7.5 to generate the new proxy clases. Did anyone ever observed one such differences due to RAD version change?
I agree. Here's the link:
subject: Adding an element in Existing WSDL
It's not a secret anymore!