Well, I think I see what the problem is.
In all the datatype classes, there is a static initializer section down
towards the bottom that registers the types of the classes contents. The
static initializer for XmlFragment is empty. That's probably what is
causing the call to getSerializer to fail.
Any suggestions?
Thanks!
Ralph
> -----Original Message-----
> From: LeVan,Ralph
> Sent: Monday, April 07, 2003 10:34 AM
> To: 'Z39.50 Next-Generation Initiative'
> Subject: RE: XML Fragment in RecordData
>
>
> Well, when I try the new code, I get an exception complaining
> about no serializer for XmlFragment. But, I clearly see one
> in the code for XmlFragment.
>
> Any thoughts/experience with this one?
>
> Thanks!
>
> Ralph
>
> faultString: java.io.IOException: java.io.IOException:
> java.io.IOException: java.io.IOException: No serializer found
> for class gov.loc.www.XmlFragment in registry
> org.apache.axis.encoding.TypeMappingImpl@304043
>
> > -----Original Message-----
> > From: Matthew Dovey [mailto:[log in to unmask]]
> > Sent: Friday, April 04, 2003 2:13 PM
> > To: [log in to unmask]
> > Subject: Re: XML Fragment in RecordData
> >
> >
> > Nope - just busy with the day job...
> >
> > You could try
> http://www.lib.ox.ac.uk/jafer/zing/new/srw-bindings.wsdl
> > which is the draft wsdl I put together when we were first discussing
> > this. However, I've not had a chance to compare this to what Rob has
> > implemented or to catch up on what we agreed/haven't agreed
> > yet on this
> > one...
> >
> > Matthew
> >
> > >
> > > -----Original Message-----
> > > From: LeVan,Ralph [mailto:[log in to unmask]]
> > > Sent: Friday, April 04, 2003 5:11 PM
> > > To: [log in to unmask]
> > >
> > > Should I take the surprising silence on the list to mean that
> > > none of you actually have this working in wsdl, or are you
> > > all just on vacation?
> > >
> > > Yes, I can hack all sorts of code to get this to work, but if
> > > we can't point a new implementor to some wsdl and just have
> > > it work, then the solution is no good.
> > >
> > > I can find no reference to an XMLFragment datatype. I can
> > > see that an xs:any element (not datatype) inside a recordXML
> > > element should get me a legal schema, but my wsdl tools seem
> > > to be ignoring that.
> > >
> > > Still looking for help.
> > >
> > > Ralph
> > >
> > > > -----Original Message-----
> > > > From: Robert Sanderson [mailto:[log in to unmask]]
> > > > Sent: Wednesday, April 02, 2003 7:00 PM
> > > > To: [log in to unmask]
> > > > Subject: Re: XML Fragment in RecordData
> > > >
> > > >
> > > > > I could use it now. Do we have working examples anywhere?
> > > > What does the
> > > > > WSDL turn into?
> > > >
> > > > Yep. My system does one of the two proposed methods to
> > > return XML --
> > > > it sticks it in recordXML rather than recordData when the
> > > > recordPacking query param is set to XML
> > > >
> > > > Otherwise it returns string.
> > > >
> > > > http://srw.o-r-g.org:8080/l5r/?recordPacking=xml&query=ninja
> > > >
> > > > R
> > > >
> > > >
> > > > --
> > > > ,'/:. Rob Sanderson ([log in to unmask])
> > > > ,'-/::::. http://www.o-r-g.org/~azaroth/
> > > > ,'--/::(@)::. Special Collections and Archives,
> > > extension 3142
> > > > ,'---/::::::::::. Twin Cathedrals: telnet:
> > > > liverpool.o-r-g.org 7777
> > > > ____/:::::::::::::. WWW:
> > > http://liverpool.o-r-g.org:8000/
> > > I L L U M I N A T I
> > >
> >
>
|