aspose file tools*
The moose likes Web Services and the fly likes Axis: Should I publish wsdl again? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis: Should I publish wsdl again?" Watch "Axis: Should I publish wsdl again?" New topic
Author

Axis: Should I publish wsdl again?

Jim Wang
Ranch Hand

Joined: Oct 04, 2001
Posts: 41
I developed a wsdl and using wsdl2java to generate classes. After I deploy this service on axis, I can get a live wsdl by click the link besides the portName when viewing the list of available services. Let's call the wsdl for generating classes as start-wsdl and the wsdl on list page as end-wsdl. My question is: if user can view the end-wsdl, is it necessary to publish another copy wsdl at some other place. If yes, which one should be published, start-wsdl and end-wsdl?
Watsh Rajneesh
Ranch Hand

Joined: Apr 17, 2006
Posts: 110
Tell Axis to use the original WSDL rather than auto-generating a new one (specify the wsdlFile in the WSDD). Specify <wsdlFile>[wsdl-url]</wsdlFile> in the WSDD (Refer this). Here's a thread on axis forum addressing a similar problem.


SCJP 5.0 (90%), SCDJWS 1.4 (88%), SCWCD 1.4 (82%), SCBCD 1.3 (85%)
Jim Wang
Ranch Hand

Joined: Oct 04, 2001
Posts: 41
Thanks Watsh Rajneesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis: Should I publish wsdl again?