Thanks so much for your help.  Your email and a long one “RE:I give up” I just sent out sort of crossed.  Please don’t take the portion of not getting answers personally.  Clearly your answers below run counter to my note.

 

I believe that I need the full flexibility of xcomp (I think).  I will keep an eye on Axis2, and perhaps return to it. 

 

Since I need to move forward quickly, I am going to either roll my own SOAP engine with XMLBeans, or find another (XFire?).  I am forced to view the SOAP engine as interchangeable.  I get to do this primarily by insuring my databinding objects are independent.  Another words, if I use XMLBeans now with my own framework, I can easily adopt Axis2 when I feel I’m ready for it or it is ready for me.  My point is simple, XMLBeans gives me independence. 

 

Thank you for your input, I guess I would have toned down my prior note a bit had I read your response first.  But then your response here was/is a pleasant surprise.  Thanks for your time.

 

-paul

 


From: Ajith Ranabahu [mailto:[EMAIL PROTECTED]
Sent: Friday, October 28, 2005 1:30 AM
To: [email protected]
Subject: Re: Axis2 and XMLBeans - what is the relationship?

 

Hi Paul,
See my comments inline

On 10/27/05, Paul Grillo <[EMAIL PROTECTED]> wrote:

Short question:  Can I use XMLBeans as distributed by xmlbeans.apache.org as my serializer/deserializer in Axis2?  If so how?


Yes. The default databinding framework is XMLBeans :) don't specifiy any -d flag and the code gen pickes up the XMLBeans databainding

 

I have a simple WSDL backed up by a few Schemas.  They generate clean java classes in Axis 1.2
 So I ran them through Axis2, and what I got was about 653 various uncompiled files generated of which only about 30 reflect the actual beans I'll be interacting with.  It also appeared to insist on pre-pending "codegen.databinding" to the package names that are reflective of my chosen namespace.  I guess I was pretty surprised at all that was generated, the naming etec etc.



Well the XMLBeans integration to Axis2 is such that the Axis2's package structure decides (to a certain extent) what the XMLBeans packaging should be. We have not yet done the necessary work to have the full flexibilty of the scomp but yes, we hope to go there soon. 

 

I then used scomp from xmlbeans v2 distribution, and it generated a very nice jar file with pretty much what I expected.  The compiler was much more powerful and provides me with some other capabilities.  I would like to use this in "either" Axis 1.2 or Axis2.  Is it possible?


I don't think Axis1 can use XMLBeans generated classes (unless you manually edit the classes). Sadly your choice will only be Axis2

 

I do not want to tie my databinding to a web services framework.  I am willing to use stand-alone XMLBeans.  Is this doable?


oops!  No. At the moment you cannot say  'don't do databinding'

 

thanks

 

 

 

 




--
Ajith Ranabahu

Reply via email to