As a newcomer to Axis, from what I've read thus far, it looks like the Java2WSDL and WSDL2Java tools that derive from org.apache.axis.wsdl are really going to come in handy for in/out for WSDL / Java transcoding. One of the things I'd like to do is add the <documentation> element to a <service> description in my WSDL file. For example:

---------------------------------------------------
<service name="HomeRunService">
<documentation>Who hit homers in major league baseball today?</documentation>
<port name="HomeRunBinding" binding="tns:blahblahblah">
<soap:address location="http://baseballhomers.info";>
</port>
</service>
---------------------------------------------------


I suppose I could hand edit a WSDL document manually with the information such as above, then transcode it into Java using WSDL2Java ... but ideally, I'd like to know how to programmatically (in Java using org.apache.axis.wsdl) create the <documentation> element and of course set its value to a string. It didn't seem clear as to how best to do this. Any suggestions are greatly appreciated. Also, are there any helpful archives containing sample code written using the Axis APIs for WSDL generation?

Best Regards,

DeCoudras

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


Reply via email to