I don't know what databinding you're using, but if you use XMLBeans, I think there are methods to manipulate the XML using XmlCursor... see the xmlbeans XmlCursor javadoc for more information... I have only tried it once in an example.
Anto P wrote: > > Hi, > > How to embed custom code into method body of implementation classes > generated by wsdl2java tool? I am writing a tool that calls wsdl2java to > generate service implementation classes from WSDL and the generated code > should contain code for calling existing service layer. CXF wsdl2java > generates method body that is no usable by me. Instead of modifying that > manually or using another tool to modify generated method body, I need to > replace this method body with what I supply to the tool. Is this supported > by wsdl2java? If not which class I should look to customize the generated > code? I need to do the same for client. > > Thanks in advance > > Anto > > ----- http://www.knutivars.net www.knutivars.net "http://www.knutivars.net/cxf/index.html Document first Apache CXF and XMLBeans with Spring. -- View this message in context: http://old.nabble.com/Customizing-method-body-of-wsdl2java-generated-code-tp27416243p27426652.html Sent from the cxf-user mailing list archive at Nabble.com.
