cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bim2...@basistech.com>
Subject RE: getType() for an element
Date Mon, 29 Oct 2007 17:01:10 GMT
I am suddenly thinking that this issue will turn out to be an internal
CXF issue. CXF is building XmlSchema representation for types as part of
mapping from Java to WSDL with JAXB. The resulting structures never have
the type fields filled in. I'm reasonable sure that what CXF is doing is
not parsing a .xsd file but rather building objects on the fly, and
simply not setting these values. In which case I will apologize for
bothering you.

I would ask for the following question: generally, a type lives in a
schema. In the 'read an xsd' file paradigm, what schema do the basic
types live in?


> -----Original Message-----
> From: Ajith Ranabahu [mailto:ajith.ranabahu@gmail.com]
> Sent: Monday, October 29, 2007 11:21 AM
> To: commons-dev@ws.apache.org
> Subject: Re: getType() for an element
> 
> Hi
> Is i possible for you to show us a schema which has this behavior ?
> 
> Ajith
> On 10/29/07, Benson Margulies <bim2007@basistech.com> wrote:
> > I'm finding that XmlSchemaElement.getType() routinely returns null
for
> > me. getTypeName() returns the appropriate QName. I'm imagining that
this
> > is something basic, could someone deconfuse me, please?
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: commons-dev-help@ws.apache.org
> >
> >
> 
> 
> --
> Ajith Ranabahu
> 
> Reading, after a certain age, diverts the mind too much from its
> creative pursuits. Any man who reads too much and uses his own brain
> too little falls into lazy habits of thinking - Albert Einstein
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: commons-dev-help@ws.apache.org


Mime
View raw message