Please log a bug so that we can make this process easier and simpler :) thanks, dims
On 1/11/06, Andreas Bobek <[EMAIL PROTECTED]> wrote: > Hi Davanum, > > yes I saw this method but it came not in my mind to use it ;-) > For others who have the same question, this is a code snippet: > > StringWriter writer = new StringWriter(); > AxisService service = ... // your service > service.printWSDL(writer, loc); // loc=epr.getAddress() or hard coded or > something else > XMLStreamReader parser = > XMLInputFactory.newInstance().createXMLStreamReader(new > StringReader(writer.toString())); > OMXMLParserWrapper builder = > OMXMLBuilderFactory.createStAXOMBuilder(OMAbstractFactory.getOMFactory(), > parser); > OMElement el = builder.getDocumentElement(); > > Maybe it's not the shortest, but it's working... > > Andreas Bobek. > > > > > did you try latest SVN? AxisService has a printWSDL method. > > -- dims > > On 1/9/06, Andreas Bobek <[EMAIL PROTECTED]> wrote: > > Hi, > > > > if a service archive (*.aar) contains a WSDL file inside META-INF > > directory, it is attached to the AxisService in the deployment > > process. Is there a feature to obtain the definition as OMElement? > > Otherwise I have to reload the file from the archive. > > > > Thanks, Andreas Bobek. > > > > -------------------------------------------- > > Dipl.-Ing. Andreas Bobek > > > > University of Rostock, > > Institute of Applied Microelectronics and CE, Department of CS and EE > > > > Richard-Wagner Str. 31 > > 18119 Rostock-Warnemuende > > Germany > > > > www.andreas-bobek.de > > > > > > > -- > Davanum Srinivas : http://wso2.com/blogs/ > > -- Davanum Srinivas : http://wso2.com/blogs/
