I had some (unanswered) e-mails from Fred whilst I was off sick.
I think the initial problem is an out of date Axis toolkit.
Matthew
> -----Original Message-----
> From: Z39.50 Next-Generation Initiative [mailto:[log in to unmask]]
> On Behalf Of Robert Sanderson
> Sent: 01 April 2004 15:26
> To: [log in to unmask]
> Subject: SRW - Schema problem (fwd)
>
> I have no idea, but I'm sure that the people that use Java on
> the ZNG list would do. I recommend asking the question there.
>
> Thanks,
>
> Rob
> --
> ,'/:. Dr Robert Sanderson ([log in to unmask])
> ,'-/::::. http://www.o-r-g.org/~azaroth/
> ,'--/::(@)::. Special Collections and Archives, extension 3142
> ,'---/::::::::::. Nebmedes: http://nebmedes.o-r-g.org:8000/
> ____/:::::::::::::.
> I L L U M I N A T I
>
>
>
> ---------- Forwarded message ----------
> Date: Thu, 1 Apr 2004 15:47:14 +0200
> From: Fred Petter Pedersen <[log in to unmask]>
> To: [log in to unmask]
> Subject: SRW - Schema problem
>
> Dear Mr. Sanderson
>
> I have a problem with my SRW 1.1 implementation written in
> Java with the Axis-toolkit. It seems that Axis having problem
> with inheritance in schemas.
> I'm using srw-types.xsd schema:
>
> <xsd:complexType name="explainResponseType">
> <xsd:complexContent>
> <xsd:extension base="responseType">
> <xsd:all>
> <xsd:element ref="record"/>
> <xsd:element ref="echoedExplainRequest" minOccurs="0"/>
> </xsd:all>
> </xsd:extension>
> </xsd:complexContent>
> </xsd:complexType>
>
> The error I got from Axis' wsdl2java is:
>
> [wsdl2java] java.io.IOException: Type
> {http://bildebasen.srw.appl.bibsys.no}explainResponseType is
> referenced but not defined.
>
> The namespace refer to where I have the srw-types.xsd. I use
> my local version because I must use xsd:int instead of
> xsd:PositiveInteger etc. I had complaints about that in Axis
> too because the BigInteger wich is the base class for
> PositiveInteger does not have an default constructor. Anyway,
> do you or your collegues any experience with SRW implemented
> with Java/Axis??
>
> I really miss a complete WSDL file and an implementors
> tutorial/FAQ/best practice or something like that. Will it
> ever arrive? I must have this finished by the end of the month. :-)
>
> Hope you have the time to help me with this or forward it to
> someone you know have had the same problems...
>
>
> Regards Fred Petter Pederse.
>
|