Can't you use E4X to parse the WSDL? It is just an XML file itself.
--- In [email protected], Everson Alves <jho...@...> wrote: > > Thanks Steve, > But it's not that easy, in php I used built-in soap extension, loaded the > wsdl file, used reflection to build the request parameters since I had the > source classes of the parameters, changed the endpoint to something that > doesn't exist so I could make a call, catch the exception and get the xml > request using lastRequest property. It's worked but it's a work around. Not > an elegant solution. > Using your solution It would work but it's really hard when using wsdl with > complex parameters. I need to generate XML from XML Schema. > On Mon, Jun 15, 2009 at 4:01 PM, valdhor <valdhorli...@...>wrote: > > > I don't know of anything. > > > > I would be inclined to read in the WSDL as a text string and then parse > > that rather than use the built in web service functions. If you have already > > done it in PHP, then it should be relatively easy. > > > > > > Steve > > > > > > --- In [email protected], Everson Alves <jhonny@> wrote: > > > > > > There's a tool written in Java called soapUI that does exactly what I'm > > > trying to do. I don't want to generate lots of classes that abstracts the > > > web service from wsdl, I want the generation of raw xml request. I tried > > > google, reading the documentation, testing as3 webservices api with no > > luck. > > > Anybody knows if there is any lib that I can use to generate this sample > > XML > > > request in actionscript? > > > > > > On Thu, Jun 11, 2009 at 6:21 PM, Everson Alves > > > <jhonny@>wrote: > > > > > > > Hello, > > > > Does anyone knows if it's possible to generate a sample XML request for > > a > > > > given WSDL. Or more generally, generate sample xml from a schema. > > > > > > > > I'm trying to build a webservice testing tool. I've done that using > > PHP, > > > > but I'm interested in doing it all in actionscript if it's possible. > > > > -- > > > > Jhonny Everson > > > > > > > > > > > > > > > > -- > > > Jhonny Everson > > > > > > > > > > > > > ------------------------------------ > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Alternative FAQ location: > > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > > > > > > -- > Jhonny Everson >

