Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding an element in Existing WSDL

 
Shiva Ramu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 49
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic