Hi! You are right. My point is relevant to changing WSIF to use Axis 2 internally, and not for invoking Axis2 based WS. I was contemplating the former so that projects wanting to use Axis 2 and WSIF would not have to have both Axis 1 jars and Axis 2 jars. I think if WSIF is going to do what it does today and is going to use Axis 2 internally, then it will have to potentially do its own type mapping and conversion of objects to OMElements. -Doug.
-----Original Message----- From: Hasalaka Waravita [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 12:41 AM To: wsif-dev@ws.apache.org Subject: Re: Axis 2.0 and WSIF Hi Axis2 use OMElement as its native representation of objects. Axis 1 uses type mappers to marshal java objects to soap representation. in Axis 2 Axiom provides necessary methods marshal OMElement to soap. I think your question is what if we don't want to deal with OMElement. Im not sure, if this is catered in Axis2. What I know is, If you use WSDL2Java tool to generate the service and stubs, it create respective document objects (org.apache.xmlbeans.XmlObject in case of xmlbeans) to represent the message parts and that can be later converted OMElement by Axis2 data binders. I think your point is more relevant to porting Axis1 to Axis2 than using WSIF to invoke Axis2 based WS. What do you think ? Regards Hasalaka On 6/21/06, Jackson, Douglas <[EMAIL PROTECTED]> wrote: > > Hi! > Axis 1.x has a type mapping registry which I believe is also used by > WSIF in which you can register serializer/deserializer pairs for Object > to an XML Qualified name. So when you are preparing to make a call > you just put Java Objects into an Array and do a Call.invoke() and > Axis used the type map to figure out how to serialize/deserialize > the object into XML for the SOAP message. Similarly, with WSIF you > put a Java object into the Part list for an invoke, and the type > registry is used to dynamically determine how to convert the Object > into XML. > Axis 2 does not take Java Objects in its new ServiceClient methods. > > Paul Fremantle thought that the type mapping could be added to the > adb dynamic binding portion of Axis2 though. > > If you have been able to convert WSIF over to Axis2 then perhaps I > missed something. I am not very familiar with Axis2. > -Doug. > > -----Original Message----- > From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 21, 2006 1:11 PM > To: wsif-dev@ws.apache.org > Subject: RE: Axis 2.0 and WSIF > > On Wed, 2006-06-21 at 13:51 -0400, Jackson, Douglas wrote: > > Hi Hasalaka, > > It is my understanding that Axis 2 does not do dynamic data binding. > > What do you mean by "dynamic data binding"? I can't understand what > Axis1 does for data binding that Axis2 doesn't .. nor WSIF. > > Thanks, > > Sanjiva. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]