Hi Anne, Thanks for the answer, I'll correct the imports. The thing is that this web service already has client using it. These clients can't be changed. So I need to keep everything unchanged. i've never worked with rpc, so if I could switch to document, I would do it right now!
Pierre "Anne Thomas Manes" <[EMAIL PROTECTED]> 28/01/2008 14:37 Veuillez répondre à [email protected] A [email protected] cc Objet Re: [AXIS2] Unable to generate code using jaxbri databinding Pierre, I suggest that you take this opportunity to fix the WSDL to make it compliant. The first thing I see is that you are using wsdl:import to import your schemas, but that's not allowed. You must use xsd:import. You should add a <wsdl:types> section to the WSDL, create a schema, and import your schemas into it. Beyond that, I can't tell without seeing the full schemas of the two types that are giving you trouble. I also suggest that you consider converting this service to document/literal. Your design is very close already, i.e., you don't really use "parameters" -- you've already wrapped them in a wrapper type, and you've given the "parameter" the same name as the operation. By using RPC style, you wind up with a double layer of wrapping, making the message less efficient, e.g., <s:Body> <m:amcreq> <AMCREQ> .... </AMCREQ> </m:amcreq> </s:Body> Anne On Jan 28, 2008 7:20 AM, <[EMAIL PROTECTED]> wrote: > > Thanks! > I forgot to tell that I am using Axis 2 1.3. > > Pierre > > > > > "Shailendra Singh" <[EMAIL PROTECTED]> > > 28/01/2008 13:17 > > Veuillez répondre à > > [email protected] > > > A > <[email protected]> > > cc > > Objet RE: [AXIS2] Unable to generate code using jaxbri databinding > > > > > > > I will get back to you soon! > > Regards, > Shailendra Singh > > > ________________________________ > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, January 28, 2008 3:41 PM > To: [email protected] > Subject: [AXIS2] Unable to generate code using jaxbri databinding > > > Hello axis 2 users, > I'm trying to generate the java code from the wsdl of an old web service > using rpc/literal to have it under Axis2. > If I'm generating the code using adb databinding, it works, but it fails > using jaxbri. > I have attach the log of wsdl2java.bat command in file Exception_jaxbri.txt > > I'm attaching a ligth wsdl and one of the two xsd imported in it (the other > is bigger but have the same logic). I've removed most of the xsd, keeping > only the first two complex types (causing problem in the generation) > > Don't hesitate to point mistakes that could be in the wsdl or the xsd or > ask for complete sources. > > > Thanks in advance for your help > > Pierre Casenove > > DISCLAIMER: > This email may contain confidential or privileged information for the > intended recipient(s) and the views expressed in the same are not > necessarily the views of Zensar Technologies Ltd. If you are not the > intended recipient or have received this e-mail by error, its use is > strictly prohibited, please delete the e-mail and notify the sender. Zensar > Technologies Ltd. does not accept any liability for virus infected mails. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
