Em Quinta 15 Dezembro 2005 15:14, o Nathaniel Auvil escreveu: > Can you email me with how you got axis2 to work from wsdl? I have two open > Jira items on this as it blows up on my wsdl. The first problem is due to > schema imports. So i eliminated the schema imports and now i get a schema > exception from XMLBeans. This schema works fine with Axis 1.2.1 and is > valid XML according to XMLSpy. > > <quote> > > > Its open-source, feel free to document it. I personally needed a > > WSDL2Java ant > > task with axis2, and once I figured it out how to do it I was invited to > > document it, which I did. I personally found the OMElement approach easy > > enough to undersatand to get started without wsdl. > > </quote>
We're going to need a little more info then it 'blows up' to help ;-) . First, its got to be more than just valid xml, its got to be a valid wsdl. Google for the 'free as in beer' soa editor from cape clear. The XMLBean issue I think you have is documented here: http://ws.apache.org/axis2/CodegenToolReference.html There's also a sample wsdl and code. The sample is a little rough - I've been making a transition from 'rpc encoded' to doc / lit . Nevertheless, it is a fully working sample. HTH, iksrazal
