[Axis2]Data binding API?

2005-07-13 Thread Dennis Sosnoski
I recently made some changes (going into JiBX RC1) to support using JiBX with SOAP. These are primarily designed around what I've found was necessary for JibxSoap, but I'm also planning to hook into Axis2 and the same requirements are likely to apply there. I know the 0.9 version has XmlBeans s

Re: [Axis2]Data binding API?

2005-07-13 Thread Ajith Ranabahu
Hello Dennis, The internals of the Databinding framework are as follows 1. We have something called extensions that run before the actual code generator. For XMLBeans we have an extension that takes the Schema element from the WSDL file and feeds it into the XB schema parser. The logic of XB is

Re: [Axis2]Data binding API?

2005-07-13 Thread Dennis Sosnoski
Hi Ajith, Sounds great on the data binding support! I'll check it out within the next couple of weeks. JiBX currently uses XMLPull for input, but I can probably implement a simple wrapper for converting between the Axis StAX parser and an XMLPull API. Are you listening, Alek - any comments? Th

Re: [Axis2]Data binding API?

2005-07-14 Thread Thilina Gunarathne
Hi, >data binding framework to pass back information about the> blobs to be sent as attachments, and to access the attachments when> unmarshalling.   IMHO this is doable with the way Axis2 currently handles MTOM. We use OMText to hold the binary data and act as the blob. There are several states t

Re: [Axis2]Data binding API?

2005-07-14 Thread Dennis Sosnoski
Thilina Gunarathne wrote: IMHO this is doable with the way Axis2 currently handles MTOM. We use OMText to hold the binary data and act as the blob. There are several states to OMText, which can be set using "is Binary" and "isOptimised" attributes. When OMText contains binary data (either as

Re: [Axis2]Data binding API?

2005-07-14 Thread Glen Daniels
Hi folks: Please check out http://www.w3.org/TR/xml-media-types/ This document describes runtime and design time attributes to indicate media types for base64 (and therefore potentially optimized) content. When we see these annotations in schema, we should have the ability to default to optim

Re: [Axis2]Data binding API?

2005-07-14 Thread Aleksander Slominski
Dennis Sosnoski wrote: Hi Ajith, Sounds great on the data binding support! I'll check it out within the next couple of weeks. JiBX currently uses XMLPull for input, but I can probably implement a simple wrapper for converting between the Axis StAX parser and an XMLPull API. Are you listening