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

Generate WSDL at runtime

 
Slavko Perevalov
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

Could you help with following task: is there any way to generate WSDL from class known at runtime and choose which methods of this class should be exposed to clients.
For example service implementation class contains: method1, method2 and method3 but I want that only method1 will be present in *.wsdl file.

May be question sounds not too clear so something like


is needed.

Thank you!.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe WSDL4J can help: http://sourceforge.net/projects/wsdl4j/ It is what Axis (and possibly other SOAP stacks) uses.
 
Vinod K Singh
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAX-WS has an annotation @WebMethod, which can be used to prevent methods from being published in WSDL. Though looks like you are not using JAX-WS.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic