Would you mind sharing the code that sets the XMLFragment?
Thanks!
Ralph
> -----Original Message-----
> From: Matthew Dovey [mailto:[log in to unmask]]
> Sent: Monday, April 14, 2003 7:36 AM
> To: [log in to unmask]
> Subject: Re: XML Fragment in RecordData
>
>
> Ralph,
>
> Actually I appear to be on Axis 1.0 RC1!
>
> I threw together a little server over the weekend which ignores the
> request and returns a simple response with one record <test:Test
> xmlns:test="http://www.jafer.org /> using Axis 1.0 RC1 using
> the wsdl at
> http://www.lib.ox.ac.uk/jafer/zing/srw1.1/sample.wsdl and this works
> fine.
>
> My class is XMLFragment (java and xml are case sensitive) and also has
> an empty static initialiser so I don't think that's the problem.
>
> Matthew
>
> >
> > -----Original Message-----
> > From: LeVan,Ralph [mailto:[log in to unmask]]
> > Sent: Wednesday, April 09, 2003 1:12 PM
> > To: [log in to unmask]
> >
> > Version 1.0. October 7, 2002.
> >
> > Ralph
> >
> > > -----Original Message-----
> > > From: Matthew Dovey [mailto:[log in to unmask]]
> > > Sent: Wednesday, April 09, 2003 5:09 AM
> > > To: [log in to unmask]
> > > Subject: Re: XML Fragment in RecordData
> > >
> > >
> > > Ok, I'll try to look at this when I have a spare moment -
> > but I've got
> > > quite a few other things on the boil at the moment so it
> > maybe a few
> > > days before I can.
> > >
> > > What version of the Axis kit are you on?
> > >
> > > Matthew
> > >
> > > >
> > > > -----Original Message-----
> > > > From: LeVan,Ralph [mailto:[log in to unmask]]
> > > > Sent: Monday, April 07, 2003 4:03 PM
> > > > To: [log in to unmask]
> > > >
> > > > 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
> > > > > [email protected]
> > > > >
> > > > > > -----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
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
|