The only time I've done the serializerFactory/deserializerFactory stuff is 
with JBoss and their libs - due to the fact I had problems finding the right 
interface with the axis libs. (JBoss 4.0.x uses axis internally). I was using 
jboss anyways. 

Which brings up the next point. serializerFactory/deserializerFactory is fine 
once its working, but can be difficult to set up. It pushes complexity on the 
client. In many cases its just an avoidable step. Which I why I advocate 
using List.toArray() and Arrays.asList() via wsdl arrays.  You get all the 
benefits of the Collections framework, as well as the interoperability - as 
simple as possible. 

HTH,
iksrazal

Em Terça 20 Dezembro 2005 00:38, o Xinjun Chen escreveu:
> Do you have any complete sample of customized
> serializerFactory/deserializerFactory? Why do you not encourage customized
> serializerFactory/deserializerFactory?
>
> Regards,
> Xinjun
>
> On 12/20/05, Ben Reif <[EMAIL PROTECTED]> wrote:
> > Iksrazal,
> >
> > Did you just create your own <typeMapping> for java.util.List and then
> > use reflection in the serializer/deserializer class to call the
> > individual serializers/deserializers for the objects inside the List?
> > Also, how did you implement the writeSchema() method? Did you have it
> > generate a complex type definition for a wrapper object like ListOfxxx?
> > Any issues with interoperability with things like .Net?
> >
> > Thanks,
> > Ben
> >
> > -----Original Message-----
> > From: trebor iksrazal [mailto:[EMAIL PROTECTED]
> > Sent: Friday, December 16, 2005 7:26 PM
> > To: [email protected]
> > Subject: Re: wsdd <operation> - How do I represent return type of List?
> >
> > Anne actuallly helped me with 'List of complex type objects' a couple
> > days ago. I've done what you describe alot with 'rpc encoded', but the
> > future is pointing to doc / lit, as you seem to be using anyways
> >
> >
> > http://marc.theaimsgroup.com/?l=axis-user&m=113459148202564&w=2
> >
> > I've got it about 99% working at this point. I might be able to help
> > more code wise should you get stuck.
> >
> > HTH,
> > iksrazal
> >
> > --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
> > > Ben,
> > >
> > > For better interoperability, you should convert your list into an
> > > array.
> > >
> > > See
> > > http://www.osmoticweb.com/axis-wsdd/operation.htm
> > > for documentation of
> > > the WSDD <operation> definition.
> > >
> > > name = the name of the Java method
> > > qname = the qname of the element that represents the method name in
> > > XML returnQName = the qname of the element that represents the return
> > > value in XML returnType = the XML type of the element that represents
> > > the return value
> > >
> > > Anne
> > >
> > > On 12/16/05, Ben Reif <[EMAIL PROTECTED]> wrote:
> > > > I'm using Axis 1.3 to create document / literal
> > >
> > > style services, so as I
> > >
> > > > understand it, I need to be more declarative in my
> > >
> > > wsdd file and define the
> > >
> > > > operations. I have a method in my service that
> > >
> > > returns a List of complex
> > >
> > > > type objects. In reading through the documentation
> > >
> > > I need to set the name,
> > >
> > > > qname, returnQName, and returnType attributes.
> > >
> > > Something like:
> > > > <operation name="query" qname="?" returnQName="?"
> > >
> > > returnType="?">
> > >
> > > > I also noticed in the WSDDConstants class there
> > >
> > > were constants defined for
> > >
> > > > returnItemQName, returnItemType, itemQName, and
> > >
> > > itemType attributes, but
> > >
> > > > there is no mention of them in the documentation.
> > >
> > > Can anyone explain how to
> > >
> > > > represent a List of complex types as either an
> > >
> > > input parameter or a return
> > >
> > > > parameter in the <operation> tag? Also, what's the
> > >
> > > difference between qname,
> > >
> > > > returnQName and the returnType (which could also
> > >
> > > be a QName maybe?).
> > >
> > > > Thanks a bunch,
> > > > Ben
> >
> > "None are more hopelessly enslaved than those who falsely believe they
> > are free. -- Goethe"
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com

Reply via email to