Two Laptop Bag*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Adding an element in Existing WSDL" Watch "Adding an element in Existing WSDL" New topic
Author

Adding an element in Existing WSDL

Shiva Ramu
Greenhorn

Joined: Apr 29, 2013
Posts: 2
Hi

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.

Regards
Shiva
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
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
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 ?).


Ping & DNS - my free Android networking tools app
Shiva Ramu
Greenhorn

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?
 
wood burning stoves
 
subject: Adding an element in Existing WSDL
 
Similar Threads
WSDL external schema import
Trouble generating Exchange web service client using Axis2
reading soap-envelop messages
adding xmlns to calls made by wsdl2java stubs
Axis WSDL2Java's Error: reference but not defined