Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-30 Thread Anne Thomas Manes
I just looked at your WSDL and noticed a couple of things. Most of your elements are defined as restricted strings of lengths 20, 50, or 100. If you want to be able to support validation of these element, you could defining three simple types with these restrictions, then define the elements as th

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-30 Thread Anne Thomas Manes
XML Schema validation is a very expensive process; therefore it is never performed automatically. If you want to validate your messages, you must route your message through an intermediary or module to do so. If you don't intend to validate your messages, then I suggest you remove the restriction

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-30 Thread mvkirankumar
Thanks Anne. As Dims and you suggested, i was successful to write a wsdl, write a schema into the wsdl, then perform wsdl2java, then edit the skeleton to put businesslogic and finally i was able to call the service from a MS Excel Client. Thanks for your help towards this. But, now i have a iss

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread Anne Thomas Manes
yes, you can. On 1/29/07, mvkirankumar <[EMAIL PROTECTED]> wrote: Hi Anne, Thanks for your expert advice. Will follow the same, first design a schema then wsdl. Then generate the ADB binding classes using wsdl2java tool. I am working on it and now i got one question: Instead of importing t

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread mvkirankumar
Hi Anne, Thanks for your expert advice. Will follow the same, first design a schema then wsdl. Then generate the ADB binding classes using wsdl2java tool. I am working on it and now i got one question: Instead of importing the XSD into the wsdl, i can even write the schema definition into the

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread Anne Thomas Manes
I heartily concur with Dims. If you plan to use the same framework on both client and server, then you will probably get by very well by following the code-first approach. But if you will ever have the need to interoperate with other frameworks, you'll do much better adopting a Schema-first approa

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread Davanum Srinivas
Kiran, Please read this: http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html Wrapped is a convention used when writing doc/lit wsdl's. There is no difference in the amount of payload. thanks, dims On 1/29/07, mvkirankumar <[EMAIL PROTECTED]> wrote: Davanum, This meth

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread mvkirankumar
Davanum, This method of preparing a schema and then wsdl, then using ADB/XMLBEANS is Document/Literal only right. Also, i guess only Doc/Lit wrapped is interoperable to transfer huge amount of xml data inbuilt inside the soap body. Please correct me, if am wrong. Thanks. kiran. Davanum Sriniv

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread Davanum Srinivas
That's the best practice i recommend from experience. Advice not related to whether you use Axis2 or not. thanks, dims On 1/29/07, Sathija Pavuluri <[EMAIL PROTECTED]> wrote: > > >As i mention usually, start from WSDL/Schema. (NOT from > > > java/pojo's). Sorry for chipping into this thread wi

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread Sathija Pavuluri
> > >As i mention usually, start from WSDL/Schema. (NOT from > > > java/pojo's). Sorry for chipping into this thread with an unrelated question, but wanted to know why you say that Is that because axis2 has less good features for pojo services? I had read some articles early on when I was jum

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread Davanum Srinivas
oops forgot the link: http://mail-archives.apache.org/mod_mbox/ws-axis-user/200609.mbox/[EMAIL PROTECTED] -- dims On 1/29/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: #1) Yes. Start with Schema first (i use XMLSPY to write xsd's). Then follow instructions from Anne here to fill up the temp

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread Davanum Srinivas
#1) Yes. Start with Schema first (i use XMLSPY to write xsd's). Then follow instructions from Anne here to fill up the template WSDL. #2) Axis2 w/o a doubt. thanks, dims On 1/29/07, mvkirankumar <[EMAIL PROTECTED]> wrote: Thanks Davanum Srinivas for your response. OK, you advise to start fr

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread mvkirankumar
Thanks Davanum Srinivas for your response. OK, you advise to start from WSDL rather than java/pojo's. I got two questions: 1. But, does that mean we have to prepare a WSDL on our own first and then start off. Sorry, if this question is silly. I am new to this axis world. 2. I would have a big

Re: [AXIS2] Which binding framework should i use for complex xml handling

2007-01-29 Thread Davanum Srinivas
If you have a complicated schema, you should use xmlbeans. If you are willing to sacrifice a bit of schema support for better performance, use ADB. As i mention usually, start from WSDL/Schema. (NOT from java/pojo's). thanks, dims On 1/29/07, mvkirankumar <[EMAIL PROTECTED]> wrote: Hi, Please